Commit Graph

11935 Commits

Author SHA1 Message Date
foobar
5b4e619cdd - Moved all the mime_magic.c specific stuff into their own header file
to prevent possible compile failures.

# Should fix bug #26103
2003-11-04 05:15:19 +00:00
Ilia Alshanetsky
b520c9d42c Fixed bug #26097 (gdImageColorClosestAlpha() returns incorrect results). 2003-11-04 01:55:50 +00:00
Moriyoshi Koizumi
8572fc2af5 Add regression test for XPath support 2003-11-03 22:49:24 +00:00
Moriyoshi Koizumi
2a3e05e865 Fix test 2003-11-03 22:42:56 +00:00
John Coggeshall
5d0f70a004 Should've added a few more cases to that bugfix switch. 2003-11-03 22:34:44 +00:00
John Coggeshall
8a36e954f0 Fixed a bug -- Nodes of certain types don't actually have ID values and PHP
would segv trying to read one.
2003-11-03 16:35:58 +00:00
Derick Rethans
3ab8d263b8 - Always store the URI path in the streams structure, and expose it with
stream_get_meta_data().
2003-11-03 14:12:46 +00:00
Sterling Hughes
040d945fb7 make this macro safe 2003-11-03 13:55:19 +00:00
Sterling Hughes
6ab221b3f6 remove attributes from this check 2003-11-03 13:50:43 +00:00
Sterling Hughes
e963f0b168 - Stop a crash in xpath
- Remove the ability to access attributes via the -> operator, attributes
are accessed via the array indicators
2003-11-03 13:36:23 +00:00
Marc Boeren
22872bb8fa Make life for the doc-team easier, without causing harm ;-) 2003-11-03 11:15:23 +00:00
Moriyoshi Koizumi
8e1bbd9aea Proto fix 2003-11-02 18:54:08 +00:00
Moriyoshi Koizumi
06d541a63a SKIP tests if compress.zlib wrapper is not available. 2003-10-31 16:12:27 +00:00
foobar
2c9f29b9b6 cosmetics 2003-10-31 13:48:34 +00:00
Ilia Alshanetsky
00635d0807 Fixed bug #26042 (memory leak if mcrypt_generic_deinit() is not called
after every mcrypt_generic_init() call).

# This will be MFHed into 4.3.X tree after release.
2003-10-31 04:33:51 +00:00
Zak Greant
8802c3ad8c Ensure that INI entries are unregistered on shutdown 2003-10-30 13:32:18 +00:00
Georg Richter
8f1f9b2f6d changed return value from long to boolean for mysql_execute 2003-10-30 12:35:16 +00:00
Christian Stocker
038a7c4831 make test work with libxml2 2.6.x and lower
(I used lowercase html again in the EXPECT part, as this is now the default
behaviour for newer libxml2 releases)
2003-10-30 10:06:00 +00:00
Ilia Alshanetsky
ab7ee13670 Added substr_compare(). 2003-10-30 00:49:33 +00:00
Moriyoshi Koizumi
e6feb47f00 Some clean-ups 2003-10-29 22:25:57 +00:00
Moriyoshi Koizumi
cca80292fe This check's always necessary. 2003-10-29 21:50:15 +00:00
Georg Richter
73be3af983 added functions for embedded server 2003-10-29 20:52:25 +00:00
Georg Richter
8caae993a3 added support for embedded MySQL Server
some prototype fixes
2003-10-29 20:48:47 +00:00
Moriyoshi Koizumi
28369f6e86 Add test case for bug #26003 2003-10-29 19:45:38 +00:00
Moriyoshi Koizumi
13f16d5690 MFB(r-1.109.2.12): A possible fix for bug #26026 2003-10-29 18:48:37 +00:00
Moriyoshi Koizumi
9547ac2dde Oops. 2003-10-29 18:04:24 +00:00
Moriyoshi Koizumi
088acb6efb Update test for an additional check to ensure the variable used for an
index would not be modified during deference.
2003-10-29 17:58:40 +00:00
Moriyoshi Koizumi
734254513c Do not use convert_to_*_ex() for ordinary zval pointers. 2003-10-29 17:50:56 +00:00
Marcus Boerger
6b57bb1675 Add simplexml array handlers that allow to explicitly work with attributes. 2003-10-29 12:06:52 +00:00
Frank M. Kromann
c26303c789 On win32 extensions starts with php_ 2003-10-29 05:42:26 +00:00
Frank M. Kromann
aefb8fe2f8 Fix typo in parameter 2003-10-29 05:34:00 +00:00
Ilia Alshanetsky
e0a943dcdb Fixed test. 2003-10-29 05:04:40 +00:00
Sara Golemon
70f4a0c9ec Allow userspace filters to use wildcards 2003-10-29 00:19:57 +00:00
Sara Golemon
735b24a727 Allow userfilter instantiation to programmatically fail by returning false.
Equivalent of Cspace filter "failure" by returning NULL.
2003-10-28 23:56:57 +00:00
George Schlossnagle
797ac80e7c Added pcntl_wait, a wraspper around wait()/wait3() 2003-10-28 17:08:18 +00:00
Ilia Alshanetsky
a4eebd74a6 Fixed compiler warning. 2003-10-28 04:22:12 +00:00
Shane Caraveo
4e283ed686 fix win32 build 2003-10-28 04:21:29 +00:00
Ilia Alshanetsky
8f6b374d1d By popular demand renaming uu(encode/decode) to convert_uu(encode/decode). 2003-10-28 04:02:11 +00:00
Moriyoshi Koizumi
1085c08aa5 Add missing reinitialization call 2003-10-27 22:45:58 +00:00
Moriyoshi Koizumi
69dcdcb7c1 Fixed bug #26003 (fgetcsv() not binary-safe on null bytes) 2003-10-27 22:36:44 +00:00
Christian Stocker
9e5bc9509e use php_error_docref 2003-10-27 19:52:50 +00:00
Christian Stocker
901153b441 extending of domDocument class test 2003-10-27 17:51:55 +00:00
Christian Stocker
e735e44f52 added html test 2003-10-27 17:36:44 +00:00
Christian Stocker
0d59b3dda6 xinclude test 2003-10-27 15:32:44 +00:00
Christian Stocker
3cd8d4a865 xinclude support readded to ext/dom 2003-10-27 15:32:22 +00:00
Christian Stocker
df7799762a streams test 2003-10-27 15:13:12 +00:00
Christian Stocker
1d40b25f68 - streams test 2003-10-27 15:12:20 +00:00
Christian Stocker
e311179b72 exception/try/catch test 2003-10-27 12:52:37 +00:00
Christian Stocker
c07a013345 forgot one file 2003-10-27 12:17:28 +00:00
Christian Stocker
45614453cd fix for test Nr 3 bug (not freeing all params) 2003-10-27 12:16:35 +00:00
Christian Stocker
11a63934d4 added interop test 2003-10-27 11:34:45 +00:00
Christian Stocker
d8f6f9d763 added SKIPIF extension is not loaded checks 2003-10-27 11:28:43 +00:00
Christian Stocker
a8063d776c interop test 2003-10-27 11:24:30 +00:00
Christian Stocker
9caf3e1253 totally wrong expected output... 2003-10-27 08:49:11 +00:00
Christian Stocker
acd5eb24db some tests (test #3 is currently broken due to memleak, fix is on the way) 2003-10-27 08:46:55 +00:00
Marcus Boerger
dcc060382a Add another test 2003-10-27 08:43:52 +00:00
Marcus Boerger
da9ce6380c Rename test 2003-10-27 08:43:25 +00:00
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