Commit Graph

12356 Commits

Author SHA1 Message Date
foobar
6f4cc5c1c9 Fixed bug #26565 (strtotime("this month") resolving to the wrong month) 2003-12-10 14:08:06 +00:00
Marcus Boerger
47012601af Make these inline 2003-12-10 10:21:24 +00:00
Marcus Boerger
c212ddd5ec Fix a (single) leak
# -> iterators cannot keep current data as zval**, only zval * is possible.
2003-12-10 10:19:43 +00:00
Georg Richter
1be7176c7b freeing result and stmt properties in MSHUTDOWN 2003-12-10 10:06:07 +00:00
Moriyoshi Koizumi
b2cd08f33d Fix bug #26574 (basename() doesn't work properly with multibyte characters) 2003-12-10 07:15:28 +00:00
Moriyoshi Koizumi
35c3a7f525 Expose the macro globally 2003-12-10 06:08:39 +00:00
Moriyoshi Koizumi
c4c586a652 Fix typo. 2003-12-10 06:04:15 +00:00
Ilia Alshanetsky
06b528aa54 Fixed a crash in SQLite when fetching data using sqlite_fetch_object() in
a loop.
2003-12-10 01:02:20 +00:00
Wez Furlong
bfdc1fcac0 consistency with unix build.... 2003-12-10 00:47:02 +00:00
foobar
a08c1e4dce - Brought ext/bcmath to the new millennium
# consistency..
2003-12-09 23:59:33 +00:00
Rob Richards
4756b5e05f fix possible mem leak when element has children 2003-12-09 21:56:42 +00:00
Rob Richards
1f33239c91 buffer error messages until newline is hit 2003-12-09 21:55:02 +00:00
foobar
e4c1ae0e67 Fixed bug #26564 (ncurses5 has headers in PREFIX/include/ncurses) 2003-12-09 20:33:08 +00:00
Wez Furlong
a35a82ddcd allow assignment to $node->nodeValue to work for more
objects and in situations where the rvalue is not a string.
(Fixes a segfault in that case)
2003-12-09 20:19:44 +00:00
Rob Richards
49494dee00 fix issues when passing in mulitple arguments 2003-12-09 20:12:39 +00:00
foobar
f02936c683 Fix the configure output.. 2003-12-09 20:10:22 +00:00
foobar
8b73ca2c60 Removed unnecessary outputs 2003-12-09 20:04:17 +00:00
Marcus Boerger
d4a55f1ace Add missing dtor call. 2003-12-09 19:03:38 +00:00
Marcus Boerger
5b7d1623ae - Initialize for refcounting.
- Simplify.
2003-12-09 19:02:34 +00:00
foobar
6291a7f995 - Update credits. 2003-12-09 16:33:05 +00:00
foobar
63df219b31 - Update header + added missing Id tags. 2003-12-09 16:29:54 +00:00
Ilia Alshanetsky
1393ad9a35 Kill unused variables. 2003-12-09 01:54:56 +00:00
Hartmut Holzgraefe
0141080ff5 reduce/reduce conflicts resolved 2003-12-08 22:22:57 +00:00
Frank M. Kromann
34a596b051 Adding config file for win32. This allows to build with c-client 2002e 2003-12-08 22:15:20 +00:00
foobar
3c0eb788fa ws 2003-12-08 18:57:09 +00:00
Rob Richards
3084e72ef1 fix getElementsByTagname iteration 2003-12-08 17:08:10 +00:00
Rob Richards
c821c5b189 export libxml2 and iconv symbols
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Marcus Boerger
f3a3990ca8 Implement CahingIterator and CachingRecursiveIterator as C-code.
#Script examples/directorytree.php has a few memleaks though but besides
#that all works fine.
2003-12-08 08:39:18 +00:00
Marcus Boerger
1c13018702 Use better name for the constant 2003-12-08 08:31:08 +00:00
Marcus Boerger
3aa3f744f1 Update examples to new parameter handling 2003-12-08 08:28:18 +00:00
Sergey Kartashoff
1a898490ae - A bug in Udm_Hash32 function was fixed. 2003-12-08 08:12:34 +00:00
Moriyoshi Koizumi
ed2fd39d0a Avoid using non-portable test syntax. This was causing problems on
Solaris. (Reported by Uwe Schindler. Thanks!)
2003-12-08 07:18:20 +00:00
Moriyoshi Koizumi
cbddbca787 NULL pointers can be passed to free_fcn. This is the correct behaviour. 2003-12-08 07:15:32 +00:00
Moriyoshi Koizumi
dcbc570649 Fix iconv stream filter to properly handle multibyte characters that
span at the alignment of a hunk.
2003-12-08 00:38:00 +00:00
Moriyoshi Koizumi
b6c0003ffd Fix a convert filters bug that occurs when multiple buckets are coming in. 2003-12-08 00:22:22 +00:00
Ilia Alshanetsky
669b421c11 Removed unused variable. 2003-12-07 18:39:09 +00:00
foobar
36b255fa66 ws 2003-12-07 18:19:30 +00:00
foobar
bade2e7df6 Remove unnecessary #include 2003-12-07 16:56:51 +00:00
foobar
67070c47bd The correct (tm) way. 2003-12-07 16:16:02 +00:00
Marcus Boerger
923d0bcfb4 revert here too 2003-12-07 15:59:13 +00:00
foobar
2e8b1c01fe revert, not needed 2003-12-07 15:41:50 +00:00
Marcus Boerger
b88ad57b73 Revert this part, too 2003-12-07 15:39:56 +00:00
foobar
b03cb681f6 Fix logic 2003-12-07 15:33:19 +00:00
Marcus Boerger
d57004274b Revert, not needed here 2003-12-07 15:26:09 +00:00
Marcus Boerger
1765271499 Use a single bit field for the flags here 2003-12-07 15:03:11 +00:00
Derick Rethans
71f9227cc5 - Fixed bug #26548 (Malformed HTTP dates in headers). 2003-12-07 14:29:43 +00:00
Marcus Boerger
cca2a74462 Update examples 2003-12-07 13:21:47 +00:00
Wez Furlong
a98892900b allow $node['not_yet_existing_attribute'] = $value; to work 2003-12-07 11:32:40 +00:00
Rob Richards
44f59d6d7f fix warning for shared debug
fix test bug26384 - WS issue
2003-12-07 11:11:47 +00:00
Wez Furlong
72f73b7785 tweak build so that it mirrors the source filesystem layout under the build dir. This allows GD extension to build. 2003-12-07 02:58:56 +00:00
Edin Kadribasic
96a745f2e2 First attemt at win32 build with the new build system.
#No workie yet, the build sys needs tweaking
2003-12-07 01:59:28 +00:00
Marcus Boerger
1ee7d70b9e Enable shared build 2003-12-07 01:58:54 +00:00
Edin Kadribasic
a256705044 Added filepro to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:59:35 +00:00
Edin Kadribasic
10b53557db Fixed win32 build (no such include on windows). 2003-12-07 00:59:16 +00:00
Edin Kadribasic
ee47ad0c2a Added fdf to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:49:25 +00:00
Edin Kadribasic
6a847a797e Added dbx to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:23:18 +00:00
Marcus Boerger
9c8678eb7b Fix enabling shared builds. 2003-12-07 00:21:47 +00:00
Edin Kadribasic
fbe2b4bbc3 Added dbase to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:09:48 +00:00
Edin Kadribasic
a05a42c8ea Added dba to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-06 23:39:07 +00:00
Marcus Boerger
4b9a4509c4 MFB: PHP_PQ_ERROR() change 2003-12-06 21:36:21 +00:00
Marcus Boerger
37bcfda978 #args, reinsert skipif for extension check 2003-12-06 20:41:07 +00:00
Marcus Boerger
4a66bd9394 Do not dynamically load the extension in skipif 2003-12-06 20:35:41 +00:00
Marcus Boerger
7046afb542 Implement SeekableIterator and LimitIterator as C code. 2003-12-06 19:21:02 +00:00
Marcus Boerger
8e188f9d03 Update examples 2003-12-06 19:03:17 +00:00
Wez Furlong
59823eca66 com_create_guid() returns... 2003-12-06 17:31:40 +00:00
Wez Furlong
bf033aa5a8 Fix ftp build when openssl is built as a shared extension. 2003-12-06 16:12:10 +00:00
Wez Furlong
fcdda2e8f8 Fix a problem resolving the php.ini path under win32 terminal services environment.
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
2003-12-06 16:04:34 +00:00
Wez Furlong
45eb5a8d03 use quotes if the user specifies a path, but don't otherwise (since we don't want the getenv calls quoted). 2003-12-06 15:16:17 +00:00
Moriyoshi Koizumi
a682e0a5c6 Add missing iconv_close() call 2003-12-06 11:10:13 +00:00
foobar
c28a7bd7da fix proto 2003-12-06 10:48:56 +00:00
Wez Furlong
62d3cccfc9 make it build under win32 2003-12-06 00:09:55 +00:00
Wez Furlong
dbb152b96a Detect and enable IPv6 support under win32.
The ws2tcpip.h header links to IPv6 functions dynamically
and the generated binary will run on win98 and later.
2003-12-06 00:00:31 +00:00
Wez Furlong
43b0ae0a04 openssl support for the new build 2003-12-05 23:13:30 +00:00
Rob Richards
2f9e039c53 Fix the xsl warnings 2003-12-05 21:24:48 +00:00
Wez Furlong
08218f5082 Tweak xml related build.
Still some warnings for ext/xsl, but I'll leave that to someone else for now.
2003-12-05 21:16:47 +00:00
Wez Furlong
7a9cf22ed1 Probable fix for #26534 2003-12-05 20:25:14 +00:00
Wez Furlong
952e0db997 Use Rob's static libxml+libiconv library; new build no longer
requires libxml2.dll or iconv.dll at runtime.
Since we have iconv built in, enable iconv extension by
default too.
2003-12-05 20:17:47 +00:00
Rob Richards
44bd3bf47a libxml2 and iconv export file 2003-12-05 19:26:05 +00:00
Moriyoshi Koizumi
3980fd822e A trivial implement for dos-like platforms 2003-12-05 18:39:04 +00:00
Moriyoshi Koizumi
fe20585443 Add regression test for iconv stream filters 2003-12-05 18:35:17 +00:00
Christian Stocker
a016546e4c fix test 2003-12-05 14:52:51 +00:00
Wez Furlong
c29b17b81e fix unix build.... 2003-12-05 13:48:40 +00:00
Wez Furlong
c92a2219ef Add optional array argument to proc_open() to specify additional
options for the child process.
The first option is "suppress_errors" which will disable any
dialog boxes that arise from missing DLL's and suppress the
GPF dialog.
Use this new feature in the test suite, so that crashing tests don't block the test run; useful for un-attended execution.
2003-12-05 13:45:00 +00:00
Wez Furlong
98f1021dd8 Make these tests work under win32 2003-12-05 13:42:04 +00:00
Wez Furlong
ab0029cabf Be smarter about which systems should register unix transports.
Fix skip conditions in these network tests
2003-12-05 13:41:02 +00:00
Moriyoshi Koizumi
657b7e08d0 xmlCtxtSetOptions() isn't available in the versions up to 2.6.x
# Thanks Rob
2003-12-05 10:53:59 +00:00
Moriyoshi Koizumi
50dad38cd4 Fix libexpat build.
Improve replaceEntities patch.
2003-12-05 10:11:06 +00:00
Moriyoshi Koizumi
f9470dafe0 Add a missing marker 2003-12-05 09:35:21 +00:00
Marcus Boerger
5ee54820de Update test 2003-12-05 08:07:14 +00:00
Frank M. Kromann
075ee21165 Include exif in the new win32 build system 2003-12-05 07:17:11 +00:00
Sebastian Bergmann
dea716a4e1 Support for new Win32 build bliss. 2003-12-05 06:09:29 +00:00
Wez Furlong
1982ae6246 fix zts build 2003-12-05 03:14:54 +00:00
Wez Furlong
24e54d43e6 check for .net headers 2003-12-05 02:58:31 +00:00
Edin Kadribasic
b842917d84 Made test work on windows 2003-12-05 02:12:21 +00:00
Ilia Alshanetsky
ce0b3dec4c Fixed bug #26528 (HTML entities are not being decoded by
xml_parse()/xml_parse_into_struct()).
2003-12-05 01:16:16 +00:00
Edin Kadribasic
32eb4f78c2 Get rid of PHPAPI usage.
Enable shared build in the new php5 build system
Check for the correct header.
2003-12-05 01:03:35 +00:00
Moriyoshi Koizumi
4f14ee67fb Type-punning is evil. 2003-12-04 23:46:53 +00:00
Moriyoshi Koizumi
6fc73dda11 Add iconv stream filter.
# a quick synopsis:
#
# <?php
#     stream_filter_append(STDIN, 'convert.iconv.UTF-8/ISO-8859-15');
#
#     fpassthru(STDIN);
# ?>
#
2003-12-04 23:31:31 +00:00
Moriyoshi Koizumi
7d3e351383 This part is accidentially left on the previous commit. 2003-12-04 22:53:16 +00:00
Moriyoshi Koizumi
0d2c100a4f It'd be a bad idea to make subpackages dependent on the php build system. 2003-12-04 22:49:46 +00:00
Wez Furlong
40a573445c Work around a bug in putenv() in the VS.Net C run time library (MSVCRT71) where it will double free a string. 2003-12-04 22:38:22 +00:00
Marcus Boerger
5ae70cc44a Update __toString() issues 2003-12-04 20:56:32 +00:00
Marcus Boerger
dc6f211967 __toString() must be called explicitly now 2003-12-04 20:24:06 +00:00
Marcus Boerger
d79ca1c853 Update 2003-12-04 20:01:46 +00:00
Marcus Boerger
aaa81ea211 Add package file 2003-12-04 19:53:33 +00:00
Marcus Boerger
707681218b No longer true 2003-12-04 19:47:10 +00:00
Marcus Boerger
f679b5c935 Update documentation 2003-12-04 19:39:46 +00:00
Marcus Boerger
2216eb4511 Update 2003-12-04 17:45:36 +00:00
Marcus Boerger
320a87e4f9 No longer needed 2003-12-04 17:33:08 +00:00
Wez Furlong
9555db802d Make this build using new build system 2003-12-04 15:32:31 +00:00
foobar
518f6a849b - Update after moving extensions to PECL 2003-12-04 15:01:10 +00:00
Wez Furlong
a5cf836260 Fix libxml to use static lib if found.
Disable apache and isapi by default.
Add some smarts so that we can really build extensions and SAPI found in php-src/pecl and/or php-src/../pecl.
Only include a logo in the resources if we are building an .exe.
2003-12-04 13:38:47 +00:00
Rob Richards
c09003a910 test for dom extension 2003-12-04 13:32:22 +00:00
Rob Richards
2fb978a773 correct test 2003-12-04 12:46:20 +00:00
Rob Richards
d5e9e09515 Add xsl config for new win build 2003-12-04 12:37:04 +00:00
foobar
c389f67e91 - Moved ext/crack and ext/mcal to PECL. 2003-12-04 12:05:57 +00:00
Uwe Schindler
ae4e11d861 MFB 2003-12-04 09:00:24 +00:00
Wez Furlong
39305a50d6 allow these extensions to build with new system 2003-12-04 03:46:12 +00:00
Wez Furlong
213f528aad Fixup bz2 extension so it builds as shared and static under win32 2003-12-04 02:58:33 +00:00
Frank M. Kromann
27e3d27565 add error message when libs and headers are missing 2003-12-04 01:04:36 +00:00
Ilia Alshanetsky
9947a3e7ce Fixed typo (thanks Frank) 2003-12-04 00:14:39 +00:00
Wez Furlong
4ffdb4253a This should solve a few problems with static vs. shared builds for extensions (such as mssql) that require certain CFLAGS to be defined, but not pull in other flags that would affect DLL linkage.
Also fix the iconv file; MSVC doesn't seem to like the #include SYMBOL syntax.
2003-12-03 22:59:48 +00:00
Ilia Alshanetsky
81e41e3cb9 Remove unnecessary casts. 2003-12-03 22:51:51 +00:00
Christian Stocker
e969b7897e fix test to the changes made regarding __toString() 2003-12-03 22:18:49 +00:00
Rob Richards
198c09f775 fix notations - forgot to create iterator 2003-12-03 21:27:01 +00:00
Moriyoshi Koizumi
247f991443 Possible fix for bug #26391 (parse_url() destroys strings that contain
a character in range of \x80-\xff))
2003-12-03 20:58:12 +00:00
Moriyoshi Koizumi
110044b5f1 Add a win32 build script. Not tested, but should work :) 2003-12-03 19:46:27 +00:00
Ilia Alshanetsky
22142c392c Fixed compiler warning due to unused variables. 2003-12-03 15:50:27 +00:00
Wez Furlong
ad84dfa937 Build adjustments. 2003-12-03 14:29:45 +00:00
Frank M. Kromann
1dd6e3ab61 Adding missing defines and lib/include paths 2003-12-03 06:50:19 +00:00
Frank M. Kromann
26768fdff6 look for FrontBase files in the default location 2003-12-03 06:42:16 +00:00
Sara Golemon
5ad67a9215 Add http proxy support via context option. 2003-12-03 05:30:16 +00:00
Wez Furlong
34df2ae239 some tweaks for Frank 2003-12-03 02:47:45 +00:00
Sara Golemon
feee37a17a Optimize strrpos/strripos for single char strings and fix offset to report correctly 2003-12-03 01:31:56 +00:00
Sara Golemon
3d6fcddfd2 Restore ability to use strrpos/strripos with an ordinal needle 2003-12-03 01:11:36 +00:00
Ilia Alshanetsky
4e483f9d35 Adding shmop config file for the new build system 2003-12-03 00:32:19 +00:00
Frank M. Kromann
a829089e25 Adding FrontBase config file for the new build system 2003-12-03 00:30:54 +00:00
Frank M. Kromann
305d2a3948 oops. this should be with and not enable 2003-12-03 00:22:40 +00:00
Frank M. Kromann
de96d34adb Adding mssql config file for the new build system 2003-12-03 00:17:04 +00:00
Wez Furlong
2d0eaa3989 Clarify a little. 2003-12-03 00:15:10 +00:00
Wez Furlong
05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
Wez Furlong
30b631d9f6 Export this so that shared session modules can use it under win32. 2003-12-02 23:14:31 +00:00
Frank M. Kromann
a7e2f95247 set freed pointer to null to avoid reuse 2003-12-02 18:38:30 +00:00
Rob Richards
6fa6d3c470 check node type for ->attributes and ->childNodes 2003-12-02 15:17:02 +00:00
foobar
49af06e7b4 - Updated credits 2003-12-02 14:50:37 +00:00
foobar
c7b3a02c85 Moved qtdom to PECL 2003-12-02 13:55:27 +00:00
Wez Furlong
e68b2fa5fe Fix MBSTRING_API for non-shared win32 builds 2003-12-02 08:54:39 +00:00
Moriyoshi Koizumi
9fd1395546 Fix test so it fits the expected behaviour 2003-12-02 07:38:11 +00:00
Moriyoshi Koizumi
3c02eb1ffe all '_' (underscores) should be replaced by '\x20' (whitespaces)
in encoding.
# should I bump API version?
2003-12-02 07:36:42 +00:00
Marcus Boerger
e9f7e14460 Remove debug code 2003-12-02 07:19:31 +00:00
Marcus Boerger
37d7555f98 Add classes from examples: FilterIterator, ParentIterator 2003-12-02 07:18:05 +00:00
Marcus Boerger
a7217431be Move object struct to header. 2003-12-02 07:13:53 +00:00
Moriyoshi Koizumi
0bd11e2a05 Add regression test for iconv_mime_decode_headers() 2003-12-02 00:05:54 +00:00
Moriyoshi Koizumi
ca2aaeee5e Loosen error check. There's no reason to forbid a single '=' occurrence
in an unencoded string.
Fix white space handing. Meaningful spaces have got stripped wrongly
before this patch.
2003-12-01 23:49:20 +00:00
Moriyoshi Koizumi
1b8dd3ba21 Allow iconv_mime_decode_headers() to handle multiple occurence of a header. 2003-12-01 23:25:06 +00:00
Ilia Alshanetsky
5a4dda42e3 Optimize substr_replace (this makes it 3-8 times faster depending on the
string length).
2003-12-01 23:17:22 +00:00
Moriyoshi Koizumi
36f5926434 Update test. 2003-12-01 22:59:28 +00:00
Moriyoshi Koizumi
344c29e0c7 Forgot about this one 2003-12-01 22:47:03 +00:00
Moriyoshi Koizumi
869493d4e6 Add iconv_mime_decode_headers() to parse multiple MIME headers.
A few trivial fixes.
2003-12-01 22:46:45 +00:00
Ilia Alshanetsky
089aa3639d Remove debug code. 2003-12-01 22:10:46 +00:00
Moriyoshi Koizumi
93e0d690ee More RFC2047 conformance. Add ability to forcefully continue processing
on error.
2003-12-01 21:47:19 +00:00
Sara Golemon
681d18effd Move safemode/basedir checks for url_stat to plain_wrapper. 2003-12-01 19:47:05 +00:00
foobar
e05fbfa253 WS fix 2003-12-01 16:37:11 +00:00
foobar
45ac4a7141 - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c) 2003-12-01 16:36:00 +00:00
foobar
73b276ad76 missing config.h include 2003-12-01 14:01:38 +00:00
foobar
91b7cc2079 - Moved ext/db to PECL.
# Derick copied the sources in CVS repository to preserve CVS log.
2003-12-01 10:47:08 +00:00
Christian Stocker
80d552496c Fix Bug, if parser input is not a filename (By Adam) 2003-12-01 08:18:35 +00:00
Ilia Alshanetsky
d9edc99fbe MFB: Fix for possible uninitialized usage of subject_r. 2003-11-30 19:56:30 +00:00
Marcus Boerger
34a3019acd Fix macros 2003-11-30 17:05:10 +00:00
Marcus Boerger
8ef69cf369 Update 2003-11-30 16:31:35 +00:00
Marcus Boerger
c5fba4c957 Require inner iterator to be RecursiveIterator 2003-11-30 16:20:03 +00:00
Marcus Boerger
01f5277002 Remove old files 2003-11-30 16:14:56 +00:00
Marcus Boerger
c3fddcab62 Fix tests for E_STRICT and check for E_STRICT in run-tests.php. 2003-11-30 13:57:20 +00:00
Marcus Boerger
71ec2db198 Fix tests 2003-11-30 13:20:26 +00:00
Rob Richards
2a5092c03a remove call to xmlMemoryDump 2003-11-30 12:30:29 +00:00
Christian Stocker
fbc8f35778 fixed typos 2003-11-30 11:13:00 +00:00
Christian Stocker
8b315dddd4 output of uncaught exception changed 2003-11-30 10:58:18 +00:00
Georg Richter
10b60148c9 prototype fix for mysqli_ssl_set 2003-11-30 10:56:55 +00:00
Wez Furlong
37f135ceef Add stream_socket_sendto and stream_socket_recvfrom which work very much
like sendto() and recvfrom() syscalls.
2003-11-29 21:46:50 +00:00
Rob Richards
8293923841 guess this file should be added too :) 2003-11-29 20:41:41 +00:00
Rob Richards
8c700ad546 fix ZTS build 2003-11-29 20:40:54 +00:00
Rob Richards
6ac34646ac implement namednodemap and nodelist
fix xsl/dom integration under windows
update tests and examples
2003-11-29 20:40:18 +00:00
Sara Golemon
e9a1d12f71 Add in missing stat element and fix win32 build 2003-11-29 20:01:00 +00:00
Ilia Alshanetsky
99dec6927c Fixed bug #26463 (Incorrect handling of semicolons after heredoc) 2003-11-29 19:05:14 +00:00
Marcus Boerger
bfa36a8ea7 Caanot use REPLACE_ZVAL_VALUE here. 2003-11-29 18:31:24 +00:00
Ilia Alshanetsky
9e195d1040 Fixed a memory leak when tokenizing scripts with heredoc. 2003-11-29 18:22:44 +00:00
Marcus Boerger
fd7b38d752 Fix return value. 2003-11-29 18:16:03 +00:00
Marcus Boerger
68e218e85c Remove test code 2003-11-29 17:48:44 +00:00
Sara Golemon
9defdab180 Finish off ftp://'s url_stat support 2003-11-29 17:16:58 +00:00
Christian Stocker
146e88ac02 testcase for bug26384 2003-11-29 16:38:09 +00:00
Christian Stocker
5c039bbad9 Fixed for Bug #26384 (domxslt->process causes segfault with xsl:key) 2003-11-29 16:37:37 +00:00
Derick Rethans
750b0338bf - Fix sapi_input_filter patch. Returning 1 from the filter handler should
make PHP register the variable, returning 0 shouldn't. The new length of
  the variables being filtered is now returned in the new_val_len argument
  of the function.
2003-11-29 15:24:35 +00:00
foobar
f7830195c0 - Fixed bug #26462 (phpize + ext/bcmath -> compile error) 2003-11-29 13:33:34 +00:00
Christian Stocker
df63bcddda follow coding standards. 2003-11-29 13:31:51 +00:00
Christian Stocker
d699569f5a it's now possible to return a DomNode from userland functions back to the xsl-processor 2003-11-29 13:07:20 +00:00
Christian Stocker
38b12e7f97 fixed wrong check 2003-11-29 13:01:19 +00:00
Christian Stocker
2ff82ae2ed move some definitions to xml_common.h 2003-11-29 13:00:54 +00:00
Ilia Alshanetsky
91052eb93b Fixed bug #26458 (var_dump(), var_export(), debug_zval_dump() not binary
safe for array keys).
2003-11-29 04:43:06 +00:00
Sara Golemon
ad868f447a Handle dirty script exit. 2003-11-29 02:04:37 +00:00
Sara Golemon
026d4c9e4c Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.
2003-11-28 23:25:28 +00:00
Wez Furlong
6d86bb9e40 (sort of) MFB, feof fix for sockets. 2003-11-28 23:20:23 +00:00
Christian Stocker
3f07e4364c @- Added possibility to call php functions as XSLT-functions (chregu)
- Added possibility to call php functions as XSLT-functions
  eg: <xsl:value-of select="php:function('date','r')"/>
  Namespace is http://php.net/functions
2003-11-28 22:08:16 +00:00
Christian Stocker
29a46b2ff6 changing dom_object_get_data to php_dom_object_get_data and PHP_DOM_EXPORT it
(by Rob Richards)
2003-11-28 21:55:59 +00:00
Ilia Alshanetsky
e1bdc33d18 More memory leak fixes for stream contexts. 2003-11-28 18:33:14 +00:00
Wez Furlong
cab6d93bdd Fix #25664 - COM crashes when calling a Delphi implementations of ITypeInfo.
Problem was that our extension assumes that the first param to ITypeInfo::Invoke was a reference to the COM object; this is not necessarily true and caused a crash in this instance.
Problem solved by removing the ITypeInfo::Invoke call, as it doesn't buy us anything anyway.
2003-11-28 17:11:16 +00:00
Wez Furlong
28277f1d00 fix #26001; serialize crashes when accessing an overloaded
object that has no properties (NULL hashtable).
2003-11-28 15:42:58 +00:00
Wez Furlong
440c4d983f fix memleak 2003-11-28 15:41:45 +00:00
Ilia Alshanetsky
e898ae955e Added image_type_to_extension() function. 2003-11-27 22:03:35 +00:00
Wez Furlong
6c0584d8f1 fix win32 build - thanks Sebastian. 2003-11-27 17:58:58 +00:00
Wez Furlong
eaf0942c8b Port liveness and SSL CA validation from 4.3 branch.
Make stream_select() work on ssl-enabled sockets again.
2003-11-27 17:40:16 +00:00
Wez Furlong
43698d6dbb initialize this one to be safe 2003-11-27 17:37:35 +00:00
Uwe Steinmann
6b81317509 - set precision to 0 unless the field is of type N or I 2003-11-27 11:32:05 +00:00
Uwe Steinmann
3977fdd7b0 - fixed indenting 2003-11-27 10:15:20 +00:00
Ilia Alshanetsky
cd482c502c Removed dead code. 2003-11-27 01:08:42 +00:00
Marcus Boerger
0f2f745393 Cleanup 2003-11-26 23:28:35 +00:00
Marcus Boerger
06cdd3e4cc Remove interfaces implemented in engine now 2003-11-26 08:18:26 +00:00
foobar
78cb38105d style fix 2003-11-25 20:02:22 +00:00
Sebastian Bergmann
8dd6cded76 'Fix' for bison 1.875. 2003-11-25 15:36:38 +00:00
foobar
7a3ad4172f - Fixed bug #26376 (typo in ext/odbc/config.m4: DBMaker test fails) 2003-11-25 08:07:35 +00:00
Ilia Alshanetsky
d1a04493bb Make sure zend stuff is built first. 2003-11-24 18:23:36 +00:00
Andi Gutmans
d344648b07 - Fix __autoload() to preserve class case.
- Heads up, this patch might break stuff so please let me know if you
- bump into any problems.
2003-11-24 18:13:29 +00:00
foobar
83650e4e67 Fix the build for other than x86 archs. 2003-11-24 16:09:45 +00:00
Georg Richter
e664af1943 added/fixed write property 2003-11-24 11:31:26 +00:00
Rob Richards
be974aff6e Fix bug #26159 - SimpleXML XPath support (patch by Adam Trachtenberg)
a few fixes to memory corruption
2003-11-24 11:24:40 +00:00
Moriyoshi Koizumi
4b439176da Partial fix for bug #25803 (xml_get_current_byte_index() always returns 0) 2003-11-24 06:04:39 +00:00
Ilia Alshanetsky
c722ab91ee Fixed bug #26355 (flock() doesn't initialize the wouldblock argument) 2003-11-24 01:42:43 +00:00
Ilia Alshanetsky
b03d3fa5b7 Added php_strip_whitespace() and php_check_syntax() functions. 2003-11-24 01:17:27 +00:00
Marcus Boerger
a7a9ec079a Add new test 2003-11-23 16:22:11 +00:00
Marcus Boerger
fc117add30 Several improvements to the simplexml_element object:
- Allow to use it as an instance of Iterator
- Prepareto use it as a normal object, including spcialization
2003-11-23 16:20:58 +00:00
Andi Gutmans
ceaddf238b - Allocation optimizations by Timm Friebe 2003-11-23 12:55:22 +00:00
Georg Richter
fee99f6b29 fixed mem leak in constructor 2003-11-23 07:50:04 +00:00
Georg Richter
230b207849 - Added multiquery support:
mysqli_multi_query
	mysqli_more_results
	mysqli_next_results

- added read-only properties (and removed methods)
	object mysql
		affected_rows
		client_flags
		client_version
		errno, error,
		host, host_info, info
		server_capabilities, server_version
		sqlstate, port, protocol_version,
		server_language
		thread_id, user, warning_count

	object result
		current_field, field_count,
		lengths, num_rows, type

	object stmt
		query, param_count, field_count,
		id, errno, error, sqlstate


- added constructor

- minor fixes, prototypes
2003-11-22 21:20:07 +00:00
Marcus Boerger
95c0c36525 Add missing files 2003-11-22 20:52:06 +00:00
Marcus Boerger
3d9ec63384 Update examples 2003-11-22 20:51:15 +00:00
Marcus Boerger
eca139ec52 - rename getLevel() to getDepth()
- make parameter to getSubIterator() optinal
- refcount fix
2003-11-22 20:49:15 +00:00
Marcus Boerger
9ed350cf67 - current() returns self
- add __toString() casting
2003-11-22 20:46:46 +00:00
Marcus Boerger
e3cbda9789 Disable interfaces ArrayRead and ArrayAccess 2003-11-22 20:44:44 +00:00
Moriyoshi Koizumi
fd28ad3e8c Fixed bug #26194 (iconv() not properly defined with libiconv).
# Thank you Steph and Frank!
2003-11-22 13:36:55 +00:00
Christian Stocker
6f8746a14d added test for exslt support 2003-11-21 12:22:48 +00:00
Christian Stocker
44ae81871b - Added $proc->hasExsltSupport() 2003-11-21 12:21:35 +00:00
Hartmut Holzgraefe
ead7c2388d debug mode no longer needed 2003-11-20 19:01:33 +00:00
Andi Gutmans
fea31127ec - Fix Windows build 2003-11-20 09:14:51 +00:00
Sara Golemon
0101c27823 New function: headers_list(). Ennumerate headers sent to SAPI engine 2003-11-19 21:10:33 +00:00
Hartmut Holzgraefe
f992fbfa2c proto fix 2003-11-19 20:13:49 +00:00
Hartmut Holzgraefe
7eb2471565 XSchema stuff finally done right ... (at least i hope so ...) 2003-11-19 19:55:13 +00:00
Hartmut Holzgraefe
8053a324aa typo fix 2003-11-19 17:38:42 +00:00
Hartmut Holzgraefe
47ee4d5e88 regression test for bug # 26320
"strtotime() does not understand ISO6801 datetime format as used in XMLSchema"
2003-11-19 16:37:50 +00:00
Hartmut Holzgraefe
5339f9134f Testcase done right ... 2003-11-19 16:19:28 +00:00
Hartmut Holzgraefe
8cc9c96cef regression test for http://bugs.php.net/bug.php?id=26317
"military timezones and strtotime()"
2003-11-19 16:01:25 +00:00
Ilia Alshanetsky
44e180b286 Fixed bug #26309 (Fixed argument parsing for imageftbbox()). 2003-11-19 15:49:55 +00:00