Wez Furlong
f2d2da300f
zts
2005-02-13 06:41:46 +00:00
Wez Furlong
47d1c2ad65
autocommit flag gets set always by PDO before invoking this method;
...
we should unconditionally inspect it here.
2005-02-13 06:37:29 +00:00
Wez Furlong
078b77619a
commit generated version of the .re
2005-02-13 06:30:36 +00:00
Wez Furlong
0da6a84edf
implement mapping of :name to ? parameters for drivers that only support ?
...
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given query, as there is a danger of scary things happen
with the zval if it gets bound multiple times.
2005-02-13 06:29:35 +00:00
Wez Furlong
2a32b478f9
typo-fix error message
2005-02-13 06:27:03 +00:00
Wez Furlong
5edd570b94
Correct the pdo header search order
2005-02-13 06:26:48 +00:00
Wez Furlong
fc51fd11b6
it's only an error in emulation mode; rewrite happens in prepare, which
...
happens before bindParam
2005-02-13 04:00:22 +00:00
Edin Kadribasic
ab9821d8c3
Do not shout :)
2005-02-13 03:27:48 +00:00
Wez Furlong
1051e7076f
Fixes the crash part of PECL Bug #3434 .
2005-02-13 03:26:43 +00:00
Wez Furlong
0aa82c3c83
same fix here
2005-02-13 03:15:11 +00:00
Wez Furlong
bee7f3d0ac
correct backwards logic
2005-02-13 03:01:38 +00:00
Wez Furlong
08f683a645
Probably fix pecl vs bundled-shared build
2005-02-13 02:51:11 +00:00
Wez Furlong
4d80aaf47a
try to handle OSX issues more gracefully
2005-02-13 01:54:59 +00:00
Wez Furlong
4dc3b75569
possible fix for snaps box
2005-02-13 01:32:27 +00:00
Antony Dovgal
175bf7e9a3
set username && password only if they were specified
2005-02-13 00:57:48 +00:00
Hartmut Holzgraefe
486370dc7c
autocommit setting done right
2005-02-13 00:55:16 +00:00
Hartmut Holzgraefe
5d4fb518ae
added MySQL transaction support
2005-02-13 00:51:17 +00:00
Ilia Alshanetsky
5904d59ffd
Fixed compiler warnings.
2005-02-12 20:58:29 +00:00
Ilia Alshanetsky
9b394af973
Simplify code and fix compiler warning.
2005-02-12 20:55:28 +00:00
Ilia Alshanetsky
e5a906dcb9
Updated version without compiler warnings.
2005-02-12 20:34:20 +00:00
Marcus Boerger
1a35bcfcbc
- Add new test
2005-02-12 18:40:19 +00:00
foobar
f485fc1a83
Missed one place..
2005-02-12 18:29:42 +00:00
foobar
751712628a
This was not good idea.
2005-02-12 18:27:22 +00:00
foobar
30deea4d30
Remove unused set_h_errno
2005-02-12 18:14:03 +00:00
Wez Furlong
9e31b10531
prep for release
2005-02-12 08:23:32 +00:00
Wez Furlong
002545fffb
Fix bundled sqlite build (doh!)
2005-02-12 08:20:17 +00:00
Wez Furlong
91eab3e5bc
typo
2005-02-11 02:05:05 +00:00
Wez Furlong
1f06eb1c5c
update in anticipation of a release later tonight
2005-02-11 01:22:44 +00:00
Wez Furlong
ccd242665b
Fix PDO::query() for drivers that emulate bound parameters.
2005-02-11 01:20:59 +00:00
Rob Richards
bb9ba8e36e
fix segfault when retval_ptr is empty - such as when exception thrown
2005-02-10 22:59:26 +00:00
Hartmut Holzgraefe
2c6b600a90
test case for Bug #30266
2005-02-10 22:55:52 +00:00
Antony Dovgal
5b78e4c025
hm..
...
fix #28324 _properly_
2005-02-10 20:22:07 +00:00
Antony Dovgal
94982058b6
fix bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is Off)
2005-02-10 19:38:11 +00:00
Rob Richards
4967138514
initial cut of new error handling
2005-02-10 15:52:38 +00:00
Pierre Joye
162b91136c
- fix #30745 and #31853 (php-bugs at demark dot org, pierre)
2005-02-10 14:31:32 +00:00
Ilia Alshanetsky
f257e10d48
Removed unused vars.
2005-02-10 14:11:06 +00:00
Wez Furlong
877a2bd690
prep for release
2005-02-10 02:06:49 +00:00
Wez Furlong
69cbb7f958
prep for release
2005-02-10 01:56:20 +00:00
Wez Furlong
e9f5fb53f3
only do this magic on non-win32 platforms
2005-02-10 01:34:39 +00:00
Wez Furlong
3b857ea987
rename ancient method
2005-02-09 23:34:53 +00:00
Frank M. Kromann
d2ae18d76e
change return value from false to true, when a statement was executed with warnings
2005-02-09 19:32:03 +00:00
Frank M. Kromann
4b0d9e2319
Check for warnings and return the warning texts
2005-02-09 18:49:38 +00:00
Ilia Alshanetsky
ee0e2d0ea3
Touch file.
2005-02-09 17:06:13 +00:00
Ilia Alshanetsky
cd6d5fb18f
Fixed compile warnings.
2005-02-09 16:33:00 +00:00
Rasmus Lerdorf
4909775f04
Fix for bug #31901
2005-02-09 16:22:48 +00:00
Ilia Alshanetsky
2196c4335b
kill unused var
2005-02-09 16:14:50 +00:00
Ilia Alshanetsky
1b3dd5db8b
remove unused vars.
2005-02-09 15:56:27 +00:00
Wez Furlong
94d5261f73
cosmetic changes
2005-02-09 15:12:41 +00:00
Wez Furlong
ad60999858
proper fix for PECL Bug #3412
2005-02-09 14:32:04 +00:00
Rob Richards
08592b38da
Fixed bug #31878 (Segmentation fault using clone keyword on nodes)
2005-02-09 11:46:43 +00:00
Wez Furlong
1cdde9e3ed
update with changes
2005-02-09 07:02:00 +00:00
Wez Furlong
211206b2e4
Add PDO_ATTR_TIMEOUT support.
...
Fix PECL Bug #3391
2005-02-09 07:00:00 +00:00
Wez Furlong
f6aa8f5d90
keep a log here for now
2005-02-09 06:44:08 +00:00
Wez Furlong
902ca8c1cf
Expose the quoter method of the driver as PDO::quote().
...
Closes PECL Bug #3393
2005-02-09 06:43:15 +00:00
Wez Furlong
d57a169500
typo fix
2005-02-09 06:14:48 +00:00
Wez Furlong
dbaa3bfdfa
hope it works!
2005-02-09 05:26:38 +00:00
Wez Furlong
c28a0b9fcb
disable dep
2005-02-09 05:18:02 +00:00
Wez Furlong
44cec3d456
disable dep for pecl release
2005-02-09 05:12:41 +00:00
Wez Furlong
201ec3dc02
prep for release
2005-02-09 05:04:40 +00:00
Wez Furlong
3047ced496
prep for possible release
2005-02-09 05:00:58 +00:00
Wez Furlong
229ea4bbfc
update ready for release.
...
Disable dependency macro for compatibility with existing PHP 5.0.x releases.
2005-02-09 04:57:32 +00:00
Wez Furlong
b9a951aa1a
be realistic...
2005-02-09 04:56:10 +00:00
Wez Furlong
5a2cb4154a
update ready for release
...
# includes big hack to help guide people into running "make install" so
# that the headers get installed; works around a pear bug.
2005-02-09 04:54:56 +00:00
Wez Furlong
5304374fc5
fix typo
2005-02-09 00:38:11 +00:00
Marcus Boerger
3fb1c65a41
- Initial Observer implementation
2005-02-08 20:42:48 +00:00
Marcus Boerger
2e8b9c005b
- Update to 2005
2005-02-08 19:10:06 +00:00
Marcus Boerger
2f9662d156
- Fix year and speling
2005-02-08 19:05:25 +00:00
Marcus Boerger
e5fe40eac9
- Actually these are private
2005-02-08 19:00:19 +00:00
Ilia Alshanetsky
891745776e
Removed pointless operations/declarations.
2005-02-08 15:30:42 +00:00
Ilia Alshanetsky
55fd7ac601
Added optional maxlen parameter to file_get_contents().
2005-02-08 15:25:45 +00:00
Antony Dovgal
bc27a2af7a
move ext/cpdf to PECL
2005-02-08 13:40:37 +00:00
Rasmus Lerdorf
bf7cb1179a
Don't need MSHUTDOWN either here
2005-02-08 05:25:48 +00:00
Rasmus Lerdorf
3baf795c17
Get rid of more useless RINIT/RSHUTDOWN calls
2005-02-07 23:04:00 +00:00
Ilia Alshanetsky
aa6cb1055b
Fixed bug #31527 (crash in msg_send() when non-string is stored without
...
being serialized).
2005-02-07 22:31:19 +00:00
Rasmus Lerdorf
9c530d79e7
No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here
2005-02-07 22:16:46 +00:00
Marcus Boerger
a8552cb2f9
- Add missing '?>'
2005-02-07 16:27:41 +00:00
Antony Dovgal
96610aee08
fix leaks on shutdown
...
fix leaks appearing when trying to open several "databases"
2005-02-07 13:30:45 +00:00
Wez Furlong
dbcf51b5a8
a working implementation of LOB input parameters for ODBC.
...
however: when sending in a string from the script, we get a 1 byte overflow
of the pdo parameter structure... Need to install valgrind on the test box
2005-02-07 04:13:32 +00:00
Wez Furlong
ac018c38a8
This might allow piecewise sending of LOB data for input parameters.
2005-02-07 03:27:54 +00:00
Wez Furlong
ae5958570b
update
2005-02-07 01:21:58 +00:00
Wez Furlong
29380a8e54
update for input/output parameters change
2005-02-07 01:17:24 +00:00
Wez Furlong
501000f129
Implement input/output parameters
2005-02-07 01:16:16 +00:00
Wez Furlong
36e3ea8cb2
add input/output parameter type flag
2005-02-07 01:12:49 +00:00
Wez Furlong
504afcfc5a
and the generated file
2005-02-07 00:26:38 +00:00
Wez Furlong
2bd3536041
handle input LOBs (which are passed as streams) in bound parameter emulation.
...
Update error handling.
2005-02-07 00:26:22 +00:00
Wez Furlong
af162668e5
fix pointer indirection (and thus leak)
2005-02-07 00:04:20 +00:00
Wez Furlong
7279fe8ab0
centralize this define
2005-02-07 00:02:51 +00:00
Wez Furlong
61981912f8
hmmm
2005-02-06 23:58:53 +00:00
Wez Furlong
d134fb2a8d
update for api changes
2005-02-06 23:22:37 +00:00
Wez Furlong
1069cefada
support sucking data from streams in file_put_contents()
2005-02-06 23:05:24 +00:00
Ilia Alshanetsky
917648a232
Fixed possible un-initialized var on error.
2005-02-06 22:58:46 +00:00
Edin Kadribasic
22ff90f7ba
Adjust for the new get_col api
2005-02-06 22:48:35 +00:00
Wez Furlong
d87c5ec288
update for api changes
2005-02-06 22:34:53 +00:00
Wez Furlong
3130ed3066
make configure smarter.
...
Update for new get_col() signature
2005-02-06 22:25:33 +00:00
Wez Furlong
ccf0a6a557
add a caller_frees parameter to get_col() to allow drivers that need
...
to allocate data on demand to do so without worrying about cleaning it up.
Spec out how LOB parameters are returned.
2005-02-06 22:11:12 +00:00
Wez Furlong
e3ba31e899
better handling of pdo-level errors
2005-02-06 21:05:59 +00:00
Wez Furlong
ec98e744be
touch again
2005-02-06 21:05:28 +00:00
Wez Furlong
474a65e277
update todo
2005-02-06 19:59:32 +00:00
Wez Furlong
c56419ed78
support getting some more attributes
2005-02-06 17:49:48 +00:00
Wez Furlong
ca4dc0361c
this one too
2005-02-06 17:33:12 +00:00
Wez Furlong
9ba84360e3
handle some generic attributes here
2005-02-06 17:25:09 +00:00
Wez Furlong
b2126a848a
This will probably fix PECL Bug #3273
2005-02-06 16:46:18 +00:00
Wez Furlong
257dfcdde7
touch file
2005-02-06 16:29:33 +00:00
Timm Friebe
5eb673d1cb
- Made error handler not output anything if error was not in error_reporting() mask
2005-02-06 14:08:11 +00:00
Timm Friebe
ca250d16dc
- Fixed error handler for situations in which an error
...
was raised in an include file
2005-02-06 14:06:21 +00:00
Timm Friebe
6a4d498af4
- Initial release
...
# Used for being able to run .phpt-files in a webserver environment
# Incomplete and pretty basic but serves its purpose ATM
2005-02-06 13:35:09 +00:00
Timm Friebe
57fa001979
- Prefixed all temporary names with "phpt_"
2005-02-06 12:59:03 +00:00
Timm Friebe
2a595d116e
- Initial release
...
# Works perfectly with php-cli
2005-02-06 11:58:53 +00:00
Timm Friebe
e47835b90e
- "Unified" test name
2005-02-06 11:58:18 +00:00
Edin Kadribasic
accdde8c19
Finalized pgsql LOB support using native pgsql bytea type.
...
If paramater is bound with type PDO_PARAM_LOB the quoter function
gets a hint that specific LOB type quoting should be used:
$stmt->bindParam(":lob", $lob, PDO_PARAM_LOB);
2005-02-06 01:27:27 +00:00
Edin Kadribasic
0d9b0606b9
Don't segault when we have placeholders but no bound params
2005-02-06 00:46:17 +00:00
Edin Kadribasic
bf77a39349
Decode pgsql LOB objects (bytea type) on fetch
2005-02-05 22:55:23 +00:00
Edin Kadribasic
64e8c3105c
Return lobs as strings for now
2005-02-05 22:46:26 +00:00
Wez Furlong
74821473e2
update separately
2005-02-05 21:30:19 +00:00
Wez Furlong
15e754201f
pass param type to quoter functions
2005-02-05 21:29:42 +00:00
Edin Kadribasic
95cc208464
Removed unused variebles.
...
Return OID as int.
2005-02-05 20:38:47 +00:00
Georg Richter
ef6f0f00a6
fix for bug #29329
2005-02-05 10:59:38 +00:00
foobar
71b9c41a6b
fix test
2005-02-04 23:23:34 +00:00
Dmitry Stogov
625b79c3ba
Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with multiple parts)
2005-02-04 15:42:46 +00:00
Derick Rethans
0242ae498e
- Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick)
2005-02-04 14:28:50 +00:00
foobar
b61a63d008
- Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string).
2005-02-04 13:08:56 +00:00
Edin Kadribasic
1a962e9d98
Get OID of the last inserted row
2005-02-04 01:48:01 +00:00
Ilia Alshanetsky
779edcb01d
Proper fix for bug #31796 .
2005-02-04 00:21:50 +00:00
Ilia Alshanetsky
5879c5cf21
Fixed bug #31796 (readline completion handler does not handle empty return
...
values).
2005-02-03 22:45:36 +00:00
Ilia Alshanetsky
996b464e30
Use the created connection string.
2005-02-03 22:24:50 +00:00
Magnus M��tt�
fda27b4465
Fix typos.
2005-02-03 17:02:42 +00:00
Zeev Suraski
11339ee42e
Removing this file has been long due...
...
API's and functionality are stable.
2005-02-02 17:22:19 +00:00
foobar
75b4e2c832
- Moved ext/w32api to PECL.
2005-02-02 14:43:26 +00:00
foobar
0741be6f3c
- Moved ext/yp to PECL.
2005-02-02 14:33:23 +00:00
foobar
439c5f4f33
- Moved ext/dio to PECL.
2005-02-02 14:29:58 +00:00
Stanislav Malyshev
7b241027fa
fix memory leak if function call fails
2005-02-02 10:37:50 +00:00
Dmitry Stogov
3c31410074
Fixed bug #31747 (SOAP Digest Authentication doesn't work with "HTTP/1.1 100 Continue" response)
2005-02-02 10:34:39 +00:00
Dmitry Stogov
83e6e40438
Fixed bug #31755 (Cannot create SOAP header in no namespace)
2005-02-02 09:11:46 +00:00
Ilia Alshanetsky
8c97b9dc73
Fixed bug #31797 (exif_read_data() uses too low nesting limit).
2005-02-01 23:27:33 +00:00
Marcus Boerger
0bb81ce1d6
- Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
...
to complete api (johannes@php.net )
2005-01-31 22:56:01 +00:00
Dmitry Stogov
fea1b5b3a0
Fixed SIGSEGV when restoring WSDL without functions from cache
2005-01-31 15:08:24 +00:00
Antony Dovgal
5e8cd3a2da
fix segfault when failed to open magic file
2005-01-31 15:01:47 +00:00
Dmitry Stogov
950632519b
Empty "detail" was removed from SoapFault object.
2005-01-31 14:26:06 +00:00
Dmitry Stogov
6e8d3e9023
Fixed memory allocation bug
2005-01-31 14:02:19 +00:00
Ilia Alshanetsky
112eb3b35d
Fix handling of INF/NAN in unserialize().
2005-01-30 16:38:53 +00:00
Georg Richter
32aaa6a7be
fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows
...
in case affected_rows function returns (my_ulonglong) -1 for errors.
(Thanks to Antony Dovgal for reporting this bug)
2005-01-28 17:35:37 +00:00
Antony Dovgal
999c63d9d7
improve CS & error messages
2005-01-28 16:42:26 +00:00
Antony Dovgal
c61ce71a01
MFB: explain why ftok() failed
2005-01-28 16:36:46 +00:00
Dmitry Stogov
d5d127c3ad
Memory leak was fixed
2005-01-28 10:33:46 +00:00
Antony Dovgal
f7326d6279
MFB: fix #31732
2005-01-28 02:00:39 +00:00
Antony Dovgal
3ff7f46fd4
change return type from NULL to FALSE when parameter parsing failed
...
(as was requested by Ilia)
2005-01-28 01:38:56 +00:00
Antony Dovgal
75725c57a5
MFB: fix posix_getsid() & posix_getpgid()
2005-01-28 00:27:48 +00:00
Frank M. Kromann
a13734d2f7
Hack to fix crash caused by FBCAccess not returning errors when creating an index that exists in the database.
2005-01-27 20:13:04 +00:00
Ilia Alshanetsky
42155f6028
Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar )
2005-01-27 16:37:34 +00:00
Antony Dovgal
6ffd569410
MFB: fix leak in mysqli_fetch_array()
2005-01-27 14:41:48 +00:00
Georg Richter
7148919940
fix for bug #31710 (return value for mysql_rollback is reverted)
...
fixed also same behaviour for mysql_commit and mysql_autocommit
2005-01-27 10:18:28 +00:00
Antony Dovgal
9d9e4379af
MFB: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct()
2005-01-27 01:14:43 +00:00
Marcus Boerger
5cabd2f12b
- Move tests to proper location now that the tested classes are hardcoded
2005-01-27 00:34:13 +00:00
Marcus Boerger
faba10853f
- Unify
2005-01-27 00:26:13 +00:00
Marcus Boerger
f1e34911a9
- Add new test
2005-01-27 00:22:28 +00:00
Marcus Boerger
f18aa85252
- Know whether ew refer to an external array (is_ref) or not
2005-01-27 00:22:06 +00:00
Ilia Alshanetsky
4a5294788e
Fixed bug #31699 (unserialize() float problem on non-English locales).
2005-01-26 16:55:17 +00:00
Ilia Alshanetsky
c85a9abc4c
Fixed bug #29733 (printf() handles repeated placeholders wrong).
...
# Original patch by bugs dot php dot net at bluetwanger dot de
2005-01-26 00:01:26 +00:00
Andrei Zmievski
9ab8deb33c
Don't depend on empty_string.
2005-01-25 23:58:22 +00:00
Ilia Alshanetsky
8c22d51070
Fixed bug #31465 (False warning in unpack() when working with *).
2005-01-25 22:50:39 +00:00
Andrei Zmievski
27b1a27faf
MFB (Fix several egregious leaks in ext/browscap and sapi/embed).
2005-01-25 21:33:58 +00:00
Marcus Boerger
1c2b14b92f
- Proto fix
2005-01-25 19:08:38 +00:00
Antony Dovgal
c404bdb9f8
check body for NULL before using and prevent segfaults
2005-01-25 14:20:02 +00:00
foobar
af854a8409
- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings)
2005-01-25 13:42:52 +00:00
Dmitry Stogov
2d8e73b963
Fixed bug #28041 (SOAP HTTP Digest Access Authentication was implemented)
2005-01-25 11:03:20 +00:00
Ilia Alshanetsky
25fd4c3bc2
Fixed ZTS build
2005-01-24 23:53:00 +00:00
Marcus Boerger
b570ad759b
- Unify
2005-01-24 21:28:56 +00:00
Marcus Boerger
e1737ca88a
- Bugfix #31346
2005-01-24 21:27:36 +00:00
Marcus Boerger
06dbcb22a1
- Update
2005-01-24 21:13:52 +00:00
Marcus Boerger
36e6841ef5
- Add new test
2005-01-24 20:22:56 +00:00
Marcus Boerger
3c36e73b95
- bugfix 31348
2005-01-24 20:21:11 +00:00
Marcus Boerger
7ec2fe9dcd
- Synch with MYSQLi extension and use RuntimeException as base for
...
SQLiteException if SPL is present.
2005-01-24 18:46:50 +00:00
Antony Dovgal
5a559e9a57
add test
2005-01-24 14:19:53 +00:00
Antony Dovgal
9e55579cb0
fix msg_recieve() returning TRUE instead of FALSE when unserialize failed
...
(patch by Andrey Hristov)
2005-01-24 14:12:01 +00:00
Wez Furlong
ebaf95b13a
make this the right size...
2005-01-23 15:34:48 +00:00
Sergey Kartashoff
618b7c267c
- A bug in mnogosearch module in ispell loading code was fixed
2005-01-23 15:01:20 +00:00
Edin Kadribasic
60f5e66aa9
Add support for fetching meta data
2005-01-23 14:50:06 +00:00
Edin Kadribasic
d8aa131ca0
Store pgsql_type, intval and boolav per column
2005-01-23 10:57:11 +00:00
Edin Kadribasic
902c2b43cb
Remove debug stuff
2005-01-22 23:51:09 +00:00
Edin Kadribasic
e58a8671a2
Support for native nulls, bools and ints
2005-01-22 23:31:19 +00:00
Marcus Boerger
1d5c13bdad
- Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)
2005-01-22 12:23:01 +00:00
Marcus Boerger
bad986232b
- Update after fixing it
2005-01-22 12:22:01 +00:00
Marcus Boerger
a01e3435de
_ Add test for bug 31651
2005-01-22 11:46:56 +00:00
foobar
f8a540d105
- Typofix + removed unnecessary unsets caused by it
2005-01-22 01:31:54 +00:00
Andrei Zmievski
ecb9f8668d
MFB (bugfix for 24851)
2005-01-22 00:01:33 +00:00
Stefan Esser
581265f4d1
Correctly initialize ZVAL
2005-01-21 16:03:47 +00:00
Antony Dovgal
5e1b127864
destruct return_value
2005-01-21 10:55:41 +00:00
Wez Furlong
0162d0093d
picky picky.
...
Lets make those OUTPUT rather than INPUT-OUTPUT.
We need some flag from the user if they want that.
2005-01-21 06:11:10 +00:00
Wez Furlong
e5b6b0dbee
Allow static build (better detection of PDO headers).
...
Copy error code into driver code, so PDO can handle it correctly.
Less leaks
2005-01-21 04:43:06 +00:00
Wez Furlong
7a137a5f84
fix leak
2005-01-21 04:41:52 +00:00
Wez Furlong
8ebcbfdf1b
hrmm. Really really really really touch the timestamp in CVS to avoid
...
crappy makefile annoyance.
2005-01-21 04:34:41 +00:00
Wez Furlong
bc55e7f3e2
make use of the query rewriter (even though it doesn't do anything yet)
2005-01-21 04:22:06 +00:00
Wez Furlong
53af3dc4f2
update
2005-01-21 04:02:41 +00:00
Wez Furlong
dede3c59fe
fix encoding nastiness that snuck in from the copy-n-paste of error code
...
descriptions from a web page.
2005-01-21 03:59:41 +00:00
Wez Furlong
88640832be
and check in the generated c file later, to avoid remaking it in fresh checkouts.
2005-01-21 03:58:09 +00:00
Wez Furlong
6ddbfa0733
Revise query parser so that it can rewrite from one bind syntax to another.
...
Expose it as PDO_API. No drivers utilize this feature yet.
2005-01-21 03:57:06 +00:00
Wez Furlong
26f97a911b
Eliminate unused parameter.
...
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
dcd3d84ddb
Eliminate unused parameter
2005-01-21 00:38:09 +00:00
Wez Furlong
08fa032b80
fix backslash
2005-01-21 00:04:50 +00:00
Antony Dovgal
d0427feee4
fix bug #31623 (OCILogin does not support password grace period)
2005-01-20 18:39:48 +00:00
Antony Dovgal
84a8849a3a
fix error message
2005-01-20 18:08:08 +00:00
Antony Dovgal
4f3e113e38
fix segfault in imap_sort() - it segfaults when options is less than 0.
...
it looks like c-client bug, but we still need a workaround.
also, convert_to_string search criteria.
2005-01-20 18:03:35 +00:00
Dmitry Stogov
a343fc848d
Support for HTTP error codes
2005-01-20 17:29:16 +00:00
Edin Kadribasic
93e4213bfe
Add support for the 'official' build machine layout
2005-01-20 15:54:35 +00:00
Dmitry Stogov
c35353ea20
Fixed bug #30901 (can't send cookies with soap envelop).
...
void SoapClient::__setCookie(string name [, string value])
2005-01-20 14:29:19 +00:00
Antony Dovgal
9812f55289
fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0
...
+ fix protos
2005-01-20 14:04:50 +00:00
Dmitry Stogov
a830b0fc6b
Fixed bug #31422 (No Error-Logging on SoapServer-Side).
2005-01-20 12:48:01 +00:00
Rob Richards
dd2f5ed142
Fixed bug #28817 (Var problem when extending domDocument).
2005-01-20 11:47:05 +00:00
Antony Dovgal
6a9579bd7e
fix typos in error messages
2005-01-20 09:59:23 +00:00
Antony Dovgal
5aa42a202a
fix typos in error messages & resource name
2005-01-20 09:57:57 +00:00
Dmitry Stogov
56025c6a1a
Support for HTTPS with digital certificates.
2005-01-20 06:08:04 +00:00
Wez Furlong
1312fe469e
Fix segfault on stmt close.
...
Make scrollable cursors actually work
2005-01-20 06:06:26 +00:00
Wez Furlong
e21e1c65e3
Juggle/enhance mssql library detection
2005-01-20 05:09:06 +00:00
Wez Furlong
84aa902015
Generate pdo_oci.dll for modern SDKs and pdo_oci8.dll for ye-olde oci805 libs.
...
I'm told that oci805 is required for connectivity to oci805 servers, which are
no longer supported in more recent SDK releases.
Edin: please grab:
http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip
http://download.oracle.com/otn/nt/instantclient/instantclient-sdk-win32-10.1.0.3-20050113.zip
and extract them under php_build, so that you end up with php_build/instantclient10_1
2005-01-20 03:33:17 +00:00
Wez Furlong
9fe37737f9
generate dblib and mssql variants in the same build
2005-01-20 03:29:53 +00:00
foobar
2c65e09a4b
- Revert the weird change of ZEND_STRS() macro and use the correct
...
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
Wez Furlong
e28d2c8032
Take a stab at implementing out parameters for odbc
2005-01-19 05:27:15 +00:00
Wez Furlong
a39d50c95f
don't propogate an unspecified length to the driver.
...
Drivers will used a 0 length as a hint that the parameter is an in-out or out
parameter.
2005-01-19 05:25:40 +00:00
Wez Furlong
769d399be5
add dep
2005-01-19 03:50:32 +00:00
Wez Furlong
ffd35bb63d
allow static linkage.
...
Avoid segv when no username is passed
2005-01-19 03:45:21 +00:00
Wez Furlong
a536e31fb1
leak/segv less
2005-01-19 03:44:49 +00:00
Wez Furlong
434d068994
*compile before commit *
...
*compile before commit *
*compile before commit *
2005-01-19 01:17:13 +00:00
Wez Furlong
af8bb16ec1
implement nextRowset for ODBC
...
# this might even work first time
2005-01-19 01:13:39 +00:00
Wez Furlong
544d61873d
proto bool PDOStatement::nextRowset()
...
Advances to the next rowset in a multi-rowset statement handle. Returns true if
it succeded, false otherwise
2005-01-19 01:12:52 +00:00
Wez Furlong
9b36089838
let it compile again
2005-01-19 00:33:56 +00:00
foobar
c245e1f0f7
- ldap_start_tls() requires ldapv3 protocol -> force it
2005-01-19 00:27:21 +00:00
Ilia Alshanetsky
c78db34489
Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose).
2005-01-18 23:36:08 +00:00
Frank M. Kromann
736ff0319a
Set the MSSQL_VERSION to FreeTDS when that lib is used
2005-01-18 22:39:01 +00:00
Frank M. Kromann
4b4cde0702
Rename php_freetds.dll to php_dblib.dll (still using the freetds libs).
...
Allow the build of both versions in the same process
2005-01-18 22:38:24 +00:00
Antony Dovgal
84fe72612e
add checks for libs & headers required by IBM DB2
2005-01-18 21:16:32 +00:00
Ilia Alshanetsky
023c1bccb3
Fixed bug #31480 (Possible infinite loop in imap_mail_compose()).
2005-01-18 16:32:53 +00:00
Ilia Alshanetsky
1e6454a67b
Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen).
2005-01-18 15:47:57 +00:00
foobar
64e40c2271
- Make sure FD_CLOEXEC is always defined.
2005-01-18 15:44:33 +00:00
Antony Dovgal
63fbc27466
fix bug #30430 (odbc_next_result() doesn't bind values and that results in segfault)
...
fix protos
2005-01-18 15:03:51 +00:00
foobar
197711bb7d
Add test for bug #31402
2005-01-18 11:36:44 +00:00
foobar
bed68d8828
Touch the generated file.
2005-01-18 10:57:05 +00:00
Dmitry Stogov
ea6ea21939
Fixed bug #31190 (exceptions in call_user_func_array())
2005-01-18 10:38:04 +00:00
Frank M. Kromann
25917d5885
Make this compile with the generic ntwdblib from Microsoft
2005-01-18 07:17:01 +00:00
Frank M. Kromann
14821bb8cf
use the static dblib.lib to avoid the need for extra dll's
2005-01-18 06:42:08 +00:00
Frank M. Kromann
008d859df9
add --with-freetds option to win32 build.
...
TODO make it work when both mssql and freetds is included or bail out with an error
2005-01-18 06:32:11 +00:00
Frank M. Kromann
01b426c452
make the mssql extension work with freetds on win32
2005-01-18 06:29:45 +00:00
Frank M. Kromann
d56b42bec4
make the mssql extension work with freetds on win32
2005-01-18 06:09:48 +00:00
Wez Furlong
a9d98544de
Allow drivers to select bind emulation on a per statement basis
2005-01-18 04:58:50 +00:00
Wez Furlong
d911f19862
doh
2005-01-18 04:35:47 +00:00
Wez Furlong
505fbb1966
nice and fluffy error handling
2005-01-18 02:42:52 +00:00
Wez Furlong
8b35436cb1
remove error and hook up rowCount
2005-01-18 00:58:15 +00:00
Wez Furlong
37ea5fbeb5
Tidy up driver specific method handling
2005-01-17 23:59:16 +00:00
Antony Dovgal
7c152b6a8e
fix weird DB2 issue:
...
DB2's SQLDataSources() returns _max available_ length of result string instead of
_real_ length and that results in strings a-la "\0 "
2005-01-17 18:08:54 +00:00
foobar
e82eb93cf2
- Added some sanity checks by changing to the parameter parsing API
2005-01-17 17:07:28 +00:00
Christian Stocker
8d10b52ddf
fix protos (by Mehdi Achour )
2005-01-17 15:56:17 +00:00
Antony Dovgal
acbdbe1e65
fix leak appearing when odbc_errormsg() got invalid resource
2005-01-17 15:05:11 +00:00
Stefan Esser
da7001a6c3
Fix compiler warning.
2005-01-17 11:45:09 +00:00
Edin Kadribasic
095a6f1eb3
Use PQescapeBytea() for quoting. Need to think how to add binary safe
...
quoting for blobls (pgsql bytea type).
Fixes #2818
2005-01-17 10:37:41 +00:00
Wez Furlong
3a751f37c6
don't raise errors for the no-error case
2005-01-17 05:28:46 +00:00
Wez Furlong
b234f1e415
tidy up a few things
2005-01-17 05:28:13 +00:00
Wez Furlong
44e77380fb
Missing 1
2005-01-17 01:31:14 +00:00
Wez Furlong
ca98805935
Add a PDO driver for Sybase style DB-lib (including MS SQL).
...
Only the basics are here right now.
2005-01-17 01:15:14 +00:00
Zak Greant
f3d39ff406
Added standard emacs and vim modelines
2005-01-16 19:28:55 +00:00
Moriyoshi Koizumi
b1ddbcbef9
- Fix a critical bug that request-local settings leak to another request.
2005-01-16 15:55:17 +00:00
Stefan Esser
135fee7f10
and use it...
2005-01-15 18:30:16 +00:00
Stefan Esser
2c25b9d866
Restore unserialize() speed
2005-01-15 18:18:08 +00:00
foobar
58c6ed3583
CS fix
2005-01-15 04:50:26 +00:00
foobar
0e9866bfd6
ws fix
2005-01-15 04:34:30 +00:00
foobar
330746480e
- Fixed bug #31060 (imageftbbox() does not use linespacing parameter)
2005-01-14 23:07:46 +00:00
foobar
68ca0ed6d8
- Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters)
2005-01-14 22:43:15 +00:00
Dmitry Stogov
9de934c210
Fixed SIGSEGV in ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt
2005-01-14 09:02:02 +00:00
Wez Furlong
10eb5a1098
fix compile.
...
Someone with firebird needs to sit down and give this extension some love
2005-01-13 18:02:13 +00:00
Wez Furlong
d056f96a2f
Add configure support for Oracle InstantClient SDK
2005-01-13 04:55:56 +00:00
Wez Furlong
f17311c9dd
Add support for ODBCRouter
2005-01-13 02:06:39 +00:00
Wez Furlong
ef0de01b62
Take a blind stab at implementing scrollable cursors for pgsql.
...
We allocate a unique cursor name for each statement, so that we
don't interfere with other open statement handles on the same dbh.
Note, however, that we force a new transaction for each open scrollable cursor
(postgres requires cursors to be used inside a transaction). This is okay,
except for the case where a scrollable cursor is opened, an update is made and
the cursor is closed; closing the cursor commits the transaction that was begun
when it was opened.
It might well be better to avoid the transaction in PDO and force the user to
be aware of the requirements of cursors and explicitly initiate the transaction
themselves.
This is all untested code; it compiles and looks like it will work, but I
encourage someone with a real postgres setup to actually sit down and try to
use it.
2005-01-13 01:59:39 +00:00
Wez Furlong
0db373883f
detect funky kerberos deps that chain on from openssl deps on RH distros
2005-01-13 01:12:34 +00:00
Wez Furlong
222e5f9cbc
stub out scrollable cursors here too
2005-01-12 06:12:26 +00:00
Wez Furlong
d3ab27f7cc
stub out scrollable cursors
2005-01-12 06:11:33 +00:00
Wez Furlong
be616317c7
stub out scrollable cursor change
2005-01-12 06:10:31 +00:00
Wez Furlong
c77bd71315
be aware of scrollable cursors; sqlite doesn't support them
2005-01-12 06:08:59 +00:00
Wez Furlong
4d5c40cd9a
touch generated file to avoid implicit yacc rule from eating it
2005-01-12 06:08:36 +00:00
Wez Furlong
81664bd2db
Remove bogus scroll attribute.
...
Expose cursor constants to the script
2005-01-12 05:59:27 +00:00
Wez Furlong
7552fe23ff
make scrollable cursors consistent with odbc; removing bogus attribute
2005-01-12 05:58:58 +00:00
Wez Furlong
b2fe675636
Support scrollable cursors
2005-01-12 05:58:19 +00:00
Wez Furlong
459b4f85d3
Add support for scrollable cursors.
...
Enable PDO_ATTR_PREFETCH and default it to 100Kb of prefetch buffer.
2005-01-12 05:47:03 +00:00
Wez Furlong
dd842e4bf4
API support for scrollable cursors
2005-01-12 04:49:12 +00:00
Wez Furlong
076bc75c01
add theoretical support for returning ints as ints and bools as bools.
...
individual drivers need to support returning data in these formats.
2005-01-12 03:26:46 +00:00
Wez Furlong
f9d3469e4f
Add configure support for ODBCRouter and generic ODBC libs.
...
Note that ODBCRouter doesn't directly implement ODBC 3.0, so
using it here won't really work.
Expand the ODBC 3 check to better explain what happened and
how to make progress (e.g.: use an ODBC manager library like
unixODBC).
2005-01-12 02:19:30 +00:00
Moriyoshi Koizumi
20a5a1d61c
- Fix the fix :)
2005-01-11 20:58:46 +00:00
Moriyoshi Koizumi
ee18958f98
- Fix htmlentities() / html_decode_entity() UTF-8 related bugs
...
initially reported by Kamesh Jayachandran
2005-01-11 20:44:04 +00:00
Wez Furlong
166ca20bed
Fix build
2005-01-11 14:28:37 +00:00
Rob Richards
a3335dba69
revert fix for bug #28817 - fix is bad
2005-01-11 10:36:08 +00:00
foobar
b298098307
- Added check for IMAP 2005 version
2005-01-11 04:56:06 +00:00
Wez Furlong
c55b4ab516
update for recent adjustments
2005-01-11 02:59:52 +00:00
Antony Dovgal
6074423330
fix Konstantin's last name Chugeuv -> Chuguev
2005-01-10 21:37:17 +00:00
foobar
32d86482cc
update test to include negative floats as strings too
2005-01-10 16:00:08 +00:00
foobar
71ea389f74
Missing $Id$ tag
2005-01-10 15:20:53 +00:00
foobar
2b407ef934
- Update credits
2005-01-10 15:11:17 +00:00
Joe Orton
9a8114e388
Don't scribble over the stack; icc compiler warning fix
...
from dcb314@hotmail.com via Red Hat bugzilla #143795 .
2005-01-10 11:26:56 +00:00
Marcus Boerger
4a76003201
- Fix proto
2005-01-10 07:19:08 +00:00
Marcus Boerger
0f44e8a722
- Bugfix #31342 : SQLite OO interface with Exceptions (hugo dot pl at gmail dot com)
2005-01-10 07:16:25 +00:00
Marcus Boerger
4494f0892b
- Implement iterator interface in sqlite
2005-01-10 07:13:56 +00:00
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
...
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Antony Dovgal
37d3ea836e
add skipif section
2005-01-09 18:22:12 +00:00
Antony Dovgal
68d73f8cf9
add test for bug #31454
2005-01-09 18:15:49 +00:00
Antony Dovgal
d7072f8a9d
efree(name)
2005-01-09 17:49:51 +00:00
Antony Dovgal
c644b2a5a1
fix bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
2005-01-09 17:42:02 +00:00
foobar
6ffb0dcaf2
- Fix leaks with registered shutdown functions.
2005-01-09 16:30:09 +00:00
foobar
4db9db0cc7
- Fix possible crash (PR#26223). Leaks remain.
2005-01-08 20:44:23 +00:00
Georg Richter
6b49e2d9e7
fixed compile bug under Windows (libmysql.def currently doesn't export mysql_server_init/end).
...
Thanks to Sebastian Bergmann for reporting
2005-01-08 15:11:37 +00:00
Marcus Boerger
5516915115
- Add new test
2005-01-08 13:47:05 +00:00
Marcus Boerger
344d2210c2
- Unify
2005-01-08 13:46:18 +00:00
Marcus Boerger
01d6db92fc
- Fix shared build
2005-01-08 13:36:17 +00:00
Marcus Boerger
8045f834d4
- Remove double destroy (which is definitively wrong and prevents php from
...
normal execution).
2005-01-08 13:34:03 +00:00
Marcus Boerger
79687e9b7d
- Fix dependency
2005-01-08 13:24:39 +00:00
Marcus Boerger
1875caf1ab
- Fix warning
...
- Fix tsrm usage
2005-01-08 12:35:50 +00:00
foobar
9ea10c5cec
- Fix some memory leaks
2005-01-08 12:02:22 +00:00
Antony Dovgal
5eeb444b8b
remove duplicated include
2005-01-07 20:55:46 +00:00
Magnus M��tt�
5ec0e49497
Argh.. Committed old patch.
...
Add safe_mode check and fix error code.
2005-01-07 17:38:03 +00:00
Georg Richter
f16db40af2
forgot to remove some comments in last commit:(
2005-01-07 16:34:55 +00:00
Sebastian Bergmann
683515596b
ZTS fix.
2005-01-07 16:24:51 +00:00
Sebastian Bergmann
aca657eca2
Sync with config.m4.
2005-01-07 16:23:13 +00:00
Magnus M��tt�
0dddd923c7
Added new function: posix_access()
...
Feature requests: #29615 , #14924
2005-01-07 16:05:06 +00:00
Georg Richter
0b4c108bd7
Added new classes:
...
mysqli_driver
mysqli_warning
mysqli_exception
mysqli_sql_exception
Improved embedded server support
changed testsuite to work also with embedded server
Made statement and resultset classes extendable
minor fixes
2005-01-07 14:59:59 +00:00
Wez Furlong
e6c282a766
jumbo commit; implement sqlstate error codes.
...
Bundle sqlite3
2005-01-07 05:27:27 +00:00
Wez Furlong
02d6b65c67
lame implementation of SQLSTATE error codes
2005-01-07 05:25:57 +00:00
Wez Furlong
70da739031
remove error map; odbc speaks SQLSTATE natively
2005-01-07 05:25:35 +00:00
Wez Furlong
fe1a87d02d
half-hearted adjustment for sqlstate error codes; will do a better job
...
when I'm sitting down with a working oci env
2005-01-07 05:25:02 +00:00
Wez Furlong
0f12bfece7
tidy up some parts of the build (could do with more work)
...
Partially implement SQLSTATE error codes
2005-01-07 05:24:21 +00:00
Wez Furlong
4486666209
half-update for sqlstate error codes
2005-01-07 05:23:48 +00:00
Wez Furlong
6e0d8dd06f
implement SQLSTATE style error codes.
...
Allow drivers to add methods to dbh and stmt objects
(note that we can't use a class, because the use only sees the PDO class).
Clarify the api slightly:
PDO::exec() is used for one-shot queries that don't return rows
PDO::query() is a convenience function for returning a rowset without
having to go through the steps of preparing and executing.
2005-01-07 05:23:10 +00:00
Joe Orton
792032c6bb
Fix #31413 : curl POSTFIELDS usage on 64-bit platforms.
2005-01-05 21:33:56 +00:00
Frank M. Kromann
a6ce3e17e4
Allow gmp to compile under Win32
2005-01-04 22:39:29 +00:00
Wez Furlong
c4bc5b7f33
Fix #31408 : memory leak in stream_socket_recvfrom
2005-01-04 15:30:45 +00:00
foobar
a2177b2e8e
- Fixed bug #31396 (compile fails with gd 2.0.33 without freetype)
2005-01-04 06:51:45 +00:00
Stanislav Malyshev
9fa1ee360b
merge patch from http://www.sqlite.org/cvstrac/chngview?cn=1953
...
bug led to PHP exiting on queries with unknown columns
2005-01-03 11:29:27 +00:00
Rob Richards
6bbb254ecc
allow parser flags to be passed to xinclude()
2005-01-02 12:22:36 +00:00
Rob Richards
6a64418809
add NONET flag to disable network access when loading xml
2005-01-02 12:21:14 +00:00
Rob Richards
8450fae834
Fixed bug #31361 (simplexml/domxml segfault when adding node twice)
2005-01-02 12:08:41 +00:00
Moriyoshi Koizumi
88ce94a3c2
- Add testcases for bug #29493 and #31213 .
2005-01-02 06:51:03 +00:00
Wez Furlong
126e524635
Fix build...
2005-01-01 14:32:59 +00:00
Wez Furlong
1f75a34f76
add proper dep
2004-12-31 17:45:08 +00:00
foobar
4cf9d27072
- Fixed bug #28930 (PHP sources pick wrong header files generated by bison)
2004-12-30 15:18:24 +00:00
foobar
5ac375a40d
- Fixed bug #31101 (missing kerberos header file path with --with-openssl)
2004-12-30 14:50:06 +00:00
Antony Dovgal
8596934a39
tidy_repair_string() should not try to load config file if there was no config parameter
2004-12-30 11:56:18 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
foobar
57eddbd7d0
- Fixed the crash and leak.
2004-12-30 05:31:55 +00:00
Ilia Alshanetsky
a7bc501d90
MFH: A leak is better(?) then a crash.
2004-12-30 04:39:17 +00:00
Ilia Alshanetsky
4bef3dde2d
MFB: fixed test case
2004-12-30 04:11:33 +00:00
Ilia Alshanetsky
585833ab7e
Fixed proto.
2004-12-30 01:23:44 +00:00
Ilia Alshanetsky
8f7f00178f
Fixed typo.
2004-12-29 21:56:42 +00:00
Ilia Alshanetsky
12c2113b3e
Fixed compiler warnings.
2004-12-29 21:40:34 +00:00
Ilia Alshanetsky
ed64463bdb
Fixed memory leaks.
2004-12-29 21:33:03 +00:00
Ilia Alshanetsky
742f8c2502
MFB: don't perform pointless operations.
2004-12-29 21:25:00 +00:00
Ilia Alshanetsky
3f79dfbb04
Don't forget to unload t1lib.
2004-12-29 21:07:59 +00:00
Frank M. Kromann
70c51c4ee6
Fix typo
2004-12-29 20:18:34 +00:00
Antony Dovgal
6528b1b0b4
more typos
2004-12-29 16:11:42 +00:00
Antony Dovgal
0460f73db2
MFB: fix typos
2004-12-29 13:53:40 +00:00
Georg Richter
57fa54af2d
added property 'id' to retrieve statement id (required by PEAR DB, to support
...
mysqli prepared statements)
2004-12-29 11:46:13 +00:00
Wez Furlong
73186934d8
more get_method signature changes
2004-12-27 22:04:54 +00:00
Zeev Suraski
f64c4f4569
MFB - description fix
2004-12-27 18:22:50 +00:00
Georg Richter
dc63cb7feb
fixed testcase 047
...
fixed windows compile error
2004-12-27 15:39:35 +00:00
Marcus Boerger
7be33a225e
- Need to unmangle the class name here
2004-12-27 15:13:26 +00:00
Marcus Boerger
03af7c8abc
- More proto/error message fixes
2004-12-27 13:32:22 +00:00
Georg Richter
698c0361d6
Fix for feature request #31015 : added length for field length
2004-12-27 11:48:57 +00:00
Marcus Boerger
4b80deed8e
- Small fixlet (by Tony)
2004-12-27 11:41:45 +00:00
Wez Furlong
823d48bd37
hmmmmm. Bound params *were* working this way before, but now it seems that
...
I have to bind them as text.
2004-12-26 18:13:52 +00:00
Georg Richter
683f6c879c
added constructors for mysqli_stmt and mysqli_result classes
2004-12-26 13:16:40 +00:00
Wez Furlong
b44785e958
don't blow up under HEAD
2004-12-26 04:50:09 +00:00
Georg Richter
ea22bf6063
fix for bug 31141
2004-12-25 16:42:53 +00:00
Marcus Boerger
8c7bd30a7b
- Add ReflectionClass::hasMethod() (thanks to Johannes S.)
2004-12-25 16:27:27 +00:00
Wez Furlong
c8b2f43005
fix build issues
2004-12-25 04:01:30 +00:00
Wez Furlong
843807c647
When a socket is non-blocking, don't block ssl enabled sockets.
...
Allow for non-blocking negotiation when calling stream_socket_enable_crypto().
That function will return the foolowing values:
false - negotiation failed
0 - try again when more data is available (only for non-blocking sockets)
true - ssl was enabled
2004-12-25 02:02:56 +00:00
Antony Dovgal
ffb2cf7a94
return empty string when got empty parameter
2004-12-24 19:45:54 +00:00
Wez Furlong
e1f3beaa13
really don't blow up
2004-12-23 19:39:22 +00:00
Ilia Alshanetsky
d0f606f11d
Fixed several buffer overflows.
2004-12-23 19:29:12 +00:00
Antony Dovgal
38d8e20f68
destroy return_value and fix leak in array_fill()
2004-12-23 16:35:48 +00:00
Antony Dovgal
78edc7e65a
add Oracle Instant Client support (initial patch by cjbj at hotmail dot com)
2004-12-23 16:20:09 +00:00
Wez Furlong
d3d757d95a
don't crash...
2004-12-23 05:56:50 +00:00
Ilia Alshanetsky
b19e666946
Fixed bug #31142 (imap_mail_compose() fails to generate correct output).
2004-12-22 17:27:39 +00:00
Ilia Alshanetsky
4ab69902dc
Fixed possible crash in imap_mail_compose().
2004-12-21 15:47:14 +00:00
foobar
b6823b673e
- Fixed bug #28248 (Can not compile --with-sybase and freetds)
2004-12-21 06:57:01 +00:00
Magnus M��tt�
774a978ea9
Fix test so it doesn't hang make test on HP-UX.
2004-12-21 04:34:22 +00:00
foobar
b8056095c6
- Fixed bug #31145 (configure is using -lcpdf instead of -lcpdfm)
2004-12-21 04:21:43 +00:00
Wez Furlong
0a42a1f422
Errr... fix leak
2004-12-21 00:37:01 +00:00
Georg Richter
5c50f0bb30
prevent type conversion during mysql_stmt_execute for NULL variables
2004-12-20 16:39:14 +00:00
Ilia Alshanetsky
ec83570232
Fixed bug #31103 (Better error message when c-client cannot be found).
2004-12-19 18:16:50 +00:00
Derick Rethans
13c2cbb515
- MF43: Fixed bug #31072 (var_export() does not output an array element with an
...
empty string key). (Derick)
2004-12-17 14:40:39 +00:00
Rob Richards
b462fc8bd2
Fixed bug #31139 (XML Parser Functions seem to drop & when parsing)
2004-12-17 12:20:50 +00:00
Ilia Alshanetsky
77c0395968
Fixed bug #31087 (broken php_url_encode_hash macro).
2004-12-16 22:39:39 +00:00
Frank M. Kromann
4f8973fcdc
Fix #31120 and #31135 . mssql_query returns false on successfill inserts and stored procedures
2004-12-16 21:47:23 +00:00
Antony Dovgal
33c24b5436
fix leak (init array only if we got valid start key)
2004-12-16 19:13:58 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Frank M. Kromann
7800086169
Adding missing zend_list_addref() and make SWFShape::drawArc() work
2004-12-15 18:01:31 +00:00
Ilia Alshanetsky
cc17322c14
MFB: test fix.
2004-12-14 17:43:53 +00:00
Dmitry Stogov
b20a007aa0
Fixed build with custom libming
2004-12-14 16:15:58 +00:00
Dmitry Stogov
860754f0f9
Fixed build on linux-glibc21-i386
2004-12-14 14:01:06 +00:00
Dmitry Stogov
3f0c2347ff
Fixed bug #30994 (SOAP server unable to handle request with references).
2004-12-14 13:58:57 +00:00
Ilia Alshanetsky
6d7cac7731
Fixed bug #28228 (NULL decimal separator is not being handled correctly).
2004-12-14 00:37:19 +00:00
Wez Furlong
419bbffeef
Make it really build...
2004-12-13 13:52:01 +00:00
Joe Orton
7263c220dd
More PHP_LIBDIR fixes for lib64 platforms.
2004-12-13 10:30:21 +00:00
Wez Furlong
d213b67cdf
Add missing constants for socketpair().
...
I thought I had included these...
Good catch Nuno :)
2004-12-12 23:21:53 +00:00
Wez Furlong
d10b86f8f4
Add stream_socket_pair(), a streams based version of socketpair().
...
Modified patch from Vincent [six at t0x dot net]
2004-12-12 16:10:35 +00:00
Ilia Alshanetsky
c96a1e0ddf
Fixed bug #31056 (php_std_date() returns invalid formatted date if
...
y2k_compliance is On).
# will MFH to 5.0.X and 4.3.X after release
2004-12-12 15:50:06 +00:00
Antony Dovgal
01b996b98b
fix buffer overrun & segfault in get_meta_tags() when there is no tag value
2004-12-10 10:30:01 +00:00
Ilia Alshanetsky
5484568c5c
Avoid causing a crash.
2004-12-10 00:36:51 +00:00
Antony Dovgal
ad76be844b
CS changes (as suggested by Ilia)
2004-12-09 17:15:52 +00:00
Antony Dovgal
5dbe3f6f4f
fix 1-byte leak
2004-12-09 15:07:56 +00:00
Antony Dovgal
e76824c91f
fix segfault in session_module_name() when session.save_handler is empty
2004-12-09 14:14:21 +00:00
Antony Dovgal
01f31dcccb
fix buffer overrun and remove debug printf() call
2004-12-09 08:22:06 +00:00
Frank M. Kromann
49f88bc05a
Fix logic for file checking. Bug #31019
2004-12-08 18:57:48 +00:00
foobar
4366854783
Fix build. This was not supposed to halt configure if test fails.
2004-12-08 06:46:34 +00:00
Brad House
ab6faef7ee
Newer versions of libmonetra broke compatability with one function. Make workaround that detects version, and works with both.
2004-12-08 03:02:34 +00:00
Dmitry Stogov
a22fa4d109
Fixed crash in phpinfo() after graceful Apache restart.
2004-12-07 18:02:25 +00:00
Dmitry Stogov
ca3c82bbb5
Fixed bug #30928 (When Using WSDL, SoapServer doesn't handle private or protected properties)
2004-12-07 17:29:42 +00:00
Antony Dovgal
0582a631fe
fix leak
2004-12-07 16:54:25 +00:00
Ilia Alshanetsky
d0cbaa911f
Fixed bug #30995 (snmp extension does not build with net-snmp 5.2).
2004-12-07 00:33:24 +00:00
Ilia Alshanetsky
6883a3f09c
Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag).
2004-12-06 23:30:37 +00:00
Derick Rethans
48b118968f
- MF43: Install the iconv extension headers to <installpath>/ext/iconv so that
...
external extensions can use them.
2004-12-06 20:39:20 +00:00
Ilia Alshanetsky
2980ab0cdc
MFB: revert
2004-12-06 19:46:23 +00:00
Georg Richter
f0f08ec32b
fixed windows compile errors (Thx to Sebastian Bergmann)
2004-12-06 05:15:03 +00:00
Rob Richards
cb72e23c14
add optional parameter to pass libxml document load options
2004-12-05 12:02:35 +00:00
Rob Richards
4cea708b21
define options that can be used when loading documents
2004-12-05 11:59:46 +00:00
Rob Richards
28076f78ed
add test
2004-12-04 11:40:10 +00:00
Rob Richards
25554b8118
Fixed bug #28817 (Var problem when extending domDocument). (Georg)
2004-12-04 11:39:34 +00:00
Georg Richter
6d27573ec2
added skipif section
2004-12-04 08:50:33 +00:00
Georg Richter
9751d9afaa
Fixed bug #30890 (testsuite)
...
Fixed bug #28817 (property problems in extended class)
2004-12-04 08:16:04 +00:00
Antony Dovgal
b6b8bf0010
fix array_walk_recursive() so it doesn't reuse cached fci between calls
...
and add test for it
2004-12-03 17:43:23 +00:00
Stefan Esser
9a18fb197d
Handle already existing elements correctly
2004-12-03 16:02:48 +00:00
Georg Richter
30dd61abb7
Fixed bug #30967 (properties in extended mysqli classes don't work)
2004-12-03 07:56:19 +00:00
Ilia Alshanetsky
e99526eb7e
Fixed bug #30962 (mssql returns space for NULL columns).
2004-12-03 02:26:04 +00:00
Antony Dovgal
ccc6462cc5
revert my previous patch as it breaks more than fixes
2004-12-02 16:35:02 +00:00
Antony Dovgal
ed5638bf77
fix tests
2004-12-02 16:33:36 +00:00
Stefan Esser
1094a0d243
Beware of negative indices
2004-12-01 22:42:00 +00:00
Dmitry Stogov
a1c85ca6f2
Fixed bug #30329 (Error Fetching http body, No Content-Length, connection closed or chunked data).
2004-12-01 18:22:40 +00:00
Dmitry Stogov
5b074c048d
Port 443 is default for https, so we shouldn't put it into Host:
2004-12-01 17:33:32 +00:00
Dmitry Stogov
ec4b6f713d
Fixed bug #30359 (SOAP client requests have no port in "Host" field ).
2004-12-01 16:59:48 +00:00
Ilia Alshanetsky
349c134061
Fixed bug #30945 (make ctype_* functions return FALSE on empty strings).
...
Slight performance improvement of multi-byte string checking via ctype_*.
2004-11-30 16:55:55 +00:00
Ilia Alshanetsky
46745e31ed
This test is conditional on the libTidy library. On some configurations
...
tidy crashes due to a bug in the lib.
2004-11-30 00:01:30 +00:00
Derick Rethans
b6f9b5c693
- Added testcase for bug #30695
2004-11-29 10:15:03 +00:00
Sergey Kartashoff
1907f0ab8b
- MnoGoSearch extension updated to fix compilation issues with
...
mnogosearch-3.2.25+
2004-11-28 20:03:05 +00:00
Antony Dovgal
dbc0bb7514
fix #29954 (array_reduce segfaults when initial value is array)
2004-11-28 17:03:45 +00:00
Stefan Esser
6d98fc38b5
Fixed: removed possible integer over-/underflows
2004-11-28 12:44:28 +00:00
Ilia Alshanetsky
9379801c9a
Improve offset check inside shmop_write().
2004-11-27 18:17:58 +00:00
Stanislav Malyshev
808d9b035f
'l' is long - int won't work on 64-bit
2004-11-26 13:17:30 +00:00
Ilia Alshanetsky
5796326d5a
CS
2004-11-25 23:44:20 +00:00
Ilia Alshanetsky
07db7765a1
Fixed compilation when PHP is built in separate directory.
2004-11-24 23:12:18 +00:00
Marcus Boerger
520097b065
- Fix Bug #30856 (ReflectionClass::getStaticProperties segfaults)
2004-11-24 19:56:54 +00:00
Marcus Boerger
4ab537fc61
- Add new test
2004-11-24 19:56:25 +00:00
Dmitry Stogov
5ece0ecdfb
Test was fixed.
2004-11-23 17:21:33 +00:00
Derick Rethans
9b9ae8ee70
- We need to install the headers too.
2004-11-23 13:05:24 +00:00
Edin Kadribasic
6d23aae34e
Only dllexport during the compilation of iconv.c
2004-11-23 12:04:07 +00:00
Derick Rethans
ce022d2723
- Export "php_iconv_string()".
2004-11-23 09:44:54 +00:00
Derick Rethans
a6ded1178e
- Added test for bug #28599
2004-11-23 09:40:07 +00:00
Ilia Alshanetsky
0e138423d4
Fixed compile warning.
2004-11-22 23:29:59 +00:00
Frank M. Kromann
b38b068302
Adding fbsql_set_characterset.
...
Change PHP_INI_USER to PHP_INI_ALL on fbsql.batchsize
2004-11-22 22:40:21 +00:00
Andi Gutmans
7c3eaef39d
- Don't reuse Oracle connections in multi-threaded environments until
...
- we decide to either not support ZTS connection pooling (kind of
- pointless as PHP isn't stable in ZTS mode) or fix the 100% reproducable
- crash bug on oci_connect() under Windows most probably due to this
- problem.
2004-11-22 21:44:42 +00:00
Frank M. Kromann
82cd4789a7
Fix #30860 configure fails when tds is compiled as shared
2004-11-22 19:41:43 +00:00
Dmitry Stogov
139933fe59
Test was fixed.
2004-11-22 17:43:03 +00:00
Dmitry Stogov
107da542ae
Skip condition was fixed.
2004-11-22 15:15:50 +00:00
Dmitry Stogov
c6fad655a0
Tests were fixed.
2004-11-22 15:12:32 +00:00
Ilia Alshanetsky
496031df78
emalloc -> safe_emalloc.
2004-11-21 20:43:10 +00:00
Rob Richards
a7cd9768d1
internal entities get expanded if no default handler but cdata handler exists
2004-11-21 14:25:15 +00:00
Antony Dovgal
39b25e4f3d
fix yet another typo
2004-11-21 13:35:32 +00:00
Antony Dovgal
d9dd604ae7
fix typo (bug #30857 )
2004-11-21 13:33:20 +00:00
Andi Gutmans
737568997b
*** empty log message ***
2004-11-21 06:17:32 +00:00
Pierre Joye
f3b74fe9ac
- Attempt to fix #28598 , bug introduced in GD (around php 4.3.4)
...
The way they fix MS Symbol are wrong, multiple faces support hould added
later, safer.
Please test it with your weird fonts, if it works, MFH will be done.
2004-11-20 13:09:45 +00:00
Rob Richards
8f32b61acb
fix crash when calling com methods
...
- due to change in Zend
2004-11-20 11:40:49 +00:00
Antony Dovgal
2a588879ef
fix bug #30587 (array_multisort doesn't separate zvals before changing them)
2004-11-19 16:55:37 +00:00
Rob Richards
83a6b8c762
Fixed bug #30061 (xml_set_start_namespace_decl_handler not called)
...
hopefully resolve a bunch of entity issues
2004-11-18 19:59:23 +00:00
Rob Richards
b87d8cdfd0
prototype fixes (Jakub Vrána)
2004-11-18 19:54:30 +00:00
Rob Richards
1e0212ef8e
Fixed bug #30832 ("!" stripped off comments in xml parser)
...
reset sax->initialized flag when not using SAX2
2004-11-18 18:26:13 +00:00
Rob Richards
2496f4f882
fix SAX2 handling to work with libxml 2.6.16
2004-11-18 16:36:00 +00:00
Rob Richards
bd8aba8c8d
fix typo so it compiles
2004-11-18 16:35:04 +00:00
Ilia Alshanetsky
54ff6af758
Gracefully handle allocation failure.
2004-11-17 23:42:14 +00:00
Pierre Joye
32ff83e4da
- Really fix imagefill, part of my previous (old) fix was not applied
...
(blame me), bak the alphablending and restore it on exit
2004-11-17 20:19:35 +00:00
Pierre Joye
d9f08cb7ce
- MFB: fix #30739 , imagefill did not set back alphablending mode
2004-11-17 17:21:22 +00:00
Dmitry Stogov
6bb5705619
namespace was renamed
2004-11-17 06:18:18 +00:00
Ilia Alshanetsky
df4911561b
Fixed possible usage of un-initialized variable.
2004-11-16 21:04:10 +00:00
Dmitry Stogov
62ce05fb49
indentation fixed.
2004-11-16 13:51:09 +00:00
Dmitry Stogov
94a372b992
Fixed bug #30799 (SoapServer doesn't handle private or protected properties)
2004-11-16 13:04:39 +00:00
Dmitry Stogov
a9a5dbd9b8
Class mapping was implemented (Bug #29385 Soapserver always uses std class).
2004-11-16 12:07:32 +00:00
Ilia Alshanetsky
a04722b1b0
MFB: fixed build.
2004-11-15 23:37:05 +00:00
Frank M. Kromann
4893e3c505
Adding most of the changes suggested in #30280 . Mostly fix's for possible leaks.
2004-11-15 22:45:29 +00:00
Frank M. Kromann
11363296be
Avoid renaming of sprintf to php_sprintf
2004-11-15 21:13:25 +00:00
Sergey Kartashoff
89b2866758
# Copyright header & version info changed to PHP 5 standard notice
2004-11-15 19:03:20 +00:00
Derick Rethans
d79407f4fd
- MF5.0: Fixed bug #28599 (strtotime fails with zero base time).
2004-11-15 16:31:12 +00:00
Derick Rethans
61364b5bb1
- MFH4.3: Cleaned up some of the locale mess:
...
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
Ilia Alshanetsky
fae64ba40c
Added support for better control over FTP encryption protocols.
2004-11-14 20:00:16 +00:00
Sergey Kartashoff
acc517cd5c
- More mnogosearch-3.2.23+ compatibility
2004-11-14 18:30:40 +00:00
Marcus Boerger
95ff205e6c
- Bugix #30783 : Apache crash when using ReflectionFunction::getStaticVariables()
2004-11-14 18:01:44 +00:00
Antony Dovgal
f85a11f280
fix #30780 (tidy segfaults on 'new tidyNode;')
2004-11-14 13:33:59 +00:00
Rob Richards
db2c5275a1
Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing).
2004-11-13 14:32:44 +00:00
Frank M. Kromann
a62b69b9c5
fix ZTS builds
2004-11-12 20:32:43 +00:00
Ilia Alshanetsky
613db6ee30
Simplify and cleanup code.
2004-11-12 02:22:01 +00:00
Marcus Boerger
08cc69dbf4
- Correct exception throwing
2004-11-11 20:06:23 +00:00
Marcus Boerger
4c8bca469f
- Use exceptions now they work
2004-11-11 19:42:11 +00:00
Marcus Boerger
9c0f5e8887
- Use appropriate exception class where possible
2004-11-11 19:36:27 +00:00
Marcus Boerger
5dbb0aaa24
- Drop debug message
2004-11-11 19:31:27 +00:00
Dmitry Stogov
e370219e2a
Support for lists in non-WSDL mode was implemented
...
Support for "xsi:type" was improved
2004-11-11 09:17:10 +00:00
Antony Dovgal
d33eb14569
fix #30751 (phpinfo() shows the same ini path after reconfigure with --with-config-file-path)
2004-11-11 06:57:06 +00:00
Wez Furlong
be4778b87e
Fix leaking handle.
...
Thanks to ilya77 at gmail dot com
2004-11-10 19:47:15 +00:00
Marcus Boerger
a59551d771
- Add new tests
2004-11-10 19:22:26 +00:00
Ard Biesheuvel
bb5ce07f8c
Fixed return value of ibase_execute()
2004-11-10 11:21:50 +00:00
Ilia Alshanetsky
8992aa0bcf
Fixed possible overflow.
2004-11-10 01:43:04 +00:00
Joe Orton
20f63ecb7a
Fix --with-recode since PHP_YAZ is never defined.
2004-11-09 16:11:13 +00:00
Joe Orton
0f858fc744
Make the "rounding fuzz" check work again with gcc 3.3 and later,
...
fixing the bug24142 test.
2004-11-09 15:58:16 +00:00
Dmitry Stogov
9c5661f05d
Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob)
2004-11-09 08:13:35 +00:00
Ilia Alshanetsky
500690f235
Fixed crash inside cpdf_setdash() if called before page init.
2004-11-09 00:44:12 +00:00
Marcus Boerger
31165806f8
- Simplify construction of RecursiveIteratorIterator
2004-11-08 13:44:34 +00:00
Marcus Boerger
118d5a7d5b
- Fix constructors
...
- This fixes exceptions in spl
2004-11-08 13:42:53 +00:00
Ilia Alshanetsky
cb16f5e815
Fixed possible crash on fstat() failure.
2004-11-08 04:54:27 +00:00
Ilia Alshanetsky
92a641e5e7
Simplify and cleanup code.
2004-11-05 00:05:55 +00:00
Marcus Boerger
4b76d82fe3
- Add new test
2004-11-04 22:07:18 +00:00
Marcus Boerger
28ced40c63
Bug #30627
2004-11-04 20:13:30 +00:00
Dmitry Stogov
75c2a2e527
Fixed bug #30685 (Malformed SOAPClient http header reequest).
2004-11-04 15:30:28 +00:00
Edin Kadribasic
d2b5b62af5
MySQL is releasing client libraries that compile out of the box
...
with mysqli extension, so there is no need for a specially compiled
client library anymore.
2004-11-04 02:41:40 +00:00
Derick Rethans
59651c4e58
- Fixed bug #30630 : Added a BSD based strtod function that is
...
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Ilia Alshanetsky
9a9815a123
emalloc() failures are handled by zend engine.
2004-11-03 22:17:45 +00:00
Marcus Boerger
fcbd8c4f99
- Trying to invoke function not methot here
2004-11-03 21:18:44 +00:00
Marcus Boerger
63b288c464
- Fix invokeargs() with static methods
2004-11-03 21:11:48 +00:00
Joe Orton
2685ca935f
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
...
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Joe Orton
ee39ec7d0a
Remove unused variable.
2004-11-03 13:12:41 +00:00
Antony Dovgal
b5c1040240
fix build
2004-11-03 06:22:08 +00:00
Frank M. Kromann
6a15a50d35
oops missed a couple!
...
Add termination block to function table. This will allow the engine to stop registreting functions at the end.
This fixes the - duplicate name - warning
2004-11-03 01:20:16 +00:00
Frank M. Kromann
93da44811e
Add termination block to function table. This will allow the engine to stop registreting functions at the end.
...
This fixes the - duplicate name - warning
2004-11-03 01:16:10 +00:00
Andrey Hristov
494d665955
make sleep() return it's return value when possible
...
#on some *nix systems sleep() is implemented with SIGALRM. When SIGALRM
#interrupts sleep() it returns the number of seconds that has to be slept
#till the number of seconds wanted by the script. Sleep() on Windows is
# void.
2004-11-02 17:03:20 +00:00
Ilia Alshanetsky
8091bfb84c
MFB: Fixed bug #30658 (Ensure that temporary files created by GD are removed).
2004-11-02 16:41:41 +00:00
Ilia Alshanetsky
5f9d72c431
Fixed open_basedir & safe_mode bypass inside readlink() function.
2004-11-02 00:37:32 +00:00
Marcus Boerger
e1dfbfc695
- Don't call beginChildren/endChildren if they don't do anything
2004-11-01 23:16:43 +00:00
Marcus Boerger
533e39ecf7
- Cache function lookup
2004-11-01 23:02:10 +00:00
Marcus Boerger
3b7e24cab2
- Add RecursiveIteratorIterator::beginChildren(), endChildren()
2004-11-01 22:54:12 +00:00
Marcus Boerger
36a9455a48
- Update examples
2004-11-01 22:31:11 +00:00
Marcus Boerger
c18e248e60
- Remove doubled definition
2004-11-01 22:28:59 +00:00
Marcus Boerger
b0c2af58f7
- Add some comment
2004-11-01 21:06:42 +00:00
Marcus Boerger
2ce7bcd742
- Allow direct access to spl class entries (SPL cannot be build shared)
2004-11-01 20:57:23 +00:00
Marcus Boerger
4dbf6a530d
- Update docu
2004-11-01 18:11:39 +00:00
Marcus Boerger
07ed0872fb
- Update docu
2004-11-01 18:01:06 +00:00
Marcus Boerger
bd40510b62
- Two new exceptions
...
- Make use of new exception classes
2004-11-01 17:39:59 +00:00
Marcus Boerger
623f564abc
- Fix macro usage
2004-11-01 17:26:15 +00:00
Marcus Boerger
cae8eeba8d
- Update docu
2004-11-01 17:05:45 +00:00
Marcus Boerger
638b0515b3
- Update docu
2004-11-01 16:31:19 +00:00
Marcus Boerger
fe1909b591
- Implement basic exception classes
2004-11-01 15:50:25 +00:00
Marcus Boerger
db47e478c5
- Use new way for global variables
...
- Cache class lookup
2004-11-01 12:09:46 +00:00
Marcus Boerger
8e3a8b1e8e
- Add interface Countable (PECL #30113 )
2004-11-01 10:45:54 +00:00
Georg Richter
b557bdb665
added multi resultset support in mysql_connect
2004-11-01 09:53:16 +00:00
Georg Richter
b8863135a2
Fixed tests for empty dates (see http://bugs.mysql.com/?id=6058 )
...
Fixed memleak in mysqli_stmt_bind_result
Fixed error handling for mysqli_multi_query
2004-11-01 07:19:26 +00:00
Ilia Alshanetsky
5b95dc5faf
MFB: Fixed bug #30613 (Prevent infinite recursion in url redirection).
2004-11-01 04:55:01 +00:00
Marcus Boerger
e0196d11a4
- Do not autoload if require does the trick
2004-11-01 01:29:06 +00:00
Marcus Boerger
846666109b
- Update
2004-11-01 00:33:41 +00:00
Marcus Boerger
b9470609ad
- Minor fixes
...
- Implement AppendIterator in C
2004-11-01 00:26:59 +00:00
Marcus Boerger
9626e9859a
- Implement EmptyIterator in C
2004-10-31 20:59:39 +00:00
Marcus Boerger
b87f16bfbe
- Update docu
2004-10-31 19:51:34 +00:00
Marcus Boerger
de3a8ea3e1
- Implement InfiniteIterator in C
2004-10-31 19:49:18 +00:00
Marcus Boerger
081dac3026
- Update docu
2004-10-31 19:05:37 +00:00
Marcus Boerger
a872cb0d8d
- Aggregate inner iterator for RecursiveIteratorIterator
2004-10-31 19:05:19 +00:00
Marcus Boerger
90012aa3cc
- Implement classes IteratorIterator and NoRewindIterator in C
2004-10-31 18:43:00 +00:00
Marcus Boerger
6166a4a49d
- Update
2004-10-31 15:36:08 +00:00
Marcus Boerger
41b87ab486
- Add ReflectionFunction::invokeArgs(array)
...
- Add ReflectionMethod::invokeArgs(obj, array)
2004-10-31 15:30:53 +00:00
Sebastian Bergmann
e1a941b486
Invokation -> Invocation
2004-10-31 10:19:53 +00:00
Marcus Boerger
9d7cba9db0
- Be consistent and use names as keys (found by johannes)
2004-10-30 19:53:25 +00:00
Marcus Boerger
0e6d7d652e
- Update to new API
2004-10-30 19:14:05 +00:00
Marcus Boerger
861bad634a
- Fix inner iterator aggregation
2004-10-30 19:12:14 +00:00
Marcus Boerger
9dcce367e0
WS (ups)
2004-10-30 14:34:43 +00:00
Marcus Boerger
e2ba10a727
strip trailing (back)slash from path
2004-10-30 14:33:25 +00:00
Marcus Boerger
8bf02ee681
- Fix protos
2004-10-30 10:18:10 +00:00
Marcus Boerger
7c4760d421
- Fix proto
2004-10-30 10:04:37 +00:00
Marcus Boerger
b67ca452c3
- Update docu
2004-10-29 20:58:58 +00:00
Marcus Boerger
208a97a221
- Implement OuterIterator in C
2004-10-29 20:12:57 +00:00
Marcus Boerger
85cae78988
- Abstract no longer valid here
2004-10-29 19:50:51 +00:00
Andi Gutmans
939a0f136e
- [PATCH] Bug fix for #29770 , but for PHP 4.3.9 (Vladimir Zidar)
2004-10-29 00:37:22 +00:00
Ilia Alshanetsky
321cd10977
Simplify code.
2004-10-28 22:22:22 +00:00
Marcus Boerger
dbd717591a
- TSRM Fix
2004-10-28 07:47:46 +00:00
Ilia Alshanetsky
23344ea427
Simplify and cleanup code.
2004-10-27 23:12:05 +00:00
Wez Furlong
c8cc96e6fe
Fix possible crash; patch by Kamesh Jayachandran
2004-10-27 11:07:26 +00:00
Wez Furlong
35b00ffdab
Synopsis:
...
PDOStatement::setFetchMode()
reset default fetch() mode for a statement to PDO_FETCH_BOTH
PDOStatement::setFetchMode(PDO_FETCH_NUM)
PDOStatement::setFetchMode(PDO_FETCH_ASSOC)
PDOStatement::setFetchMode(PDO_FETCH_BOTH)
PDOStatement::setFetchMode(PDO_FETCH_OBJ)
set default fetch() mode for a statement.
PDOStatement::setFetchMode(PDO_FETCH_COLUMN, int colno)
set default fetch() mode to retrieve colno-th column on each fetch() call.
PDOStatement::setFetchMode(PDO_FETCH_CLASS, string classname [, array ctor args])
set default fetch() mode to create an instance of classname,
calling it's ctor, passing the optional ctor args.
The names of the columns in the result set will be used as property names on
the object instance. PPP rules apply.
[NOTE: calling ctor is not yet implemented]
[TODO: this might crash PHP for persistent PDO handles]
PDOStatement::setFetchMode(PDO_FETCH_INTO, object obj)
Similar to PDO_FETCH_CLASS, except that each iteration will update the
supplied object properties.
[TODO: this might crash PHP for persistent PDO handles]
The default fetch() mode is used when no parameters are passed to
PDOStatement::fetch(). When using a statement in an iterator context,
PDOStatement::fetch() is called implicitly on each iteration.
object PDO::queryAndIterate(string sql, <PDOStatement::setFetchMode args>)
This is semantically equivalent to:
$stmt = $pdo->prepare($sql);
$stmt->execute();
$stmt->setFetchMode($args);
return $stmt;
Example/Intended usage:
/* fetch an array with numeric and string keys */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test") as $row) {
debug_zval_dump($row);
}
/* fetch the value of column 1 into $row on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_COLUMN, 1) as $row) {
debug_zval_dump($row); // string(3) "foo"
}
/* create a new instance of class Foo on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_CLASS, 'Foo') as $row) {
debug_zval_dump($row);
/*
Object(Foo)#4 (2) refcount(2){
["NAME"]=>
string(12) "foo220051429" refcount(2)
["VALUE"]=>
string(12) "bar789825748" refcount(2)
}
*/
}
etc.
2004-10-27 10:26:27 +00:00
Wez Furlong
12a678ca6a
*cough* de-bogusify driver registration.
...
(what was I smoking??)
2004-10-26 22:00:15 +00:00
Wez Furlong
0a4127a610
Fix for Bug #29418 (double free when openssl_csr_new fails).
...
Also hook up MSHUTDOWN function which appears to have never been enabled.
Patch by Kamesh Jayachandran
2004-10-26 09:24:07 +00:00
Ilia Alshanetsky
852170d740
Merge gettimeofday() based code to prevent duplication.
2004-10-25 13:28:56 +00:00
Hartmut Holzgraefe
7fc2e6ca5b
Make ldap_parse_reference() available on Windows (Bug #29492 )
2004-10-23 23:03:52 +00:00
Antony Dovgal
07f84de680
commit fixes by <mikael dot suvi at trigger dot ee>
...
(segfaults under heavy load)
2004-10-23 09:32:44 +00:00
Rob Richards
b20d2ba86c
fix windows build
2004-10-22 13:11:33 +00:00
Ilia Alshanetsky
4b947b0525
Allow gettimeofday() return a float if optional argument is specified.
2004-10-21 21:20:52 +00:00
Ilia Alshanetsky
0818faee7f
Slight optimization in str_split() when split length is the same or greater
...
then the string length.
2004-10-20 22:44:43 +00:00
Ilia Alshanetsky
c5e2e02b0a
Simplify code.
2004-10-19 22:25:15 +00:00
Anantha Kesari H Y
2559c94740
As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP
2004-10-19 08:21:24 +00:00
Georg Richter
f4f84ac9ab
Minor fix for mysqli_connect: checking socket_len for NULL Values
...
(Thx to Paul DuBois)
2004-10-19 05:14:09 +00:00
Ilia Alshanetsky
8c8fba0841
Fixed bug #30475 (curl_getinfo() may crash in some situations).
2004-10-18 22:41:24 +00:00
Ilia Alshanetsky
7d18ca4c93
Added sqlite_fetch_column_types() 3rd argument for arrays.
2004-10-14 23:19:38 +00:00
Ilia Alshanetsky
51ffc01776
Added optional offset parameter to file_get_contents().
2004-10-13 23:26:29 +00:00
Ilia Alshanetsky
2390ca71f1
MFH: Added optional offset parameter to stream_get_contents().
2004-10-12 23:25:24 +00:00
Ilia Alshanetsky
5c04e39383
Fixed bug #30362 (stream_get_line() not handling end string correctly).
2004-10-11 18:31:49 +00:00
Ilia Alshanetsky
f8a4d8a4d5
Fixed bug #30375 (cal_info() does not work without a parameter).
2004-10-11 06:39:41 +00:00
Antony Dovgal
3a5822585e
fix possible segfault
2004-10-10 15:04:21 +00:00
Antony Dovgal
b0b4b6eff2
prevent deadlocks when re-using previously established persistent connection
2004-10-10 10:54:26 +00:00
Wez Furlong
9bffcfb407
Fix crash bug.
...
# how the f*** did this work in the first place!?
2004-10-09 13:08:16 +00:00
Moriyoshi Koizumi
a86095fe07
- Fix test. I have no idea why the test was left this way.
2004-10-09 08:16:29 +00:00
Wez Furlong
b3d9c5bea6
Improve .Net support; this should reduce "failed to init .net" errors.
...
Improve error reporting while we're at it too.
2004-10-09 04:39:58 +00:00
Marcus Boerger
2ffbbb1588
Revert for now
2004-10-08 22:19:03 +00:00
Marcus Boerger
1546a578ec
- Make RecursiveFilterIterator work by using reflection
...
- Add docu
- Add new example
2004-10-08 21:49:39 +00:00
Marcus Boerger
1a7051f913
Add new example
2004-10-08 21:17:53 +00:00
Marcus Boerger
5832635b68
Use OuterIterator to simplify conversion to C code
2004-10-08 21:12:15 +00:00
Marcus Boerger
f0c9f998d3
speling
2004-10-08 19:02:00 +00:00
Rob Richards
1aa7fda66b
Fix bug #2482 (xmlwriter_start_document chrashes apache)
...
Fix other function parameters
prep for release
2004-10-08 14:54:15 +00:00
Moriyoshi Koizumi
4f247de89b
- Sync with the latest codebase (fixes bug #28220 ).
2004-10-08 14:40:46 +00:00
Moriyoshi Koizumi
756ee85bec
- Avoid doubly symbol definition. Codes in the removed file has never been
...
used anywhere.
2004-10-08 14:24:06 +00:00
Ilia Alshanetsky
2476198086
Fixed bug #30356 (str_ireplace() does not work on all strings).
2004-10-07 23:10:35 +00:00
Marcus Boerger
6349f46e38
- Added iterator_to_array() and iterator_count()
2004-10-07 23:08:19 +00:00
Rob Richards
7dced12c32
add DOMDocument xmlEncoding, xmlStandalone, xmlVersion (spec name changes)
...
add DOMText isElementContentWhitespace (spec name change)
- old props/method kept for BC.
- spec names changed when Level 3 went from Draft to Recommendation
nuke some unused code
2004-10-07 11:40:20 +00:00
Rob Richards
b0ffa2497b
fix segfault in appendXML due to libxml bug
2004-10-07 10:00:39 +00:00
Marcus Boerger
ca6558a406
- Fix Bug #30344
2004-10-06 21:23:18 +00:00
Ilia Alshanetsky
e35adfe522
Fixed bug #30027 (Possible crash inside ftp_get()).
...
# Patch by cfield at affinitysolutions dot com
2004-10-05 23:53:09 +00:00
Marcus Boerger
476013cebd
- Use ZEND_ARG_SEND_AUTOMATIC for several array functions
2004-10-05 18:37:17 +00:00
Dmitry Stogov
fb6072e10d
Fixed bug #30175 (SOAP results aren't parsed correctly)
2004-10-05 16:00:40 +00:00
Ilia Alshanetsky
5316f7bf25
Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
2004-10-04 20:42:30 +00:00
Andi Gutmans
11bcaedfc8
- Rename delete_global_variable() to zend_delete_global_variable()
2004-10-04 20:17:06 +00:00
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
...
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Marcus Boerger
bb77132391
- Add new test
2004-10-04 17:53:55 +00:00
Anantha Kesari H Y
47e4f575c2
modified to 3rd argument of fcntl to FD_CLOEXEC
2004-10-04 08:52:53 +00:00
Rob Richards
5f630e1935
add evaluate() method to support all xpath expressions
2004-10-03 09:55:29 +00:00
Rasmus Lerdorf
3d85a5d876
Slightly different fix for HEAD for the ming output method BC breaking
...
change.
2004-10-01 19:28:45 +00:00
Sebastian Bergmann
b4a5314dc3
Fugbix typo.
2004-10-01 10:35:26 +00:00
Anantha Kesari H Y
142e92bb70
NetWare specific stat structure access incorporated
2004-09-30 14:31:30 +00:00
Anantha Kesari H Y
ccbeace1ff
handled NetWare F_SETFD and stat differences
2004-09-30 14:23:51 +00:00
Antony Dovgal
0ea23249da
fix error message
2004-09-30 14:20:02 +00:00
Antony Dovgal
fcd702efe4
fix segfault when using unknown/unsupported save_handler and/or serialize_handler (bug #30282 )
2004-09-30 12:19:59 +00:00
Marcus Boerger
9d28fc6643
- CS: Use PHP_* instead of ZEND_* macros
2004-09-30 08:04:29 +00:00
Ilia Alshanetsky
c7cd1d708f
Fixed bug #30276 (Possible crash in ctype_digit on large numbers).
2004-09-30 01:22:56 +00:00
Marcus Boerger
1619178f5e
- Speling
2004-09-29 20:27:36 +00:00
Marcus Boerger
e109ab5492
- Fix docu
2004-09-29 20:25:28 +00:00
Marcus Boerger
35e78f43a1
- Add missing --SKIPIF--
2004-09-29 20:10:12 +00:00
Marcus Boerger
d748f8ecf2
- Fix tests (atm preg_match() is wrong)
2004-09-29 20:09:52 +00:00
Marcus Boerger
c9d32d9b71
- Update test
2004-09-29 19:36:30 +00:00
Anantha Kesari H Y
7387db4366
Included select.h for NetWare
2004-09-29 10:28:17 +00:00
Anantha Kesari H Y
474c53348c
removed unwanted comments, NEW_LIBC checks and NetWare specific stat structure population
2004-09-29 10:21:41 +00:00
Anantha Kesari H Y
745beb2deb
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks for NETWARE
2004-09-29 09:47:15 +00:00
Marcus Boerger
2f40d61bed
- Fix test
2004-09-29 09:43:33 +00:00
Marcus Boerger
7133858532
- Fix test by removing corrupt --SKIPIF--
2004-09-29 09:41:18 +00:00
Marcus Boerger
a898c2dd28
Fix classnames
2004-09-29 08:55:45 +00:00
Marcus Boerger
93753e19b1
Add new test
2004-09-29 08:48:16 +00:00
Anantha Kesari H Y
ec42c1432c
implemented proc_open for NETWARE
2004-09-29 06:04:36 +00:00
Sterling Hughes
8f1a327edb
Add strptime function.
2004-09-29 04:57:19 +00:00
Marcus Boerger
aa8da8daf1
- Fix warnign
2004-09-28 23:10:39 +00:00
foobar
72b2d1c9ee
MFB: - Fixed bug #30205 (Missing <unistd.h> in crypt() configure test).
2004-09-28 20:42:56 +00:00
Marcus Boerger
b907755e3c
- publish reflection_class_factory() as zend_reflection_class_factory()
2004-09-28 19:06:15 +00:00
Frank M. Kromann
81c8d3132b
Fix compilation
2004-09-28 18:38:29 +00:00
Antony Dovgal
454b9659c5
fix bug #29652 (number of FD to ocius.msb is growing)
...
many thanks to Sergei V. Rozinov <S dot Rozinov at sibron dot ru> for testing
2004-09-28 16:59:10 +00:00
Ilia Alshanetsky
183126535c
Fixed bug #30224 (Sybase date strings are sometimes not null terminated).
2004-09-28 14:07:23 +00:00
Marcus Boerger
3fec3a916b
- Make internally used properties read-only and fix default properties
2004-09-27 22:24:57 +00:00
Marcus Boerger
0e68cf3cdb
- Add new test
2004-09-27 22:23:31 +00:00
Marcus Boerger
8d587ce308
- Declare properties
2004-09-27 21:25:12 +00:00
Marcus Boerger
5ab692da02
- Add new test
2004-09-27 21:24:45 +00:00
Ilia Alshanetsky
52ee529ef4
Make test more generic.
...
# Thanks Marcus.
2004-09-27 17:52:25 +00:00
Anantha Kesari H Y
549ec65eee
removed redundant NEW_LIBC checks
2004-09-27 15:55:04 +00:00
Anantha Kesari H Y
32788092da
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks
2004-09-27 15:37:33 +00:00