Commit Graph

11565 Commits

Author SHA1 Message Date
Derick Rethans
5e1062fe7c - Back out Ilia's not-yet-ready patch. 2003-08-19 06:34:46 +00:00
Wez Furlong
9ada9e5767 fix build 2003-08-19 01:30:27 +00:00
Wez Furlong
bedccec85b Update credits
# re-ordering of some of the lines is due to case-insensitive
# win32 filesystem
2003-08-18 23:31:14 +00:00
Wez Furlong
42a8c536de 5 sir 2003-08-18 23:26:31 +00:00
Zeev Suraski
391c027da6 Get rid of PZVAL_UNLOCK() - fix untested 2003-08-18 23:13:25 +00:00
Ilia Alshanetsky
c23609efa7 Fixed paths in various tests. In certain conditions usage of partial file
paths results in test failures.
2003-08-18 22:57:49 +00:00
Zeev Suraski
ed21ddd4f3 Fix a gazillion leaks in SimpleXML. One gazillion to go ;) 2003-08-18 22:33:15 +00:00
Zeev Suraski
e404e1d0fe Fix leak - non persistent hashes cannot be used in MINIT! 2003-08-18 20:45:00 +00:00
Zeev Suraski
1fb9d4896a WTF was that doing here? :)
Fix crash
2003-08-18 11:26:12 +00:00
Ilia Alshanetsky
06da1b95db Fixed typo. 2003-08-18 11:18:41 +00:00
Ilia Alshanetsky
741014089e emalloc -> safe_emalloc 2003-08-18 04:41:48 +00:00
Ard Biesheuvel
f96efcbf90 Nuke bogus BLOB ids
# User-space BLOB id no longer contains transaction handle, so BLOB ids
# now remain valid throughout multiple transactions.
# Oh, and they look better too :-)
2003-08-18 00:14:53 +00:00
Marcus Boerger
717b5afe1d Fix warnings 2003-08-17 18:56:54 +00:00
Marcus Boerger
ae2c7b9b4f Fix warnings 2003-08-17 18:21:35 +00:00
Marcus Boerger
ddf4ad5744 Fix warning 2003-08-17 17:14:11 +00:00
Ard Biesheuvel
a4bb353f2b Simplify previous fix 2003-08-17 16:30:15 +00:00
Ard Biesheuvel
91e3344eec Test immediate BLOB inserts 2003-08-17 16:14:29 +00:00
Ard Biesheuvel
008115b9ed Fixed leak in _php_ibase_bind() 2003-08-17 16:13:52 +00:00
Marcus Boerger
0d5ee859dd Fix warnings 2003-08-17 15:43:41 +00:00
Sascha Schumann
2405caf32e kill some warnings 2003-08-17 15:04:57 +00:00
Ard Biesheuvel
e5bae36a1a Test fetching BLOBs >64k 2003-08-17 14:58:33 +00:00
Sascha Schumann
feb1ccc6b8 Use explicit rule to create parsedate.c 2003-08-17 14:16:03 +00:00
Sascha Schumann
26863c9928 Use %p to display a pointer value 2003-08-17 14:01:17 +00:00
Sascha Schumann
3a81e99c1f The first element of the array seems to store the members count
Add a cast to (long) to quiet the compiler
2003-08-17 13:59:59 +00:00
Sascha Schumann
e6b45266d2 The integer timeout is cast to a void *, passed to this function, and
cast back.

Add a cast to (long) to quiet the compiler
2003-08-17 13:57:53 +00:00
Sascha Schumann
1f722edd1c Fix sizeof(void *) > sizeof(int) issue.
n should be ptrdiff_t.
2003-08-17 13:53:57 +00:00
Ard Biesheuvel
0e69444021 Fix possible leak in _php_ibase_fetch_hash() 2003-08-17 13:16:54 +00:00
Ard Biesheuvel
1967ceeda4 Apply fix for ibase_blob_get() to ibase_fetch_*()
Apply fix for ibase_blob_add() to ibase_query()/ibase_execute()
2003-08-17 12:31:55 +00:00
Derick Rethans
fe7bb97737 - Fix the comment too 2003-08-17 11:49:18 +00:00
Derick Rethans
cd2540373f - This parser contains 17 reduce conflicts 2003-08-17 11:48:29 +00:00
David Croft
2a216c1f36 #typo 2003-08-17 09:57:21 +00:00
Derick Rethans
77729f89dd - Fixed bug #17988: strtotime fails to parse timestamp from postgresql
#- This is actually a feature request
2003-08-16 20:55:28 +00:00
Marcus Boerger
fe1a086d19 Simplify abstract method declaration 2003-08-16 20:46:22 +00:00
Marcus Boerger
c346aad91a spl_call_method returns the zval* if used 2003-08-16 20:27:29 +00:00
Ard Biesheuvel
812758b73e Fix failure on accidental fread() of 0 bytes 2003-08-16 20:04:41 +00:00
Ard Biesheuvel
841983fea0 Always fill entire buffer in ibase_blob_get() 2003-08-16 19:48:32 +00:00
Ard Biesheuvel
254f827c4b Fixed bug #18744 2003-08-16 16:09:24 +00:00
Ard Biesheuvel
6561a0546b Some general cleaning up
Some preliminary changes for extensions to array functions
2003-08-16 15:31:06 +00:00
Ard Biesheuvel
b3058675c1 Fixed bug #24224
Some general cleaning up
Some preliminary changes for extensions to array functions
2003-08-16 15:30:22 +00:00
Ard Biesheuvel
69c8bac05e Test for bug #24224 2003-08-16 15:22:36 +00:00
Marcus Boerger
0c7c8f4857 Simplify 2003-08-16 10:37:14 +00:00
Jason Greene
90289924c0 Remove all vector based functions for the following reasons:
- This solves alot of platform compatibility problems
- The possible security issue of allocating an incredibly large vector
pool is prevented
- They are of little to no benefit in a high level language
- 99% of all things done with these functions can be done using
sendto/recvfrom
2003-08-16 06:34:36 +00:00
Ard Biesheuvel
78a3fe8fca Removed ibase_num_rows()
Converted some MACRO-isms
2003-08-16 01:58:29 +00:00
Ard Biesheuvel
654aa13c76 Added comment about ibase_num_rows() 2003-08-16 00:58:24 +00:00
foobar
1ba3e3a6dc MFB 2003-08-15 18:47:23 +00:00
Ard Biesheuvel
dfbed2aa24 Added ibase_free_event_handler() 2003-08-15 16:13:51 +00:00
Andrey Hristov
e8a3e059f0 2 proto fixes (Mehdi Achour) 2003-08-15 12:08:15 +00:00
John Coggeshall
fbff369efc Updating TODO 2003-08-15 06:10:36 +00:00
Ard Biesheuvel
d348c64326 Moved TRMLS_FETCH to correct scope 2003-08-15 00:16:58 +00:00
Ard Biesheuvel
d5de1ad41c Added ibase_set_event_handler() 2003-08-15 00:06:07 +00:00
Marcus Boerger
33cae26946 Upds 2003-08-14 21:44:38 +00:00
Marcus Boerger
175c25c2a8 Add 'graphical' tree mode 2003-08-14 21:14:04 +00:00
Wez Furlong
cb7f8881ea add credits 2003-08-14 20:48:06 +00:00
Wez Furlong
61313924a4 fix .net build 2003-08-14 20:31:38 +00:00
Ilia Alshanetsky
38a98c55f7 Fixed bug #25093 (Various leaks due to non-freed queries) 2003-08-14 17:49:08 +00:00
Marcus Boerger
bf759e9609 Don't test other functionality than wddx here. 2003-08-14 17:25:05 +00:00
Wez Furlong
6df5d5ba20 Add new COM (and .Net) extension for php5.
Not yet complete, but should work for most people.
2003-08-14 16:49:56 +00:00
Ilia Alshanetsky
e6b916cb15 Fixed bug #25081 (odbc_fetch_array() may mangle numeric fields). 2003-08-14 14:36:38 +00:00
Ard Biesheuvel
970371efa2 Added ibase_wait_event() 2003-08-14 10:55:02 +00:00
Ilia Alshanetsky
b9b75991e3 Fixed bug #25084 (Make refer check not dependant on register_globals) 2003-08-14 01:30:06 +00:00
Ilia Alshanetsky
5eb23bf01e Added missing skip condition 2003-08-14 00:54:28 +00:00
Ilia Alshanetsky
64345cdd6e Fixed a possible crash due to invalid handling of assert ini options. 2003-08-14 00:37:42 +00:00
Edin Kadribasic
07ed14a907 MFB: standard location for the include files 2003-08-13 23:04:08 +00:00
Wez Furlong
1e679b02fe It's boolean, not long.
# fixes a warning under vc7
2003-08-13 22:31:22 +00:00
Vlad Krupin
a90d56f52c this comment makes no sense after the previous commit 2003-08-13 21:01:04 +00:00
Vlad Krupin
3aaff90725 changes to accomodate win32 build
# I am not sure whether reading from registry, like I do now is a good
# idea, but nobody on php-dev has offered any opinion for or against that
2003-08-13 18:59:44 +00:00
Vlad Krupin
5b6e35851d win32 build is now possible Credit is due to Jan Gehring <gehring@egotec.de> for figuring that out 2003-08-13 18:57:19 +00:00
Moriyoshi Koizumi
fd8411635e Slight improvement. Hope this will make some difference. 2003-08-13 18:21:06 +00:00
foobar
e7820af9f8 fix test 2003-08-13 10:40:28 +00:00
foobar
e86d532430 Disable the debugging to prevent the tests from failing. 2003-08-13 10:35:14 +00:00
foobar
604b06e4ca Fix the test. (this was mixed test with bug #24159) 2003-08-13 09:48:20 +00:00
Marc Boeren
c0dcd3647b Remove special-case from test for SQLite persistent connections. 2003-08-13 07:54:31 +00:00
Ard Biesheuvel
05db087834 Allow the use of EXECUTE PROCEDURE statements 2003-08-13 02:19:14 +00:00
foobar
8733d2dacb revert that, it did not fix anything 2003-08-13 01:37:31 +00:00
foobar
0ee19d47d9 Fix external builds (configure run outside srcdir) 2003-08-13 01:24:27 +00:00
Sara Golemon
cc28589156 Prevent carryover when max-min > signed int max 2003-08-13 00:49:22 +00:00
Marcus Boerger
fb1288d067 # Wez, your whish is my command 2003-08-12 21:29:28 +00:00
Marcus Boerger
ab9198e396 Bugfix #25056 2003-08-12 21:15:16 +00:00
Ard Biesheuvel
b220a551f6 .... and again 2003-08-12 18:08:13 +00:00
Ard Biesheuvel
c552c34b76 Re-commit of failed patch 2003-08-12 18:01:59 +00:00
foobar
72000ab8a5 Revert previous patch. 2003-08-12 17:41:37 +00:00
Ard Biesheuvel
b58fa703b4 Allow prepared execution of any non-query statement except CREATE DB
(fixes bug #7014)
2003-08-12 17:33:54 +00:00
Ard Biesheuvel
5a30b61eba Fixed bug #23936 (fail to select and fetch) 2003-08-12 13:19:36 +00:00
Andrey Hristov
9ac579c2c0 proto fixes(Mehdi Achour) 2003-08-12 11:37:40 +00:00
Ard Biesheuvel
dd5b49796c Added comment in code :-) 2003-08-12 11:35:26 +00:00
Ard Biesheuvel
9e445746e5 Revert ugly workaround for erroneous results of ibase_num_rows() (see comment in code) 2003-08-12 11:27:03 +00:00
Ard Biesheuvel
d6477e1b6d Fix for missing errmsg in test 005 2003-08-12 10:02:25 +00:00
Ard Biesheuvel
cba7a31245 Tiny fix 2003-08-12 09:57:57 +00:00
Ard Biesheuvel
8d34c2b4ba Changed to reflect corrected ibase_trans() behaviour 2003-08-12 09:57:17 +00:00
Ilia Alshanetsky
025c35a58b Fix compiler warnings. 2003-08-12 04:19:06 +00:00
Ard Biesheuvel
feb8bb7dfc Fix for failed tests except 005 2003-08-12 02:16:40 +00:00
foobar
b2ef50391b fix build 2003-08-12 02:11:41 +00:00
foobar
83595f1f5c fix test 2003-08-12 02:05:21 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
3652ab6032 Fixed bugs in various tests. 2003-08-12 00:44:05 +00:00
foobar
24b26ec546 Fix the test results (negative indices are not strings anymore) 2003-08-11 23:55:46 +00:00
Ilia Alshanetsky
ed40ae2650 emalloc -> safe_emalloc 2003-08-11 23:16:54 +00:00
Marcus Boerger
f77f977d0e Bugfix 21918 2003-08-11 20:14:25 +00:00
Ilia Alshanetsky
22c3346967 Fixed bug #22245 (References inside $_SESSION not being handled). 2003-08-11 19:20:44 +00:00
Andrey Hristov
6825993fcc proto fix (thanks to Mehdi Achour for notifying) 2003-08-11 11:27:27 +00:00
Masaki Fujimoto
ab9dcec292 - added script encoding support to Zend Engine 2.
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
  UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
  '--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Ilia Alshanetsky
4320c6994f Fixed bug #21957 (serialize() mangles objects with __sleep). 2003-08-11 03:22:24 +00:00
foobar
da30777de5 Simplify a bit 2003-08-11 02:32:17 +00:00
foobar
7f5dc67bb0 Fix compile warning 2003-08-11 02:03:40 +00:00
foobar
e9eb29011c Nuke unused variable 2003-08-11 01:56:43 +00:00
foobar
b5184a6fb0 Fix the compile warnings properly 2003-08-11 01:54:45 +00:00
Sara Golemon
530f502198 Collection of tests for stream_socket_(client|server)(). TCP/UDP (AF_INET & AF_INET6) and UNIX/UDG 2003-08-11 01:30:55 +00:00
foobar
ebec2bb859 Moved the RINIT(crypt) stuff into crypt() itself. 2003-08-11 00:49:19 +00:00
Ard Biesheuvel
e1accb81c0 Added myself 2003-08-11 00:49:08 +00:00
foobar
9a2a0aa5e1 - Fixed bug #25007 (rand() & mt_rand() seed RNG every call).
# Also cleaned up the code a bit with this fix.
2003-08-11 00:42:29 +00:00
Ard Biesheuvel
69252c3c77 Added ibase_num_params() and ibase_param_info()
@- Added function ibase_num_params() (Ard)
@- Added function ibase_param_info() (Ard)
2003-08-10 20:53:19 +00:00
Marcus Boerger
d2ea062ef0 Fix warnings 2003-08-10 20:39:58 +00:00
Marcus Boerger
9274d2c203 Nuke unused vars 2003-08-10 20:39:19 +00:00
Marcus Boerger
a28b0fdbb4 Nuke unused vars 2003-08-10 20:13:38 +00:00
Ard Biesheuvel
9972e05ca1 Win32 fixes 2003-08-10 17:24:51 +00:00
Ard Biesheuvel
9510d999dc Added ibase_affected_rows() and ibase_num_rows()
Fix for ibase_fetch_*() error after exhaustion of result
@- Added ibase_affected_row() (Ard)
@- Added ibase_num_rows() (Ard)
2003-08-10 16:21:26 +00:00
Marcus Boerger
74fdac04fe This is a void funtion 2003-08-10 15:05:14 +00:00
Ard Biesheuvel
b676e9533b Changed ibase_query() to free transaction resource if SQL is COMMIT or
ROLLBACK
2003-08-10 13:20:38 +00:00
Marcus Boerger
142c79d653 Add foreach/continue test 2003-08-10 13:17:02 +00:00
Ilia Alshanetsky
c6134c346c Use getenv() rather then $_ENV, the latter is not always avaliable. 2003-08-09 21:00:42 +00:00
Ilia Alshanetsky
e5b7d5ccb4 Fixed bug #24897 (inconsistent behavior of shuffle() & array_multisort()) 2003-08-09 20:49:00 +00:00
Marcus Boerger
30a68c8d84 Fix exif_thumbnail 2003-08-09 20:43:06 +00:00
Marcus Boerger
42cf1f8b97 Fix refcounting for $var = $obj[$idx] = $value; 2003-08-09 19:24:11 +00:00
foobar
a6b7a911bd Cosmetic note 2003-08-09 18:43:45 +00:00
Ilia Alshanetsky
caf80ad788 Correct test to work with later versions of GNU Aspell (more common). 2003-08-09 18:40:40 +00:00
Ilia Alshanetsky
ac41c5db23 Added/improved tests for bugs 24142, 24063, 24951, 24980 2003-08-09 16:44:33 +00:00
Ilia Alshanetsky
e49964fe99 Do not assume array contains numeric values. 2003-08-09 16:43:28 +00:00
foobar
c6f90cde63 Added missing ?> so this test can be run without run-tests 2003-08-09 15:46:36 +00:00
Derick Rethans
e491d75df3 - Fix memleak (this strndup is totally unnecessary) 2003-08-09 11:20:38 +00:00
Marcus Boerger
66b910e87c Bugfix #24142, part 2 2003-08-09 01:12:41 +00:00
Ilia Alshanetsky
a2873880f6 Fixed bug #24980 (array_reduce() uses first element as default running
total).
Fixed memory leak that can be replicated using the function example on
http://www.php.net/array_reduce
2003-08-08 23:50:36 +00:00
Ilia Alshanetsky
370ea1c82f Avoid a round() bug that occurs due to over optimization of C code by gcc.
This bug was confirmed across multiple systems with gcc 2.95.3 & 3.X+
2003-08-08 23:40:44 +00:00
Ard Biesheuvel
b1db823ad1 Changes ibase_query() to support SET TRANSACTION statements
@- Added support for SET TRANSACTION statements in ibase_query() (Ard)
2003-08-08 13:47:20 +00:00
Ilia Alshanetsky
5c6ee17a9e Fixed bug #24977 (Revert mysql_select_db optimization) 2003-08-08 13:36:28 +00:00
Ilia Alshanetsky
6f2df21136 Fixed bug #24909 (Bad random numbers with ZTS builds on Solaris) 2003-08-08 13:34:38 +00:00
Edin Kadribasic
5c9b6bf0ca It builds much better when linked to the right lib 2003-08-08 12:15:17 +00:00
Edin Kadribasic
43a69b480f Windows build file (doesn't build yet) 2003-08-08 11:55:34 +00:00
Ard Biesheuvel
870ba56375 Changed the names of some struct members for readability
Added function ibase_errcode()
@- Added function ibase_errcode() (Ard)
2003-08-08 11:04:12 +00:00
Moriyoshi Koizumi
fb02fdf306 Fix test as the "expected result" was totally pointless in the first place. 2003-08-08 10:53:54 +00:00
Moriyoshi Koizumi
de02912ef2 Fix the test which should have been fixed long ago. 2003-08-08 10:52:50 +00:00
Moriyoshi Koizumi
68120caddc Add test case for the bug 2003-08-08 10:35:53 +00:00
Moriyoshi Koizumi
5e343ad110 Eliminate redundant assignment 2003-08-08 09:51:28 +00:00
Moriyoshi Koizumi
de9d52c4e9 Real fix for the problem addressed in the last commit message. 2003-08-08 09:40:58 +00:00
Sara Golemon
1a0bd6e903 Plug leak in ftp_url_stat 2003-08-08 06:18:25 +00:00
Ard Biesheuvel
f9ad8f236e Changed _php_ibase_trans_end() to allow committing of default transaction
of a non-default link
2003-08-08 01:42:09 +00:00
Marcus Boerger
6da189d1e8 Once ago this was used 2003-08-07 22:50:46 +00:00
Marcus Boerger
0040355af8 - Reduce number of c-functions/macros involved in function invocation
- Unify names of remaining c-function/macro names
2003-08-07 22:43:01 +00:00
Marcus Boerger
47a80fee58 Switch to use zend_call_function() what shortens spl code 2003-08-07 22:19:50 +00:00
Rob Richards
6fae803c12 fix bug #24957 (var_dump of object segfaults) 2003-08-07 21:39:00 +00:00
Moriyoshi Koizumi
12ac36ca8d Move shutdown code to better place 2003-08-07 19:53:31 +00:00
Moriyoshi Koizumi
a12601456a Fix wrong behaviour under ZTS that was inconsistent with non-ZTS.
# This patch really needs MFH
2003-08-07 19:45:26 +00:00
Rob Richards
036b93c4e2 fix segfault when importing multiple documents 2003-08-07 18:38:39 +00:00
John Coggeshall
a123efb6ed Whitespace fixes. 2003-08-07 17:53:48 +00:00
Moriyoshi Koizumi
3bf0b26218 Tru64 requires TZ values be POSIX styled.
# See http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN3/0247____.HTM for detail.
2003-08-07 17:46:18 +00:00
Zeev Suraski
9db05a36a5 Remove 'proto' from internal functions 2003-08-07 16:46:11 +00:00
Zeev Suraski
23f08b9a2f fix another broken prototype 2003-08-07 16:03:17 +00:00
Zeev Suraski
2e869c7cb3 Fix prototype 2003-08-07 16:02:28 +00:00
Zeev Suraski
522bcba0a8 Fix docline 2003-08-07 15:51:05 +00:00
Ilia Alshanetsky
e06311c091 Fixed bug #24839 (& -> &amp; in php credits) 2003-08-07 15:41:24 +00:00
Ard Biesheuvel
712d7d561b Fixed crash in _php_ibase_error() after request shutdown 2003-08-07 01:00:22 +00:00
Ard Biesheuvel
fdb039dbef K&R cosmetics
# Summary of the changes in recent revisions for the NEWS file
@- Changes to Interbase extension: (Ard)
@  . Support in ibase_trans() for multiple databases
@  . New functions ibase_commit_ret() and ibase_rollback_ret(), which retain
@    the transaction context after execution
@  . Support in ibase_query() for CREATE DATABASE statements
@  . New function ibase_drop_db()
@  . New function ibase_name_result(), which assigns a name to a result for use
@    with SELECT ... FOR UPDATE statements
2003-08-07 00:00:19 +00:00
Moriyoshi Koizumi
c7a29109a8 MFB(1.142.2.22): add missing NLS entry for German. 2003-08-06 22:01:23 +00:00
John Coggeshall
a8356a0dc6 Keeping up with ZE changes to the function struct, fixed tests 2003-08-06 21:32:46 +00:00
John Coggeshall
fb2b65e5fd PEAR packaging details 2003-08-06 20:17:10 +00:00
Vlad Krupin
5636f96147 Fix for bug 23463. Dbase2 is not supported.
AFAICT, no newer versions of dbase, even those use
version byte as a bitmask will ever have it <3.
2003-08-06 19:06:24 +00:00
Ard Biesheuvel
00d42286ec Added three new user functions
ibase_{commit|rollback}_ret()
Commit or rollback a transaction without losing the transaction context.

ibase_name_result()
Assign a name to a result so {UPDATE|DELETE} ... WHERE CURRENT OF <name>
statements can be used.
2003-08-06 17:51:46 +00:00
Ard Biesheuvel
9f46081ca2 ibase_query() now returns a link resource if a CREATE DB was issued 2003-08-06 15:27:16 +00:00
Brian France
589d0f1423 MFB: added include config.h so shared extensions builds work correctly 2003-08-06 15:16:46 +00:00
Ard Biesheuvel
966663d3a0 Minor Win32 fixes/cleanups 2003-08-06 12:09:30 +00:00
John Coggeshall
4c282bee86 ZTS fixes. 2003-08-06 00:19:31 +00:00
John Coggeshall
ea72aabfe2 Fix memory leaks 2003-08-06 00:01:22 +00:00
foobar
cc011660e7 Fix the build 2003-08-05 23:50:59 +00:00
Ard Biesheuvel
3ef8d3663d Changed ibase_trans() to allow multi-DB transactions with distinct
trans_args for each connection.
2003-08-05 23:40:30 +00:00
Ilia Alshanetsky
02e0e08958 Fixed bug #18291 (escapeshellcmd() can now handle quoted arguments). 2003-08-05 20:15:53 +00:00
foobar
605619baa9 Fix CS/WS 2003-08-05 16:30:47 +00:00
foobar
c3c6f6d5d7 Adding -lcrypt here is not necessary 2003-08-05 16:30:32 +00:00
foobar
cc96ff7ffb Fix some more typos 2003-08-05 16:02:12 +00:00
Ard Biesheuvel
f98251f307 Significant changes to layout of internal data structures
in order to accomodate and carry out the following changes:
* Removal of arbitrary 'transactions-per-link' limit,
* Transactions over multiple databases.

Leak fixes in ibase_query() and ibase_execute() by replacing
emalloc() with do_alloca()

Changes to ibase_query() to enable the use of CREATE DATABASE ...

Added ibase_drop_db()
2003-08-05 13:17:16 +00:00
foobar
6d6ac93241 - Fixed bug #21611 (version_compare() does not support "p" suffix) 2003-08-05 12:34:31 +00:00
Moriyoshi Koizumi
0ff21d0370 putenv() should be put here as well. 2003-08-05 12:29:26 +00:00
foobar
96e9ed33b3 The last 4 args are by ref.. 2003-08-05 11:54:01 +00:00
foobar
22dba46f2d - Fixed bug #24936 (ext/fdf is not linked properly when compiled as shared extension). (Jani) 2003-08-05 11:17:01 +00:00
Zeev Suraski
90b29aa076 Replace fast_call_user_function() with zend_call_function() 2003-08-05 10:29:03 +00:00
Zeev Suraski
92b4013e8d Try to put an end to the endless number of call_user_function variants.
zend_call_function() now takes a structure that should contain all of the
necessary information.  If further information is necessary in the future,
then we'll be able to add it without having to introduce a new function.

As for caching - the 2nd, optional argument is a struct that can hold all
of the information that's necessary to invoke the function, including its
handler, scope and object it operates on (if any).  Note that you may only
use a cache if the arguments you provide to zend_call_function() are
identical to the ones of the last call, except for the argument and return
value information.


The recently introduced fast_call_user_function() was removed

I fixed most of the places that used fast_call_user_function() to use caching
but there are still some that need to be fixed (XML and reflection)
2003-08-05 10:24:40 +00:00
Stanislav Malyshev
97c2522128 syncronize 2003-08-05 09:23:17 +00:00
Stanislav Malyshev
d113d32314 Don't try to __sleep incomplete classes 2003-08-05 09:19:38 +00:00
Stanislav Malyshev
53bbeedc89 don't try to wakeup incomplete classes 2003-08-05 09:15:31 +00:00
Stanislav Malyshev
f9bc33e78f pass trsm via parameters 2003-08-05 09:07:49 +00:00
Stanislav Malyshev
6afa320667 fix incomplete class for ZE2 2003-08-05 09:06:02 +00:00
Marcus Boerger
1716669a27 You shall not Copy'n'Paste after midnight without checking 3 times 2003-08-04 23:21:27 +00:00
Marcus Boerger
2e945483d2 Ups 2003-08-04 23:16:45 +00:00
Marcus Boerger
d23bfc0512 Update documentation in source, reflection and docu itself, part II 2003-08-04 23:15:56 +00:00
Marcus Boerger
28dd8fcff2 Update documentation in source, reflection and docu itself 2003-08-04 23:00:57 +00:00
Marcus Boerger
b099670127 - Unset support for spl_array_access by method set($index)
- Parameter names for array interface methods
2003-08-04 21:56:05 +00:00
Marcus Boerger
c80e7329bd Fix comment 2003-08-04 20:25:41 +00:00
Marcus Boerger
91a882478f Unset support for spl_array 2003-08-04 20:17:53 +00:00
Marcus Boerger
3597704c64 Add function/method parameter reflection 2003-08-04 19:37:08 +00:00
foobar
1345027597 Fixed couple of typo(s) (which caused compile failures) 2003-08-04 14:34:54 +00:00
Zeev Suraski
2547b6f6f6 Fix bug #24652 - Sterling, do you begin to think that maybe it wasn't such
a good idea?
2003-08-04 08:38:24 +00:00
Marcus Boerger
3b4f9d7b58 Latest zend updates 2003-08-03 22:29:20 +00:00
Marcus Boerger
55f947aa13 Fix build 2003-08-03 18:55:51 +00:00
Marcus Boerger
0626fff0c1 Fix warning 2003-08-03 18:52:09 +00:00
Marcus Boerger
21503e723e Reallow build 2003-08-03 18:46:34 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Zeev Suraski
f8bbafd604 ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance

Both user and builtin functions share the same data structures.

To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:

ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
    ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
    ZEND_ARG_PASS_INFO(0)
    ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();

and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.

The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.

The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
2003-08-03 17:40:44 +00:00
Moriyoshi Koizumi
f05452fbcd Disable the test temporarily because "-d" flags in the command line doesn't
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)
2003-08-03 13:58:20 +00:00
Marcus Boerger
04c90c8738 Show interfaces 2003-08-02 14:22:18 +00:00
Marcus Boerger
54df2e14b4 Use correct macro 2003-08-02 13:49:12 +00:00
John Coggeshall
ac08f881e7 Segfault fix. 2003-08-01 09:48:06 +00:00
John Coggeshall
b724930c06 Fixed a number of memleaks and cleaned up the code a bit. 2003-08-01 09:12:35 +00:00
John Coggeshall
2fb97cdf95 Adding the tidy extension to PECL 2003-08-01 00:22:43 +00:00
foobar
88cbc175ea - Removed the unnecessary check of array_init() return value. 2003-07-31 18:28:47 +00:00
foobar
57ca69c014 Revert the fix for now 2003-07-30 21:56:45 +00:00
Ilia Alshanetsky
c7a45fc9da Fixed bug #23792 (8 bit graphics don't rotate properly)
Patch by: pajoye@php.net
2003-07-30 17:34:11 +00:00
foobar
81c5e49a68 Fix build on certain platforms which do not accept #include FOOBAR 2003-07-30 14:09:42 +00:00
Adam Dickmeiss
72aa064016 Fix yaz_record, type array to return bibliographic record part 2003-07-30 09:53:39 +00:00
Ilia Alshanetsky
4d98e9ec97 Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.

2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.

3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.
2003-07-29 18:26:34 +00:00
Rob Richards
a5a859361b increment refcount for arrays passed to xml_set_handler 2003-07-29 13:34:50 +00:00
Ilia Alshanetsky
abe2afcf6e Make pclose() respect references. 2003-07-28 14:42:42 +00:00
foobar
082f49a27b Fixed bug #24839 (missing </div>) 2003-07-28 10:44:19 +00:00
foobar
4babf66753 ws fix 2003-07-28 10:23:36 +00:00
Ilia Alshanetsky
f9cf39bd30 Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format) 2003-07-28 04:01:32 +00:00
Rob Richards
4d31aa4444 Fix bug #24801 (xml_call_handler() causes segmentation fault) 2003-07-27 20:32:55 +00:00
Rob Richards
7ba3cb8c1e remove xml debug code 2003-07-27 20:21:36 +00:00
Ilia Alshanetsky
cd4a281364 Fixed bug #24557 (make fclose() respect refcount on the resource). 2003-07-27 18:45:02 +00:00
Ilia Alshanetsky
308df2af54 Fixed bug #24827 (ob_gzhandler overrides Vary header) 2003-07-27 18:16:06 +00:00
Rob Richards
43bc2f0b6d reworking xml namespace support
add node lookupNamespaceURI and lookupPrefix
add attr isId
2003-07-27 17:57:06 +00:00
Marcus Boerger
b156ac9703 #damn 2003-07-27 17:44:20 +00:00
Marcus Boerger
dbc6519b1a In protocol version < 3 we cannot test transaction status and do unconditional ROLLBACK; 2003-07-27 17:05:56 +00:00
Marcus Boerger
f5f60e6fea Added new function pg_parameter_status() 2003-07-27 16:47:36 +00:00
Marcus Boerger
ab36d72c16 Needed function detection 2003-07-27 16:46:40 +00:00
Marcus Boerger
e5d492a3df New smart connect/shutdown for persistent connections.
Behavior for old libs/servers is "BEGIN;ROLLBACK;" in request shutdown.
For new libs a "RESET ALL;" is done in connect and "ROLLBACK;" is only done
where appropriate.
2003-07-27 16:45:10 +00:00
Rob Richards
618d6c904d doctype and namespace fix
memory leak fix
2003-07-25 17:25:50 +00:00
foobar
8e80be016e Fix typo (and debug build) 2003-07-25 12:15:33 +00:00
Ilia Alshanetsky
ee3e4f79df Removed unused variable. 2003-07-25 03:03:26 +00:00
Sara Golemon
3caa0d0aa9 Fix Bug#24784 single character search keys not respecting case sensitivity/replace count parameters. 2003-07-25 01:03:39 +00:00
Harrie Hazewinkel
4d2229d6a3 Bug 24760 fix, in which the port number when non-default is not handled
correctly and ends up as the default port. This seems to be caused by
some buffer overflow where the port number is assign zero, even though
it it is not assigned to the port variable.
FIx was reported and a fix proposed by "chuck+php at 2003 dot snew dot com"
2003-07-24 21:48:55 +00:00
Marcus Boerger
d7b37fa96b Update due to Zeev's latest engine changes 2003-07-24 20:28:15 +00:00
Rob Richards
e8a87e5430 initial xpath implementation
make dom_object generic
2003-07-24 13:18:40 +00:00
foobar
d8e5bd97c1 fix the test 2003-07-24 10:37:57 +00:00
foobar
760fe8e923 test for bug #14580 (key() not binary safe) 2003-07-24 10:13:17 +00:00
Zeev Suraski
0fe21a3a29 Fix bug #19613 2003-07-24 08:02:08 +00:00
Ilia Alshanetsky
402edee1a6 gztell() is not necessary, the return value of gzseek() represents the
new position. With zlib 1.1.4 gztell() alse returns 0 when working
on non-zlib files (test ext/zlib/tests/gzreadgzwriteplain.phpt).
2003-07-24 00:03:42 +00:00
Ilia Alshanetsky
0bd1e86d4c Fixed GLOB_ONLYDIR to work on GNU libc based system. 2003-07-23 21:41:44 +00:00
Ilia Alshanetsky
3a9e5400c6 Removed unused variables. 2003-07-23 16:54:34 +00:00
Ilia Alshanetsky
1a1826903b Fixed bug #24752 (Unhandled "uniqueidentifier" field type)
Original Patch By: s.sonnenberg[at]coolspot.de
2003-07-23 16:53:26 +00:00
Zeev Suraski
785130c09c Fix interface 2003-07-23 08:53:23 +00:00
Sebastian Bergmann
786afb48cb Fix segfault. Patch by Timm Friebe <thekid@thekid.de>. 2003-07-23 04:02:26 +00:00
Pierre Joye
dc0606f041 - Fix leak when no fill is done (ilia) 2003-07-23 00:23:21 +00:00
Pierre Joye
28bc693d3a - Remove imagepng, not used in test 2003-07-23 00:17:29 +00:00
Pierre Joye
768468257c - imagefill tests 2003-07-23 00:11:33 +00:00
Pierre Joye
74c2027573 - Fix #bug24594
Rewrite the imagefill function (non recursive, uses of connected points
  algorithm)
2003-07-23 00:08:57 +00:00
Marcus Boerger
7a85edd370 Added pg_version() which returns an associative array of client/protocol/server
version.
@Added pg_version() function. (Marcus)
2003-07-22 23:05:17 +00:00
Marcus Boerger
ec9ae45e2f Add reson 2003-07-22 23:01:24 +00:00
Marcus Boerger
bc90ce7818 The value might be a null pointer 2003-07-22 22:05:46 +00:00
Marcus Boerger
dd781dcdc9 Postgres decision on this 2003-07-22 21:12:32 +00:00
Zeev Suraski
0a49c033d0 - Use the new infrastructure of zend_symtable_*() (fixes bug #24565)
- Fix bogus use of get_current_key()
2003-07-22 16:08:50 +00:00
Ilia Alshanetsky
5fcff2d872 * Fixed bug #24535 (Crash when retrieving data from unbuffered result after
the original connection has been changed).
* Fixed a crash when trying to fetch an unbuffered result after
mysql_close() has been called.
* Added a check to make sure no unbuffered results are inside the buffer
when calling functions that internally execute a query. Affected functions
are: mysql_select_db(), mysql_list_dbs(), mysql_list_tables(),
mysql_list_processes(), mysql_list_fields(), mysql_stat() and mysql_ping().
* Do not re-select a database if the database to be selected is the same.
2003-07-22 16:05:32 +00:00
Zeev Suraski
6c24e1577c API update 2003-07-22 13:50:00 +00:00
Edin Kadribasic
ccff468774 MFB 2003-07-22 12:36:59 +00:00
Thies C. Arntzen
eef52f549f @ - Added optional Parameter to OCIWriteTemporaryLob which allows to
@   specify the type of LOB you want to be written (OCI_TEMP_CLOB, OCI_TEMP_BLOB)
@   (Patch by Novicky Marek <novicky@aarongroup.cz>) (Thies)
2003-07-22 10:38:34 +00:00
Jason Greene
7eea6525a7 Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second
Patch submitted from meebery@php.net
2003-07-22 07:20:55 +00:00
Sascha Schumann
5978734f30 MFB proper fix for #24592 2003-07-22 01:11:07 +00:00
Ilia Alshanetsky
f9a8fc0c09 Fixed bug #24592 (Possible crash in session extnsion, with NULL values) 2003-07-21 21:47:52 +00:00
Marcus Boerger
6175f0a4c9 Reset vars when reusing a persistent connection as requested from postgres developers 2003-07-21 20:53:00 +00:00
Marcus Boerger
c89ade3b66 Go without #24499 hint sneaked in by accident 2003-07-21 20:49:47 +00:00
Ilia Alshanetsky
7825a1864c Fixed bug #24560 (parse_url() incorrectly handling certain file:// based
schemas).
2003-07-21 13:36:23 +00:00
Marcus Boerger
db86597e88 Add test for bug #24499 2003-07-20 20:27:43 +00:00
George Schlossnagle
600f72f7b4 should nt here 2003-07-20 20:16:07 +00:00
Marcus Boerger
cfe2eda4f6 Fix warnings and whitespace in output 2003-07-20 19:57:02 +00:00
Marcus Boerger
23da3057b9 Add support for instances in Reflection_Class.
# Thanks to Timm for the fast patch contained reply to my help request :-)))
2003-07-20 18:58:34 +00:00
George Schlossnagle
7c7de5eb3c removed references to smart_str, replaced with private string management
function.  When snprintf is integrated into the engine, string_printf
should be altered to use that.
2003-07-20 18:45:40 +00:00
Marcus Boerger
08f725fa24 Remove this then, too 2003-07-20 18:05:03 +00:00
Marcus Boerger
7dd6f48f45 SQLite objects are not cloneable. Maybe we allow this later for sqlite_db. 2003-07-20 18:00:54 +00:00
Marcus Boerger
c766e9a503 Use only one line per error message and don't terminate with a dot as everywhere else. 2003-07-20 16:00:40 +00:00
George Schlossnagle
84f5e4870e more of Timm's implementation. 2003-07-20 15:42:42 +00:00
Marcus Boerger
8a2e76d72c Update docu 2003-07-20 12:30:05 +00:00
foobar
afdc3e9530 Missing headers 2003-07-20 10:53:22 +00:00
Marcus Boerger
a68cb5129c - Add class spl_array_it which is the iterator returned by spl_array.
This class can also be used alone without spl_array but doesn't allow
  recursive foreach usage.
- Fix protos to new proto system.
- Add test for spl_array_it.
2003-07-20 01:22:03 +00:00
Marcus Boerger
c038d88769 Add test for class spl_array 2003-07-19 21:04:16 +00:00
Marcus Boerger
173cb1436f Add class spl_array which is an array wrapper 2003-07-19 20:54:22 +00:00
Andrey Hristov
5fcc682ebc proto fixes 2003-07-19 19:23:34 +00:00
Andrey Hristov
71990112b7 Id tag added.
Proto fixes
2003-07-19 19:11:01 +00:00
Marcus Boerger
b1f96b77fb Revert stuid patch 2003-07-19 19:04:35 +00:00
Marcus Boerger
9efcbe1e75 Fix clone 2003-07-19 18:53:10 +00:00
Andrey Hristov
a76745a6a2 Id tag added 2003-07-19 18:52:49 +00:00
Andrey Hristov
66bcb6529b Id tags added 2003-07-19 18:32:04 +00:00
Rob Richards
d85845a64b fix for Bug #24715 segfault in dom_document_create_element
removed xmlmemorydump debug code
2003-07-19 14:59:29 +00:00
foobar
82af3ff733 OS_UNIX/OS_WIN are set in the bundled libsqlite sources. 2003-07-19 12:44:46 +00:00
Sebastian Bergmann
aeefb55a6a Cleanup, as suggested by Andi. 2003-07-19 11:00:17 +00:00
Marcus Boerger
59d6d4ab18 Move filter functionality to dedicated function 2003-07-19 09:50:18 +00:00
Marcus Boerger
2432baee40 Add clone support 2003-07-19 09:49:28 +00:00
Rob Richards
1344b5d9b9 fix invalid node pointers 2003-07-18 12:41:35 +00:00
Sascha Schumann
94756ffb8b Add short notice regarding unbundled client lib 2003-07-18 09:53:04 +00:00
Sergey Kartashoff
936b36ce4a - UDM_PARAM_SORT_ORDER has been added in Udm_Set_Agent_Param while
using with mnogosearch-3.2.14+ to set order of search results.
2003-07-18 09:14:25 +00:00
Sergey Kartashoff
76a6eae91a - Coredump in Udm_Find was fixed. 2003-07-18 08:37:18 +00:00
Georg Richter
13966fdf3e added new functions:
mysqli_connect_error
  mysqli_connect_errno

  which return possible errors for the last connect
2003-07-18 06:17:39 +00:00
Marcus Boerger
7f1cf60331 Remove bogus comment (noticed by Zak) 2003-07-16 22:55:02 +00:00
Marcus Boerger
d8943e513c Update examples 2003-07-16 21:52:03 +00:00
Marcus Boerger
a86eff2162 Fix handling of empty settings 2003-07-16 20:53:17 +00:00