Commit Graph

14037 Commits

Author SHA1 Message Date
Georg Richter
5caeacc9c3 fixed properties when connect wasn't called 2004-08-04 12:59:09 +00:00
Georg Richter
161b37ffbc fixed bug #29522 2004-08-04 12:28:09 +00:00
Ilia Alshanetsky
e7b73ddce7 Fixed argument handling in sun* functions. 2004-08-04 00:28:03 +00:00
Edin Kadribasic
a0a046ca09 New libxml2 version for windows build.
Version 2.6.11.
http://ctindustries.net/dom/libxml/
2004-08-03 22:45:36 +00:00
Wez Furlong
4d39a171ee Even more verbosity... 2004-08-03 12:41:26 +00:00
Wez Furlong
f765acea59 Even more verbosity in case of error 2004-08-03 09:44:04 +00:00
Antony Dovgal
cc39d06e4e fix typo in mail.c: mail_force_extra_parameters -> mail.force_extra_parameters 2004-08-03 06:25:25 +00:00
Frank M. Kromann
2acc314e6f sys/stat.h is includes in php_streams.h no need to do that again. 2004-08-03 04:15:34 +00:00
Wez Furlong
99639f79b6 Avoid possible exception 2004-08-03 00:47:57 +00:00
Marcus Boerger
70268f05ef - Expand to test number of parameters 2004-08-02 23:10:53 +00:00
Marcus Boerger
84b90d6803 - Add methods to check parameter count 2004-08-02 23:10:29 +00:00
Marcus Boerger
2803965525 Correct test name 2004-08-02 23:00:35 +00:00
Marcus Boerger
ef9e7e5d9e Add test 2004-08-02 22:59:58 +00:00
Ilia Alshanetsky
cd7dafab7c Allow sqlite_fetch_column_types() to properly handle table names with
spaces in them.
2004-08-02 22:43:40 +00:00
Wez Furlong
d38f944d1c Better error reporting 2004-08-02 18:02:48 +00:00
Marcus Boerger
5f0433db83 MFB: Enforce protocol on magic methods/functions 2004-08-02 08:27:57 +00:00
Sascha Schumann
5890197024 fix empty_string issue
Patch submitted by Antony Dovgal <tony2001@phpclub.net>
2004-08-02 08:27:46 +00:00
Sascha Schumann
26cb5355e0 don't read empty files
0 malloc noticed by Antony Dovgal <tony2001@phpclub.net>
2004-08-02 08:27:24 +00:00
Wez Furlong
83472de48e Fix some misbehaving pecls (my own included ;-) 2004-07-31 18:46:18 +00:00
Wez Furlong
47e7fef08e Allow win32 stuff to build non-zts.
Fix stream crypto func (again? didn't I already commit that?)
2004-07-31 17:28:27 +00:00
Wez Furlong
d4ad4ac370 Allow COM to build under non-zts.
Thanks Frank.
2004-07-31 17:27:03 +00:00
Frank M. Kromann
62cd02c5a7 Adding missing PHPAPI for non ZTS builds 2004-07-30 22:49:02 +00:00
Ilia Alshanetsky
972940509f Fixed bug #29443 (Sanity check for wbmp detection). 2004-07-30 01:10:41 +00:00
Edin Kadribasic
5ec7c94a95 Fixed bug #29264. Newer libintl redefines function names so all
PHP gettext function names become prefixed with libintl_
2004-07-29 22:23:23 +00:00
Edin Kadribasic
8a582fa707 Fix compilation on Windows (bug #29340) 2004-07-29 21:09:23 +00:00
Edin Kadribasic
7941b599fc No PECL should be enabled by default 2004-07-29 20:43:00 +00:00
Timm Friebe
a75203a278 - Fixed bug #29064 (Exact numeric/decimal/money datatypes lose precision)
- Fixed bug #27843 (sybase_query() triggers (spurious?) notices when
  query is a stored procedure)
- Fixed multiple memory leaks with sybase_unbuffered_query()
- Changed sybase_query() to ignore store_results = false in  buffering
  mode, it would yield unpredictable results
- Fixed sybase_unbuffered_query() when used with store_results = false
- Changed sybase_fetch_object() to ignore second argument when passed
  as NULL
- Made sybase_data_seek() error message more verbose
- Fixed memory leak in shutdown when not all rows where selected in an
  unbuffered query
2004-07-29 19:32:46 +00:00
Wez Furlong
7b1d95adba Fix my favourite call user func mistake 2004-07-29 14:06:24 +00:00
Wez Furlong
ff531cca4d Missing ifdef; thanks Tony 2004-07-29 11:54:12 +00:00
Wez Furlong
4da80ed1de Use the correct lengths when building the name -> dispid mapping 2004-07-29 06:19:27 +00:00
Wez Furlong
cde7423cde Misc. win32 thread safety fixes. 2004-07-29 02:59:44 +00:00
Ilia Alshanetsky
739696d2d7 Fixed but #29437 (Possible crash inside array_walk_recursive()). 2004-07-29 00:35:07 +00:00
Ilia Alshanetsky
65ae35729d Proper parameter separators for PostgreSQL connection initialization. 2004-07-29 00:18:02 +00:00
Ilia Alshanetsky
45ddc6a5cd Better address availability check. 2004-07-28 23:34:27 +00:00
Ilia Alshanetsky
445daac3ab Fixed possible crash in stream_socket_recvfrom() when length parameter has
a negative value.
2004-07-28 23:21:54 +00:00
Marcus Boerger
b1326c1c24 - Fix problem when inner constructor isn't called from derived constructor
(foound by david)
2004-07-28 22:53:10 +00:00
Marcus Boerger
171d01dfcf - Update examples 2004-07-28 22:52:11 +00:00
Christian Stocker
5f888422d9 Fix for bug #29409 (Segfault in PHP functions called from XSLT). (by Rob) 2004-07-28 12:40:53 +00:00
Ilia Alshanetsky
89989f4e62 Fixed bug #29342 (strtotime() does not handle empty date string properly). 2004-07-28 01:44:39 +00:00
Marcus Boerger
0b40c1d82b - Trim error messages 2004-07-28 00:51:48 +00:00
Marcus Boerger
7557b388de - Fix shutdown problems 2004-07-28 00:40:01 +00:00
Wez Furlong
d5923d9121 equivalent segv/shutdown fix for failed connect 2004-07-28 00:15:19 +00:00
Wez Furlong
d6bfe18b20 looks like this approach will give us our exceptions back 2004-07-28 00:10:28 +00:00
Marcus Boerger
23475d4147 - Add missing include 2004-07-28 00:03:44 +00:00
Marcus Boerger
af900cb1d0 - Fix SEGV in case ctor failed 2004-07-28 00:01:12 +00:00
Wez Furlong
7d788aeba4 fix possible segv on failed connect 2004-07-27 23:58:19 +00:00
Wez Furlong
a783891e76 that's not my copy of the exception ctor, do don't fiddle its flags. 2004-07-27 22:17:40 +00:00
Wez Furlong
aa74430ee0 "better" "fix" for #29392.
This fixes the crash; the sample script:

	$c = new COM('ADODB.Connection');
	echo $c;

still does not work because the engine tries to call $c->__toString() and the
ADODB object *might* implement that method, but doesn't know until you open the
connection.
2004-07-27 22:17:00 +00:00
Rob Richards
4897bbe125 prep for stable release 2004-07-27 21:06:04 +00:00
Ilia Alshanetsky
fe50278d0a Fixed bug 29395 (sqlite_escape_string() returns bogus data on empty
strings).

Original Patch by: Tony
2004-07-27 16:40:43 +00:00
Ilia Alshanetsky
47bf193c53 Added missing comma. Thanks Tony. 2004-07-27 12:44:25 +00:00
Wez Furlong
3e327b6e21 protect caller from a potential bailout 2004-07-27 03:44:40 +00:00
Wez Furlong
530d41732d Revert last fix, because it breaks dynamic methods 2004-07-27 02:37:54 +00:00
Wez Furlong
20534bc445 Fix #29392 COM behaved badly for non-existant methods 2004-07-27 01:59:44 +00:00
Ilia Alshanetsky
69a5253284 Fixed bug #29349 (imagecreatefromstring() crashes with external GD library)
Original Patch By: adconrad at debian dot org
2004-07-27 00:27:06 +00:00
George Schlossnagle
c7b7791029 allow pdo to be functionally inherited from. 2004-07-26 07:42:46 +00:00
Georg Richter
485f862b35 fixed bug #29335 2004-07-26 07:19:05 +00:00
Andrey Hristov
e64af9a898 proto fix
(thanks to dave%php.net for spotting)
2004-07-26 06:32:54 +00:00
Georg Richter
dede51adf6 fixed bug in mysql->client_version
added mysql->client_info property
2004-07-26 05:44:06 +00:00
Marcus Boerger
aae7a83df4 - Fixed Bug #29354 Exception constructor marked as both public and
protected
# If the constructor should be protected then it needs to be overwritten
# with a method that simply calls the parent, this function simply changes
# the visibility of the original function and makes that (public+protected)
2004-07-25 18:50:24 +00:00
Marcus Boerger
7e914380c9 - Show visibility errors (try to fix #29354) 2004-07-25 18:20:33 +00:00
Christian Stocker
0936bfa42c renamed registerNamespace() to registerXPathNamespace() 2004-07-25 14:59:21 +00:00
Rob Richards
a1c33af793 export php_libxml_error_handler for win32 build 2004-07-25 12:00:28 +00:00
Christian Stocker
0b244def73 added new method SimpleXMLElement->registerNamespace(string prefix, string uri)
"registers a prefix <-> namespaceURI combination for use in a later xpath query. "
2004-07-25 11:02:43 +00:00
Christian Stocker
a497e9bf75 use php_error_docref for libxml2 errors 2004-07-25 10:37:27 +00:00
Christian Stocker
6bd845e365 set errorhandler to generic php_libxml_error_handler 2004-07-25 08:37:39 +00:00
Marcus Boerger
40bf10319b - Add ReflectionParameter::isOptional() to test whether a parameter is
optional and also show this information in export.
2004-07-25 07:06:53 +00:00
Andrey Hristov
d77a3f92e6 make behavior a bit field 2004-07-24 09:25:52 +00:00
Sara Golemon
b0f344e493 Oh by the way, only use proxy mode for reading... 2004-07-24 04:14:26 +00:00
Sara Golemon
93f795bb9e Add proxy support to ftp using http wrapper 2004-07-24 04:01:48 +00:00
Andi Gutmans
d1b29ad4c2 - There's no reason why gettimeofday() shouldn''t return the same time in
successive calls; this test fails spuriously on Linux/x86_64 (which has
a particularly fast gettimeofday() implementation).
- Joe Orton <jorton@redhat>
2004-07-23 21:53:16 +00:00
Georg Richter
8c6ab178e4 fixed bug #29311
added support for Cursors (MySQL 5.0.x)
2004-07-23 12:47:36 +00:00
Edin Kadribasic
67c42a4a9b Updated version number 2004-07-23 02:28:18 +00:00
Ilia Alshanetsky
70d78cf7dd Fixed bug #29333 (output_buffering + trans_sess_id can corrupt output). 2004-07-23 02:05:49 +00:00
Stefan Esser
da3d9f8e25 Fix .dsp 2004-07-22 22:42:35 +00:00
Stefan Esser
e58e6efd4d Merge changes from GD 2.0.28 2004-07-22 22:38:59 +00:00
Rob Richards
950f950ecd add optional name parameter to next()
move to next named sibling skipping subtrees
2004-07-22 15:50:44 +00:00
Wez Furlong
17adf438a2 Added stream_context_get_default() which returns the default context option.
You may then set options that affect streams operations for the whole script.

Added stream_socket_enable_crypto() which allows you to turn on or off a crypto
layer (eg: SSL/TLS) on stream, if supported by the underlying transport.

Registered a bunch of constants for that.
2004-07-22 12:12:28 +00:00
Georg Richter
96c002e07c changed warning (bug #29298) for outdated client library 2004-07-22 07:24:55 +00:00
Sara Golemon
f064a2c8b9 This should fix binary safety for bound results or may coogle strike me down. 2004-07-22 03:23:33 +00:00
Ilia Alshanetsky
1c2a22025d Fixed bug #29209 (imap_fetchbody() doesn't check message index).
# Initial Patch by tony2001 at phpclub dot net
2004-07-21 21:57:03 +00:00
Andrey Hristov
5e5d2640fb add array_:
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
2004-07-21 21:17:56 +00:00
Sara Golemon
e5ed53b00a Add MTDM support to ftp_fopen_wrapper::url_stat() 2004-07-21 04:37:47 +00:00
Sara Golemon
f502f56613 Oops, copy/paste typo 2004-07-21 02:39:53 +00:00
Sara Golemon
ee93ed0aaa Persistent mallocs can return NULL (on failure) 2004-07-21 02:38:40 +00:00
Ilia Alshanetsky
633ce3039f Abort earlier on invalid format. 2004-07-21 00:14:48 +00:00
Rob Richards
23d202bd36 prep for alpha release 2004-07-20 20:57:10 +00:00
Moriyoshi Koizumi
fbfd50bd1f - Correct range checks.
- Normalize negative values.
2004-07-20 20:08:08 +00:00
Moriyoshi Koizumi
e87fe59e96 - Cleanups. 2004-07-20 19:41:37 +00:00
Moriyoshi Koizumi
e25a206e87 oops... 2004-07-20 19:35:38 +00:00
Marcus Boerger
514dfbfbed - Need to set handle prior to calling zend_register_module_ex()
(Marcus, Kamesh Jayachandran <kameshj at fastmail dot fm>)
2004-07-20 19:23:55 +00:00
Moriyoshi Koizumi
f89486a3a0 - Fix possible leaks / segfaults in persistent filter 2004-07-20 18:46:39 +00:00
Marcus Boerger
446cc107b8 - Fixed bug 28895 again (long live the dead) 2004-07-20 18:22:31 +00:00
Moriyoshi Koizumi
c210c68add - Add more null checks. 2004-07-20 18:16:36 +00:00
Moriyoshi Koizumi
3e026f08ae - pemalloc() might return NULL. 2004-07-20 18:03:19 +00:00
Rob Richards
180306cf88 add optional flush paramter to xmlwriter_output_memory 2004-07-20 15:13:53 +00:00
Dmitry Stogov
31757a6aa8 Fixed incorrect HTTP headers in SOAP response 2004-07-20 07:39:32 +00:00
Sara Golemon
f92797f4e0 Add bz2 stream filter support 2004-07-20 05:26:33 +00:00
Sara Golemon
fc7197322c Make persistency safe 2004-07-20 05:08:52 +00:00
Ilia Alshanetsky
f3f7b6242d Fixed bug #29226 (ctype_* functions missing validation of numeric string
representations).
2004-07-20 01:03:16 +00:00