Commit Graph

12917 Commits

Author SHA1 Message Date
Wez Furlong
08ed2cb9f7 fix copy-n-past error in constructor.
Spotted by Eric Colinet.
2004-02-12 12:11:21 +00:00
Dmitry Stogov
866816efef Caching of temorary WSDL files was disabled. 2004-02-12 11:02:16 +00:00
Zeev Suraski
30171a7590 zend_default_classes.h -> zend_exceptions.h 2004-02-12 10:43:27 +00:00
Dmitry Stogov
07e3413e99 Using zend_throw_exception_object() instead of EG(exception). 2004-02-12 10:39:20 +00:00
Zeev Suraski
00ed3bad29 Centralize exceptions code in zend_exceptions.[ch].
Remove zend_default_classes.h (use zend_exceptions.h instead)

NOTE:  This currently breaks the build, fixes to php-src and pecl coming
       soon
2004-02-12 10:38:14 +00:00
Dmitry Stogov
71380e7d7f "Runtime Configuration" and "Exceptions" were added. 2004-02-12 09:05:56 +00:00
foobar
b10ce1155c - Fixed bug #23467 (Showing incorrect Time Zone)
# patch by scottmacvicar at ntlworld dot com
2004-02-12 01:28:12 +00:00
Marcus Boerger
7258bff325 Cleanup 2004-02-11 23:36:25 +00:00
foobar
e9e1494a59 There is CODING_STANDARDS..at least NEW code should respect those.. 2004-02-11 21:20:22 +00:00
Zeev Suraski
c8c0e97982 Prevent SimpleXML from silently modifying types of variables that are
assigned to its objects.

Implementation notes for overloaded object modules:

- If you return a zval which is not otherwise referenced by the extension
  or the engine's symbol table, its reference count should be 0.
- If you receive a value zval in write_property/write_dimension, you
  may only modify it if its reference count is 1.  Otherwise, you must
  create a copy of that zval before making any changes.  You should NOT
  modify the reference count of the value passed to you.

Have fun!
2004-02-11 19:15:30 +00:00
Brian France
d5b6608da5 Added checks for invalid characters in a cookie name or cookie data from setrawcookie 2004-02-11 19:00:42 +00:00
Brian France
e6ae5c3318 Added two new functions to set the dict-dir and data-dir options. 2004-02-11 18:50:16 +00:00
Ilia Alshanetsky
8b97d9d7f1 'Touch' the file to make sure re2c is not needed. 2004-02-11 17:32:38 +00:00
Ilia Alshanetsky
0fc2bb9d49 Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may
result in data loss).
2004-02-11 17:00:48 +00:00
Ard Biesheuvel
b625b03493 Look in the right place for lib 2004-02-11 16:20:48 +00:00
Dmitry Stogov
f3ed4a27a0 support for command line interface was improved 2004-02-11 16:13:15 +00:00
Dmitry Stogov
f46638ae28 Cache files access rights were changed. 2004-02-11 16:12:31 +00:00
Dmitry Stogov
6096b09159 Now SoapClient uses excptions as default method for error reporting 2004-02-11 13:53:50 +00:00
Rob Richards
5731108c55 Fix test 2004-02-11 13:00:19 +00:00
Zeev Suraski
fde9bac476 Fix crash (patch by Rob Richards) 2004-02-11 12:35:24 +00:00
Rob Richards
6e4a4e8a9a Fix compiler warnings
Update tests
2004-02-11 12:19:26 +00:00
Ard Biesheuvel
a3dd0efee2 Add version info about run-time client library
# A number of user crashes appear to be caused
# by using incorrect combinations of libraries
2004-02-11 12:08:44 +00:00
Ard Biesheuvel
9925c63be5 CS/WS 2004-02-11 11:59:08 +00:00
Zeev Suraski
0018eed69f Finally add a notice to hint people that using dl() is a bad idea... 2004-02-11 11:46:20 +00:00
Georg Richter
9e93ac6005 removed printfs :)
Thx Andi!
2004-02-11 08:34:08 +00:00
Georg Richter
3e2907d614 changed first param in mysqli_bind_param 2004-02-11 07:39:28 +00:00
Georg Richter
c0a1ec4210 changed first parameter in mysqli_bind_param from array to string
(as discussed on berlin db meeting)
2004-02-11 07:38:43 +00:00
Timm Friebe
b3a55e95de - Removed pointless call to error_reporting() 2004-02-10 20:39:08 +00:00
Jan Lehnardt
023e12cf3a - fix #27197 for Greg (cellog@php.net) 2004-02-10 14:40:39 +00:00
Dmitry Stogov
20add786ae WSDL caching was implemented 2004-02-10 13:41:21 +00:00
Zeev Suraski
e8e9b2afee Implement get callback for SimpleXML (it now supports pre/post increment
as well as binary-assign-ops)
2004-02-10 09:30:38 +00:00
foobar
1b6b63c3f9 ws 2004-02-09 18:18:00 +00:00
Frank M. Kromann
d7961b69e2 Delay creation of exec handle til it's needed 2004-02-09 17:58:04 +00:00
Dmitry Stogov
a55f6cb66c Allowing to report SOAP Fault with "return new SoapFault(...)" 2004-02-09 09:31:18 +00:00
Dmitry Stogov
3b19e196fa Allowing to pass request to SoapServer::handle direct (not through $HTTP_RAW_POST_DATA). 2004-02-09 07:51:07 +00:00
Ilia Alshanetsky
0e5020fdad Fixed bug #27172 (Possible floating point exception in gmp_powm()). 2004-02-09 04:27:35 +00:00
Timm Friebe
fbc3eda353 - Initial release 2004-02-09 00:32:39 +00:00
Timm Friebe
a8bd293005 - Changed error_reporting setting to E_ALL so we get the notices 2004-02-09 00:14:24 +00:00
Timm Friebe
06ab4e69db - Made server name and credentials contain something obviously incorrect.
- Made charset parameter default to "iso_1" (fixed "Sybase: Unable to
  update character set." warnings which were failing all tests when the
  official Sybase libraries were used - FreeTDS ignores this).
2004-02-08 23:58:46 +00:00
Zeev Suraski
2a9e1294bc Update to new API 2004-02-08 17:25:54 +00:00
foobar
6b8616889d Fixed bug #27171 2004-02-07 19:14:49 +00:00
Georg Richter
e3d0e587b8 fixed cast warning 2004-02-07 13:45:44 +00:00
Dmitry Stogov
79dc8d5ef6 fix 2004-02-06 16:54:34 +00:00
Dmitry Stogov
59ab20b23b optimization 2004-02-06 16:52:14 +00:00
Ard Biesheuvel
9415013456 Fix build with Win32 Interbase 5.x 2004-02-06 15:11:17 +00:00
foobar
b8e6cde6c6 fine tune 2004-02-06 14:59:51 +00:00
Dmitry Stogov
6ae97a5b25 WSDL cache was disabled by default (see WSDL_CACHE macro)
WSDL related memory leaks were fixed
2004-02-06 14:22:33 +00:00
Dmitry Stogov
88c1168941 Free XML documents after WSDL parsing (they no longer need). 2004-02-06 11:56:03 +00:00
Wez Furlong
2cf588a0a9 prefer != "no" over = "yes". (it doesn't really matter for ext/soap, but
it's still the best practice).
2004-02-06 09:18:51 +00:00
Dmitry Stogov
c22d7cf883 PHP5 and WIN32 support was improved 2004-02-06 08:01:35 +00:00
Ilia Alshanetsky
dfde3095e4 Possible fix for bug #27165. 2004-02-06 03:14:06 +00:00
Ilia Alshanetsky
1eb6a18289 Do not initialize & create vars unless they will be used. 2004-02-06 03:07:59 +00:00
Dmitry Stogov
508273780c PHP API was changed (see readme.html for more details). 2004-02-05 20:26:05 +00:00
Dmitry Stogov
2c1dcf32a0 WSDL parsing speedup. Source cleanup. 2004-02-05 09:28:09 +00:00
Stanislav Malyshev
1c433049ca fix serialization 2004-02-05 09:07:46 +00:00
Stanislav Malyshev
8487383ede fix test - remove warning 2004-02-05 09:03:37 +00:00
Antony Dovgal
d3cd05c95a fix bug #27149
(offset should start with 1)
2004-02-05 08:29:16 +00:00
John Coggeshall
fac5939f42 Updating tests that got left behind when we changed to studlyCaps
and fixed another test
2004-02-05 01:38:59 +00:00
Marcus Boerger
4a3c015dd7 Fix annoying warning 2004-02-04 23:41:58 +00:00
Marcus Boerger
63c964c40f Fix reflection 2004-02-04 22:19:00 +00:00
Marcus Boerger
09fe52c687 Fix Warning 2004-02-04 21:04:39 +00:00
Dmitry Stogov
1f68c98aba Unnecesurry namespaces was removed form SOAP fault responces 2004-02-04 16:50:29 +00:00
Dmitry Stogov
62572919d8 SoapServer::fault() method was implemented
Unnecesurry namespaces was removed form SOAP fault responces
2004-02-04 16:49:48 +00:00
Dmitry Stogov
9fa7d1c24a SOAP Headers was implemented (near complete) 2004-02-04 14:46:12 +00:00
Ilia Alshanetsky
91f46b7880 Fixed compile warnings. 2004-02-04 14:15:16 +00:00
Zeev Suraski
d77bbe344c kill warning 2004-02-04 12:45:56 +00:00
Zeev Suraski
d89b7b23f9 API updates 2004-02-04 12:45:47 +00:00
Zeev Suraski
8424be849f - Update with new destructor code 2004-02-04 11:14:47 +00:00
Zeev Suraski
f5f7d569a0 Change destructor implementation (details will follow on internals@) 2004-02-04 09:56:20 +00:00
Moriyoshi Koizumi
24eb1f6eb2 - Update libmbfl to the latest. This fixes several serious issues in the html
entity encoder and the encoding detection facility. There should be no
  problem with mailparse() as API change was made so carefully that it
  would be as small as possible.
2004-02-04 07:24:08 +00:00
Marcus Boerger
dfad2955ee Update tests 2004-02-03 22:07:29 +00:00
Dmitry Stogov
75e4f43d0c Initial support for client-part SOAP headers (very incomlete) 2004-02-03 16:44:57 +00:00
Dmitry Stogov
f3a114a97f SoapServer constructor was extended by default SOAP version. 2004-02-03 16:43:38 +00:00
foobar
1f34bc0f10 touch 2004-02-03 15:50:21 +00:00
Antony Dovgal
f1c40a4a22 -remove obsolete types
-changes in config.m4 to make oci8 to compile with Oracle 10g
(thanks to cjbj at hotmail dot com for reporting both problems)
2004-02-03 14:21:09 +00:00
Stanislav Malyshev
3fd027c5ac fix bug #27120 and bug #25975 - preserve is_ref when bound
objects are serialized
2004-02-03 14:12:59 +00:00
Stig Bakken
330d9f6352 SQLITE_ENCODING should be UTF8 rather than UTF-8 2004-02-03 08:38:22 +00:00
Vlad Krupin
66ebc334d6 This should allow us to read dictionary locations from the win32 registry when we use a custom config.
Not doing so when I added win32 support was an oversight.
Now all pspell_new_* functions should be usable on win32.
2004-02-03 05:40:25 +00:00
Ilia Alshanetsky
6dca37c50c Fixed possible overflow. 2004-02-03 03:10:28 +00:00
Andrey Hristov
ab43b68476 typo fix 2004-02-02 22:41:56 +00:00
Marcus Boerger
b1c77fcce3 TSRM fixes 2004-02-02 21:27:13 +00:00
Marcus Boerger
391494c0ef Tests are executed with E_STRICT 2004-02-02 19:26:52 +00:00
Dmitry Stogov
a70a620a01 fix: proper handling of SOAP 1.1 href and unresolved attributes references 2004-02-02 17:39:10 +00:00
Dmitry Stogov
840526f1d3 Server-part support for SOAP Headers was implemented (incomplete) 2004-02-02 16:19:39 +00:00
Ard Biesheuvel
1db65dfa93 Use correct flag for repair options 2004-02-02 14:57:20 +00:00
Ard Biesheuvel
f7e1724096 Fix Win32 build 2004-02-02 14:01:41 +00:00
Ard Biesheuvel
80e3384756 Use php_ prefix for header files
Added nearly complete implementation of service API
2004-02-02 13:49:48 +00:00
Ard Biesheuvel
2430a27d7f Use php_ prefix for header files. 2004-02-02 13:47:56 +00:00
Antony Dovgal
c7699856fc add missing alias for ocifreecursor() 2004-02-02 08:26:15 +00:00
foobar
7ad385b109 CS fix (functions should not be available if they are not available :) 2004-02-02 08:10:31 +00:00
Antony Dovgal
fec01159b1 fix yet another possible segfault 2004-02-02 08:09:53 +00:00
Ilia Alshanetsky
25053ba01b Fixed possible overflows. 2004-02-02 00:06:17 +00:00
Ard Biesheuvel
1932317844 No explicit inline (fixes Win32 linkage issue) 2004-02-01 18:42:47 +00:00
Ard Biesheuvel
7b606b98d4 Remove extension internals from php_interbase.h 2004-02-01 17:52:36 +00:00
Ard Biesheuvel
254eb0f05d Test for Interbase version 6 API in 'configure'
# Always enable in Win32 for the time being
2004-02-01 17:42:26 +00:00
Ard Biesheuvel
69d53a7676 Added backup/restore functions
Split interbase.c into several files
# It was becoming too big to handle
2004-02-01 16:13:07 +00:00
Sebastian Bergmann
e4ad9209ed ZTS fix. 2004-02-01 08:34:47 +00:00
Moriyoshi Koizumi
65e22c3316 - Forgot to add test case. 2004-02-01 03:03:15 +00:00
Moriyoshi Koizumi
5d9495dfe7 - Binary compatibility stuff, for safety. 2004-02-01 03:02:47 +00:00
Moriyoshi Koizumi
0330fb2cbf - Fix bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets). 2004-01-31 22:36:33 +00:00
Moriyoshi Koizumi
8e44a6ba0a - POSIX / ISOX compliancy. This is needed to correctly handle UTF-8 characters. 2004-01-31 21:56:42 +00:00
Marcus Boerger
46be4c2626 Throw an exception in case a reflection object cannot be found and do not
override the exception from constructors in static method calls.
2004-01-31 12:20:20 +00:00
Georg Richter
cccb92b233 Corrected binding:
if column has type DECIMAL it will converted to string now.
  Thanks to Brian Aker for pointing this out.
2004-01-31 07:51:03 +00:00
Georg Richter
1baf3d3478 added nuw_rows property for statement object 2004-01-30 22:45:19 +00:00
Dmitry Stogov
4b74d4fbba Server part support for "document" style encoding was implemented 2004-01-30 16:32:53 +00:00
Dmitry Stogov
92aa602af0 Some tests from official SOAP 1.2 specification was added 2004-01-30 15:08:52 +00:00
Dmitry Stogov
b81645edd3 SOAP 1.2 specification conformity was improved 2004-01-30 15:07:19 +00:00
Dmitry Stogov
134faf074c Support for https:// through proxy was implemented 2004-01-30 09:26:56 +00:00
Sara Golemon
18588497d7 Fix potential bug in http:// proxy support.
Some proxy servers require entire URI be sent in request string.

Add context option "http"/"request_fulluri" to allow this behavior.
2004-01-30 00:24:18 +00:00
Dmitry Stogov
26cb17718c *** empty log message *** 2004-01-29 17:24:03 +00:00
Ilia Alshanetsky
4b1fadbf1c Proper configure switch for sqlite. 2004-01-29 17:21:16 +00:00
Dmitry Stogov
05114460ba Rollback: persistent PHP streams (dont work with "kafka") 2004-01-29 15:32:06 +00:00
Dmitry Stogov
c33d480386 PHP4 support
HTTP proxy support for PHP4
Using persistent PHP streams for HTTP connections
2004-01-29 15:11:16 +00:00
Dmitry Stogov
e439a1af7f fix: "Authors" corrected 2004-01-29 11:51:11 +00:00
Dmitry Stogov
5ab77a9268 Support for HTTP proxies was implemented 2004-01-29 11:26:52 +00:00
Derick Rethans
9d2f84e411 - Add our standard header 2004-01-29 09:27:06 +00:00
Dmitry Stogov
49b9c59518 Support for nonWSDL mode was improved (SoapVal,SoapVar,SOAPAction...) 2004-01-29 09:03:28 +00:00
Dmitry Stogov
c7cfe9f8e3 fix: possible crash was fixed 2004-01-29 06:37:51 +00:00
Ilia Alshanetsky
194509f093 Fixed bug #27007 (missing connection closure when connect fails in pgsql). 2004-01-29 02:54:30 +00:00
Rob Richards
109ea54871 fix corruption when cloneDocument is not defined 2004-01-29 00:33:20 +00:00
Marcus Boerger
37cf05d1b8 Update 2004-01-29 00:10:33 +00:00
Marcus Boerger
760e43e373 removed experimental status 2004-01-28 23:00:31 +00:00
Marcus Boerger
390ae1a8b8 - Fix second issue with #27042
- Little improvement
- Update test
2004-01-28 22:59:03 +00:00
Georg Richter
7782a4b425 removed experimental status
fixed bug in mysqli_data_seek (thx to Andrey "Effendi" Hristov)
various prototype fixes
moved some methods to properties which are part of mysql struct
added function mysqli_get_server_version
2004-01-28 22:51:54 +00:00
Sara Golemon
c603f3112e FTP dirstream_read should not leave whitespace/newlines on dirents 2004-01-28 22:50:12 +00:00
Sara Golemon
6d10371ec6 'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware. 2004-01-28 22:21:54 +00:00
Ilia Alshanetsky
e691cbd4ee Fixed bug #27011 (64bit int/long confusion in preg_match*() functions). 2004-01-28 21:47:36 +00:00
Andrey Hristov
eaab3ef8cd this should not belong to HEAD 2004-01-28 20:25:30 +00:00
Dmitry Stogov
6cf3c8586e Error reoprting improved by prefix
New 'HTTP' fault code
Source cleanup
2004-01-28 16:47:49 +00:00
Martin Kraemer
01c6257c5c Bug fix: Images would be broken on big-endian machines because the putc
function wrote the first (instead of "the low order") byte. That resulted
in unexpected zero bytes.
2004-01-28 16:25:12 +00:00
Dmitry Stogov
381d4e4ffa Source cleanup 2004-01-28 13:36:31 +00:00
Dmitry Stogov
84f259b448 Test suite for XML Schema and SOAP encoding/decoding 2004-01-28 13:33:48 +00:00
Dmitry Stogov
43f0131ea1 Source cleanup 2004-01-28 13:31:28 +00:00
Dmitry Stogov
2238e4b9f0 Add namespaces to <Envelope> (not ot subnodes) 2004-01-28 13:30:21 +00:00
Antony Dovgal
fab593566e two fixes:
-oci_lob_load shouldn't reset LOB's length to zero
-Oracle feels bad, but reports no error, when trying to erase LOB with offset bigger than LOB
2004-01-28 07:15:55 +00:00
Ilia Alshanetsky
7bbe518f8b Fixed bug #27058 (crash in sybase_connect() with 2 arguments). 2004-01-28 01:43:45 +00:00
Ilia Alshanetsky
472a3a2446 Fixed bug #27056 (ints used instead of longs inside some GD functions). 2004-01-28 01:36:53 +00:00
Andrey Hristov
463f510796 message about that mysql_list_tables() is deprecated 2004-01-27 23:14:42 +00:00
Dmitry Stogov
4af9e35316 fix: HTTP keep-alive 2004-01-27 16:19:22 +00:00
Dmitry Stogov
c10038a9ee enabling HTTP status code 100 (used by Delphi SOAP) 2004-01-27 16:07:58 +00:00
Dmitry Stogov
a6c94a8bf9 SOAP Fault uses HTTP status code 500 2004-01-27 15:49:34 +00:00
Dmitry Stogov
1b6f176281 Support for relative path in WSDL and XML Schema <import> 2004-01-27 15:48:19 +00:00
Georg Richter
692726cdd3 changed prototype mysql_dataseek from void to bool
add check for specified offset
2004-01-27 13:56:03 +00:00
Georg Richter
429aa55248 prototype fixes
removed method field_tell (which is already property current_field)
2004-01-27 13:23:54 +00:00
Dmitry Stogov
5294a539e2 Allow <element>s with same names 2004-01-27 12:07:57 +00:00
Dmitry Stogov
6eeec41c4d fix: error handling 2004-01-27 10:24:48 +00:00
Dmitry Stogov
3787c94c2a XML Schema support was improved
support for <attribite> default and fixed values
	support for encoding of list elements
2004-01-27 10:23:20 +00:00
Dmitry Stogov
b0b60d945f Proper handling of SOAPAction in SOAP 1.1 and SOAP 1.2 2004-01-27 06:54:14 +00:00
Marcus Boerger
a43693eaf0 Must use zval* here 2004-01-26 23:59:50 +00:00
Marcus Boerger
617b8df6c0 Remove test code 2004-01-26 23:20:00 +00:00