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
Anantha Kesari H Y
09d305c1ff
removed redundant NEW_LIBC checks
2004-09-27 14:51:17 +00:00
Anantha Kesari H Y
5da74deab9
removed unwanted NEW_LIBC checks
2004-09-27 14:29:55 +00:00
Anantha Kesari H Y
e12ea3c30d
removed redundant NEW_LIBC check
2004-09-27 14:25:13 +00:00
Anantha Kesari H Y
e510e26aa6
removed unwanted NEW_LIBC checks and comments
2004-09-27 14:19:07 +00:00
Marcus Boerger
9291a7fa98
Fix Reflection_Class to ReflectionClass in docu/messages
2004-09-27 09:11:40 +00:00
Marcus Boerger
04fe8184f8
- Fix warnings
2004-09-27 09:01:18 +00:00
Marcus Boerger
32a0465214
- Fix warning
2004-09-26 22:23:14 +00:00
Marcus Boerger
cc7ef25e4a
fix build
2004-09-26 22:20:24 +00:00
Marcus Boerger
32e478b9fc
- Add fputcsv() (David Sklar)
2004-09-26 21:55:22 +00:00
Marcus Boerger
881c2f05f5
- Earlier detection of failure (.c now)
2004-09-26 21:49:16 +00:00
Marcus Boerger
abe47301c1
- Earlier detection of failure
2004-09-26 21:47:27 +00:00
Marcus Boerger
ace462334e
Fix TSRM build
2004-09-26 21:45:17 +00:00
Marcus Boerger
42bc4cd0ca
Add new examples
2004-09-26 21:21:45 +00:00
Wez Furlong
69a91aae8e
Removing clucking debug and tweak the reset call
2004-09-26 20:52:07 +00:00
Wez Furlong
e7a6eca69d
rough cut at mysql meta data
2004-09-26 20:47:03 +00:00
Wez Furlong
486b426947
meta data for sqlite3.
...
Fix repeated executes when the entire rowset has not been consumed.
2004-09-26 20:46:35 +00:00
Wez Furlong
eb0cd48d60
Add rough cut at fetching meta data.
2004-09-26 20:45:44 +00:00
Ilia Alshanetsky
d5bac133ee
Return FALSE when file cannot be found.
...
Specify full paths to the files used for the test.
2004-09-26 19:24:18 +00:00
Ilia Alshanetsky
d6501f756a
fixed test output.
2004-09-26 19:12:06 +00:00
Marcus Boerger
3cdd2bcb01
- Add more tests
2004-09-26 18:28:07 +00:00
Wez Furlong
429b37d750
compile fix from Timm
2004-09-26 13:52:09 +00:00
Wez Furlong
0c1a436917
Probable fix for Bug #30147
2004-09-25 23:13:49 +00:00
Anantha Kesari H Y
cc45f504d4
removing the unwanted inclusion of headers
2004-09-25 15:39:26 +00:00
Anantha Kesari H Y
b35e507884
removing unwanted comment
2004-09-25 15:36:47 +00:00
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
Magnus M��tt�
17c77a54bf
Add missing stream unregister for sslv2 and 3.
2004-09-13 18:30:30 +00:00
Dmitry Stogov
12752a4044
Change soap's ctors to __construct(),
...
rename SoapClient->__call() to SoapClinet->__soapCall().
2004-09-13 11:55:24 +00:00
Marcus Boerger
61bbeabdfa
- Moe changed from .re to .c
2004-09-12 12:45:01 +00:00
Marcus Boerger
8564352f59
- Readd check for nested data (but correct this time)
2004-09-12 12:43:05 +00:00
Marcus Boerger
06ade1ab1c
- Check for legal key types
2004-09-12 12:23:16 +00:00
Marcus Boerger
6200c9a5a1
- Remove wrong test
2004-09-12 11:51:13 +00:00
Antony Dovgal
e2568f0a4f
64-bit related changes
...
./configure will now behave differently if $ORACLE_HOME/lib32 exists
(this mostly happens at Solaris AFAIK)
2004-09-12 06:38:31 +00:00
Derick Rethans
4bae5cb4d0
- MFB: Added the sorting flag SORT_LOCALE_STRING to the sort() functions which
...
makes them sort based on the current locale. (Derick)
2004-09-11 14:22:35 +00:00
Sara Golemon
955b43ba12
Add stream_wrapper_unregister()
...
Disables a wrapper (user-defined or built-in) for the life of the request.
Add stream_wrapper_restore()
Restores the wrapper originally defined at the time the request started
to the protocol name mentioned.
2004-09-10 20:45:35 +00:00
Sterling Hughes
58cb0d77a0
fix wrong check from return value, binary content should not be \0'd,
...
non-binary content should be \0'd.
2004-09-10 20:36:45 +00:00
Wez Furlong
0bc0ccce2b
Fix Bug #29296 : add explicit sslv2 and sslv3 transports
2004-09-10 11:43:47 +00:00
Dmitry Stogov
f8181ba7b5
SoapClient->__call() is renamed to SoapClient->__soap_call().
2004-09-10 09:02:06 +00:00
Dmitry Stogov
f93560ddc9
Using php_libxml_xmlCheckUTF8() from ext/libxml.
2004-09-10 08:59:45 +00:00
Wez Furlong
751f67d5d1
avoid ANSI stdio when calling tempnam() to avoid limitations of AT&T libc.
2004-09-09 19:41:07 +00:00
Timm Friebe
8e5d8e6679
- Defaulted ini variable "sybct.deadlock_retry_count" to 0
...
# For details on why this was changed, see
# http://zend.com/lists/php-dev/200409/msg00108.html
2004-09-09 19:17:50 +00:00
Marcus Boerger
621795ef4b
Fix __call's method signature
2004-09-09 09:53:53 +00:00
Marcus Boerger
8e56b3b6a6
Proper #ifdef'ing
2004-09-09 09:08:33 +00:00
Marcus Boerger
b16ae3b73a
add new test
2004-09-09 07:46:19 +00:00
Sara Golemon
532a79aa52
*** empty log message ***
2004-09-08 23:37:55 +00:00
Rob Richards
da5ff5d9f1
fix issue with multiple xsl objects using registerPHPfunctions
...
- also fixes threading issue
2004-09-08 16:54:17 +00:00
Rob Richards
ccb99d0a1e
implement php_libxml_xmlCheckUTF8
...
- workaround for pre libxml2-2.6.13 function
2004-09-08 10:15:41 +00:00
Sara Golemon
92c4a37a6a
Chunk Length may optionally be followed by whitespace
2004-09-07 22:46:24 +00:00
Frank M. Kromann
aa25757136
Make it possible to return VideoStream and PrebuiltClip
2004-09-07 19:40:18 +00:00
Sara Golemon
a85bff9796
Protocol version context option and chunked transfer encoding
2004-09-07 19:27:11 +00:00
Dmitry Stogov
7e53511ec8
Make ext/soap work around libxml2 bug in xmlCheckUTF8 (2.6.7-2.6.13)
2004-09-07 14:34:46 +00:00
Rob Richards
963200c74c
Fixed bug #29945 (simplexml_load_file URL limitation 255 char)
2004-09-06 10:16:34 +00:00
Marcus Boerger
2f5990a5c4
Touch
2004-09-05 17:44:15 +00:00
Marcus Boerger
338e3357ae
- Bugfix #29985
2004-09-05 17:37:57 +00:00
Marcus Boerger
efea880e6f
- Add some checks to unserialize() to prevent bufferoverflows
2004-09-05 17:16:02 +00:00
Marcus Boerger
91af7f394f
- Add some checks when unserializing data to prevent buffer overflows
2004-09-05 16:29:05 +00:00
Andrey Hristov
945f7d68b9
remove "." at the end of messages
2004-09-05 13:27:58 +00:00
Moshe Doron
9632e324b6
make autogenerated docs happy (Friedhelm Betz)
2004-09-05 08:13:56 +00:00
Georg Richter
eb3900b77a
forgot to remove comment in last commit
2004-09-04 14:16:52 +00:00
Marcus Boerger
ef3e8fa852
- Add link to chm version
...
- Change wording
2004-09-03 18:46:29 +00:00
Marcus Boerger
d265cdffbf
- Fix protoe's
2004-09-03 18:39:30 +00:00
Marcus Boerger
4d3894178d
Update docu
2004-09-03 06:16:34 +00:00
Ilia Alshanetsky
6ad651afbe
Adjusted input check.
2004-09-03 03:35:22 +00:00
Frank M. Kromann
57f3b2504e
Adding swfvideostreamp and swfprebuiltclipp, available in ming 0.3
2004-09-02 20:56:39 +00:00
Marcus Boerger
72000ecda9
Fix memleak in serialize
2004-09-02 18:28:47 +00:00
Marcus Boerger
94c4feef12
Fix test
2004-09-02 18:24:58 +00:00
Stanislav Malyshev
dbc1cb5e92
MF4: fix crash if shutdown uses file stats
2004-09-02 09:39:55 +00:00
Georg Richter
62ed6a0f2b
fixed bug #29283
2004-09-02 04:53:01 +00:00
Ilia Alshanetsky
197d65770a
Fixed bug #29925 (Added a check to prevent illegal characters in session
...
key).
2004-09-02 02:44:04 +00:00
Marcus Boerger
1cd7013517
Add new test for seeking
2004-08-31 20:54:31 +00:00
Marcus Boerger
819127b74b
Fix seeking
2004-08-31 20:54:00 +00:00
Sara Golemon
579575e430
Use user_agent ini setting if it's available.
2004-08-31 20:11:18 +00:00
Joe Orton
0d3884fed1
Move global symbols defined by bundled copy of libgd into private
...
php_gd_* namespace, to avoid symbol conflicts with, for instance,
another Apache module which loads a different copy of libgd.
2004-08-31 16:41:29 +00:00
Antony Dovgal
fdb578219b
this file shouldn't be in the repository at all
2004-08-31 08:31:09 +00:00
Ilia Alshanetsky
142ac728dd
Added missing input validation to dio_write().
2004-08-30 22:21:09 +00:00
Frank M. Kromann
a1cf684b55
Fif for #28047 . Set correct debug options for debug_ts build
2004-08-30 19:01:58 +00:00
Rob Richards
a50166004d
remove cloning under ze1_compatibility_mode
...
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 17:29:22 +00:00
Rob Richards
02fa5aa0dc
remove cloning under ze1_compatibility_mode
...
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 15:07:20 +00:00
Rob Richards
d39cca1530
remove clone functionality
2004-08-30 14:59:30 +00:00
Ilia Alshanetsky
9996b5f731
Fixed leak when serializing protected & private properties.
2004-08-29 17:16:20 +00:00
George Schlossnagle
1901b9d90e
A little cleanup on the language refinements.
2004-08-29 13:37:10 +00:00
Jan Lehnardt
d402f6fab3
- language refinements
2004-08-29 11:54:38 +00:00
Sergey Kartashoff
505144b844
- A fix for building of shared mnogosearch module
2004-08-29 10:59:33 +00:00