Commit Graph

14189 Commits

Author SHA1 Message Date
Anantha Kesari H Y
293ab565b5 removing unwanted inclusion of socket header file 2004-09-25 15:33:57 +00:00
Anantha Kesari H Y
80a4042a5c removed NEW_LIBC checks in NETWARE 2004-09-25 15:30:26 +00:00
Marcus Boerger
16f30e1951 - Fix lib substitution (rurban at x-ray dot at ) 2004-09-25 15:29:19 +00:00
Anantha Kesari H Y
7d57757a8a removed redundant NEW_LIBC checks 2004-09-25 15:26:55 +00:00
Anantha Kesari H Y
6692794433 removed redundance LIBC checks for NETWARE 2004-09-25 15:23:35 +00:00
Anantha Kesari H Y
78ecac2569 removed unwanted NEW_LIBC checks as they are no more needed for NETAWRE 2004-09-25 14:54:41 +00:00
Anantha Kesari H Y
146cb29054 removing unwanted header files getting included 2004-09-25 14:48:44 +00:00
Anantha Kesari H Y
bc90ecb7e2 removed unwanted NEW_LIBC checks 2004-09-25 14:46:24 +00:00
Anantha Kesari H Y
c4b57bc16b Now NetWare LibC supports proper stat structure no need of CLIB_STAT_PATCH and all such checks 2004-09-25 14:23:32 +00:00
Anantha Kesari H Y
595268403a removed the redundant NEW_LIBC checks 2004-09-25 14:19:38 +00:00
Anantha Kesari H Y
00760e1343 removed the redundant NEW_LIBC checks 2004-09-25 14:09:45 +00:00
Anantha Kesari H Y
24437ccb75 cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare 2004-09-25 13:19:45 +00:00
Wez Furlong
2416481fd1 More sensible error codes in the exceptions we throw for broken transactions 2004-09-24 18:49:33 +00:00
Ilia Alshanetsky
1fc2b79172 Make handle error messages handle persistent situations better. 2004-09-23 21:15:51 +00:00
Ilia Alshanetsky
626caf0292 Make error messages handle persistent environments properly. 2004-09-23 21:03:41 +00:00
Wez Furlong
72040f7f2a more method table adjustments.
mysql driver needs work with the error message stuff.
Other drivers need a bit more auditing...
2004-09-23 20:43:11 +00:00
Wez Furlong
b42c14f07e placeholder for someone to implement a ping for persistent connections 2004-09-23 20:20:23 +00:00
Wez Furlong
53ed3475ce add entry for liveness check 2004-09-23 20:09:00 +00:00
Wez Furlong
7937f0a229 Implement persistent connections
$dbh->exec --> $dbh->query
2004-09-23 20:07:02 +00:00
Marcus Boerger
2e49a2d960 Add test description 2004-09-23 18:43:21 +00:00
Marcus Boerger
c0b62ca36d Add new test 2004-09-23 18:38:34 +00:00
Marcus Boerger
e13eb1d6c0 Bugfix # 30209 2004-09-23 18:37:53 +00:00
Dmitry Stogov
b027850ba4 Fixed bug #30182 (SOAP module processing WSDL file dumps core). 2004-09-22 05:58:40 +00:00
Frank M. Kromann
62fbbd1494 Fix win32 build 2004-09-21 18:09:29 +00:00
Wez Furlong
31a17d9044 Enable hypot for all 2004-09-20 22:08:06 +00:00
Edin Kadribasic
3da64fa20a Add additional include search path 2004-09-20 21:26:24 +00:00
Ilia Alshanetsky
4af4cf0914 Fixed bug #29913 (parse_url() is now binary safe). 2004-09-20 05:13:35 +00:00
Wez Furlong
9ce9605723 Use the correct free() here... 2004-09-19 22:20:55 +00:00
Wez Furlong
eb5e0d6d12 Add package.xml
(not quite ready for release)
2004-09-19 19:50:06 +00:00
Wez Furlong
ceb551024a Add support for:
$d = new PDO('foobar');  // name has no : character

This will indirect via the entry "pdo.dsn.foobar" from the php.ini file,
so if you have:

pdo.dsn.foobar=sqlite::memory:

the above is equivalent to this:

$d = new PDO('sqlite::memory:');

which creates an in-memory sqlite db.
2004-09-19 19:28:02 +00:00
Wez Furlong
f40608230b Use NO_PERM code here 2004-09-19 18:13:09 +00:00
Wez Furlong
797303d23a un-bogusify uri: stuff... 2004-09-19 18:11:27 +00:00
Wez Furlong
34d10931e2 Add "no permission" error code.
Add a uri: psuedo driver; it specifies the name of a resource that contains,
as its first line, the actual data source to connect to.
The resource can be a local file, or it can be any resource for which PHP
has a wrapper.

// loads connection data from the file "myapp"
$d = new PDO('uri:myapp');

// lets say that public.db.com has a read-only db open for the public
// their connection data is also published via the web:
// (not so great to resolve this on each request though...)
$d = new PDO('uri:http://public.db.com/pdo-connection-data');
2004-09-19 16:58:13 +00:00
Wez Furlong
6fa469f367 make it build on win32 2004-09-19 15:47:13 +00:00
Wez Furlong
0d4869f24b Add transaction support.
Add authorizer/safe_mode support
2004-09-19 12:42:39 +00:00
Marcus Boerger
d0cfb7d3fd Bugfix #30146 (ReflectionProperty->getValue() requires instance for static property) 2004-09-19 11:54:08 +00:00
Marcus Boerger
dfe23e34d9 Add new test 2004-09-19 11:53:30 +00:00
Marcus Boerger
980424a834 Add new test 2004-09-19 11:26:05 +00:00
Marcus Boerger
43d9ade92b Bugfix #30148 (ReflectionMethod->isConstructor() fails for inherited classes) 2004-09-19 11:25:39 +00:00
Wez Furlong
2f161ab79d First cut at a PDO driver for SQLite 3.x
Features:
- native prepare/execute and bound parameters.
- finally supports binary data (via bound parameter api)
- full unicode/utf-8 support

Missing:
- UDF functions
- authorizer hooks for safe_mode/open_basedir restrictions

You need to download, compile and install sqlite3 yourself; we're not bundling
it (at least, not yet).
2004-09-19 10:55:41 +00:00
Wez Furlong
99e290f882 Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Wez Furlong
9085689d6f standardize the callback support to allow array($obj, 'method') callbacks.
Add a couple of utility functions.
2004-09-17 11:26:43 +00:00
Dmitry Stogov
7a149080d8 Fixed crash with SoapFault and register_shutdown_function(). 2004-09-16 08:12:27 +00:00
Dmitry Stogov
37a66d6d3b Fixed invalid test name 2004-09-15 14:36:59 +00:00
foobar
36a76f403a Test for bug #30069 2004-09-15 13:54:16 +00:00
Derick Rethans
7795da58e6 - Added new boolean (fourth) parameter to array_slice() that turns on the
preservation of keys in the returned array.
2004-09-15 11:50:27 +00:00
Dmitry Stogov
2a63e78eed Fixed possible crash 2004-09-15 10:43:07 +00:00
Ilia Alshanetsky
6784176b9c Fixed compiler warnings. 2004-09-14 23:57:53 +00:00
Dmitry Stogov
ffc2278d6e Fixed bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests) 2004-09-14 12:15:30 +00:00
Sara Golemon
34550382d8 Added stream_filter_remove() to cancel a stream filter.
Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()
2004-09-14 03:48:17 +00:00