Commit Graph

11978 Commits

Author SHA1 Message Date
Marcus Boerger
3733cf409e Fix testcase name 2003-11-13 21:16:57 +00:00
Rasmus Lerdorf
8afe759fa8 proto fix 2003-11-13 20:55:00 +00:00
Marcus Boerger
2b35596d7f Fix classname, CDATA handling (semantically identical to text) and
iterators (Return sub elements as objects, converted to string you get
the text).
2003-11-13 20:32:38 +00:00
Marcus Boerger
2bed6c2b8a Proto fixes (Friedhelm Betz <holliwell|gmx.net>) 2003-11-13 19:08:41 +00:00
John Coggeshall
365f0638fc Releasing 1.0.... 2003-11-13 17:50:39 +00:00
Edin Kadribasic
45f12cc61f Windows compile fix (patch by sfox@php.net). 2003-11-13 10:32:05 +00:00
Marcus Boerger
a18bd05f32 Bugfix #25794: Cannot open existing hash db3 file with write 2003-11-13 08:59:02 +00:00
Marcus Boerger
4d752bd78e Pass eof 2003-11-13 07:53:15 +00:00
Ilia Alshanetsky
127ed194b7 Added configure check for nanosleep() availability. 2003-11-12 23:43:46 +00:00
foobar
32b5a41941 - Fixed bug #26072 (--disable-libxml does not work). 2003-11-12 23:42:38 +00:00
Marcus Boerger
81d1a19d0b Bugfix #26216: ("getimagesize(): stream does not support seeking" when
using remote files)
2003-11-12 22:51:22 +00:00
Ilia Alshanetsky
3691ab699c Added nanosleep(), in addition to allowing setting of very short states.
This function is signal safe.
2003-11-12 22:02:37 +00:00
Jay Smith
544fe688c5 Plugged a small memleak when errstr isn't efree()'d. 2003-11-12 22:01:02 +00:00
Marcus Boerger
daaef88047 Add helper function that splits inifile keys into an array which again
can be used in dba_fetch calls.
2003-11-12 21:43:03 +00:00
Marcus Boerger
038cb2dc9a Compiler fixes for older ming versions 2003-11-12 09:12:51 +00:00
Sergey Kartashoff
228918223e - A bug in WORDINFO calculation in mnogosearch extension was fixed. 2003-11-12 07:40:17 +00:00
Ilia Alshanetsky
770a111a43 Fixed bug #26198 (strtotime() handling of M/F Y date format). 2003-11-12 02:55:03 +00:00
Marcus Boerger
e480d10021 Fix this 2003-11-11 18:33:34 +00:00
Marcus Boerger
91ab36096e Add shortcut interface SeekableIterator to LimitIterator 2003-11-11 18:31:50 +00:00
Moriyoshi Koizumi
f8e6e5dad3 Compiler warning fix (patch by Joe Orton) 2003-11-11 17:35:32 +00:00
Ilia Alshanetsky
beffc71b3f Fix ZTS build. 2003-11-11 01:51:22 +00:00
Marcus Boerger
ab05faf5b1 Implement different recursion modes as statemachine and have an optional
parameter to choose the mode in the constructor.
2003-11-11 00:25:26 +00:00
Marcus Boerger
bfb73676de Split into element=property and attribute=dimension overloading. 2003-11-10 20:27:16 +00:00
Ilia Alshanetsky
7fe481c9d0 Fixed bug #26176 (Fixed handling of numeric keys in INI files). 2003-11-10 04:12:38 +00:00
Marcus Boerger
c300480441 Synch exposed functions with c-level iterator functions 2003-11-09 23:00:50 +00:00
Marcus Boerger
159c538bcf Major update:
- Remove all overloading hooks -> array_read/array_access must be rewritten
- Remove all basic iterators
- Remove all 'spl_' prefixing exposed to user level
- Add RecursiveIterator, RecursiveIteratorIterator
- Add DirectoryIterator, DirectoryTreeIterator
- Add some examples
2003-11-09 14:05:36 +00:00
Marcus Boerger
e72339284f Add method reflection_class::implementsInterface()
Allow string & reflection_class in isSubclassOf()
2003-11-08 21:41:42 +00:00
Marcus Boerger
ab6b1adf0b Fix reflection_class::isSubclassOf() 2003-11-08 21:02:21 +00:00
Sergey Kartashoff
899b960ed1 - Mnogosearch Extension was updated to include mnogosearch-3.2.16 features 2003-11-08 14:36:32 +00:00
Ilia Alshanetsky
2016ac0a73 Fixed write support. 2003-11-07 19:12:46 +00:00
Ilia Alshanetsky
d9bf51b17c 10-18% optimization of fetch_array(), when both number & string indexes are
created.

# Do we want to MFH the change (for ext/mysql) into 4.3.X?
2003-11-07 17:20:49 +00:00
Marcus Boerger
220e41a421 Move typedef to where it is needed now. 2003-11-07 09:26:18 +00:00
Marcus Boerger
ccb6311406 Make php_stat() available for extensions. 2003-11-07 09:16:16 +00:00
Ilia Alshanetsky
648a1e0d78 Added mandatory safe_mode & open_basedir checks. 2003-11-07 01:17:32 +00:00
Frank M. Kromann
f68114414b Getting rid of c++ style comments 2003-11-06 16:50:40 +00:00
Sascha Schumann
db56268231 WS 2003-11-06 14:31:33 +00:00
Sascha Schumann
5a32c21f46 Fix a format string
Nuke a sprintf (slooow)

And embed the charset as part of the hashed details (persistent conn key),
because the function otherwise happily returns incompatible connections.
(e.g. US7ASCII vs. UTF8; the client-side charset is not alterable once a
 connection has been established.)
2003-11-06 14:29:09 +00:00
Frank M. Kromann
2c3edcea09 MFB: Adding new features from ming 0.3a. 2003-11-06 07:29:38 +00:00
Ilia Alshanetsky
f884a5b437 Kill unused variables. 2003-11-05 23:44:09 +00:00
Ilia Alshanetsky
046904f2b1 Fixed bug #26113 (remove leftover local file when ftp_get/ftp_nb_get fails) 2003-11-04 20:56:47 +00:00
Moriyoshi Koizumi
668e8a87e6 Fix tests 2003-11-04 16:18:21 +00:00
Moriyoshi Koizumi
f0725828f0 Add XML_SAX_IMPL constant to determine which implementation (libxml / expat)
is selected for SAX interface.
2003-11-04 16:15:52 +00:00
Moriyoshi Koizumi
bb6f3a115e Fixed bug #24394 (serializing cross-referenced objects causes segfault) 2003-11-04 16:08:10 +00:00
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