Commit Graph

12184 Commits

Author SHA1 Message Date
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