Commit Graph

11189 Commits

Author SHA1 Message Date
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
Marcus Boerger
49277b2ac6 More examples 2003-07-16 20:18:33 +00:00
Marcus Boerger
1131d43b0b Update examples 2003-07-16 20:17:34 +00:00
Marcus Boerger
5e1606b882 Add tree example 2003-07-16 18:47:26 +00:00
Marcus Boerger
3a49606d9d Add directory iterator class 2003-07-16 15:13:23 +00:00
Zak Greant
8178d87d25 Created shorter/sensible key names for dbase_get_header_info
* 'decimal places' becomes 'precision'
 * 'printf format' becomes 'format'
 * 'record offset' becomes 'offset'

 BTW No docs have been committed for this function yet, nor is it part of any
 release. This change should affect no users.
2003-07-16 11:08:03 +00:00
Marcus Boerger
aa9bde9a34 Make array write stuff work again correct and fix tests 2003-07-16 10:41:43 +00:00
Marcus Boerger
15097151f4 Update and remove parts no longer possible 2003-07-16 09:48:36 +00:00
foobar
704a7e5653 - Added snmp_read_mib() which reads a MIB file into the active MIB tree. 2003-07-16 09:28:47 +00:00
Sebastian Bergmann
d2e72bc134 Add /libpath directives for zlib. 2003-07-16 08:13:14 +00:00
foobar
82701d48c2 - Fixes some problems (debug mode only). (bug #23051 and bug #23685) 2003-07-16 06:03:46 +00:00
foobar
9887afad9c Remove extra proto. (copy/paste error?) 2003-07-16 05:10:29 +00:00
foobar
6676e6f2e9 Fixed bug #22529 (object_id parameter in all snmp*() functions broken.) 2003-07-16 04:54:40 +00:00
Zak Greant
c0bd985ad9 Added function dbase_get_header_info
* Passed a handle for an open dbase database, it returns an array of
   associative arrays. Each associative array contains information on a
   single column, including name, column type, length, precision, ...
2003-07-15 18:19:51 +00:00
Hartmut Holzgraefe
b0a4e1a2d2 whitespace 2003-07-15 17:28:41 +00:00
Hartmut Holzgraefe
2f5a3b4c63 #1 $_ENV is not always set, use getenv() instead
#2 bail out after 1000 loop iterations to avoid hanging tests
2003-07-15 16:55:44 +00:00
Georg Richter
db398787e6 added new function mysqli_stmt_data_seek 2003-07-15 14:00:19 +00:00
Georg Richter
5c09a9e42f test for bind + sql_mode=PIPES_AS_CONCAT 2003-07-15 13:13:59 +00:00
Georg Richter
b6bed54bbd added support for rebind 2003-07-15 10:37:19 +00:00
Georg Richter
4457876554 additional test for multi-bind 2003-07-15 10:36:18 +00:00
foobar
94a19d1bc6 Make this test work regardless of safe_mode setting (bug #24654) 2003-07-15 07:06:42 +00:00
Edin Kadribasic
fdf3019eca MFB: fix for #24249 2003-07-14 23:23:01 +00:00
Rui Hirokawa
ac91b2dbba MFH 2003-07-14 23:09:46 +00:00
Rob Richards
e4d73c22ad fix setting new encoding 2003-07-14 21:51:28 +00:00
Harrie Hazewinkel
83063e7445 Updating the SNMP credits in ext/standard/credits_ext.h 2003-07-14 18:59:18 +00:00
Harrie Hazewinkel
ecef612862 Applying the correct format of the CREDITS. 2003-07-14 18:55:35 +00:00
Harrie Hazewinkel
68a7ce29d1 Updating the CREDITS with those who are indicated as authors in the code. 2003-07-14 18:19:34 +00:00
Harrie Hazewinkel
a8d156177f Adding an SNMP GETNEXT.
This is a basic SNMP operation that retrieves the next value as the
one provided to the command.
NOTE: snmpgetnext does not follow the official naming convetions of
functions, but now it is equal to it version 1 equivalents snmpget
and snmpset.
I also would like to reserve the snmp_getnext for a function to
which a session can be given instead of the multiple values to
create the session internally. (Work in progress).
2003-07-14 18:10:22 +00:00
Harrie Hazewinkel
fa910bd2b0 (RE applying)
Cleaning up some very old definitions of version 3.3.1 until 3.5.3.
Those versions are that old that people better upgrade the SNMP libraries.
2003-07-14 17:34:56 +00:00
Harrie Hazewinkel
6dd04c368e (RE-)Applying the contributed patch of Johan Hanne to the main tree.
The patch enables control on the way the values are returned
into the PHP script, instaed of always strings. Also the
type of the value is now returned when configured to do so.
This enables better management scripts to do more automatic
processing and value calculations.
(By default the values are returned as strings, as was before)
2003-07-14 17:11:04 +00:00
foobar
e209272db1 CS & WS fixes 2003-07-14 16:23:14 +00:00
foobar
d862a8ee90 WS fix 2003-07-14 16:11:38 +00:00
Sebastian Bergmann
83bf4599b7 ZTS fix. 2003-07-14 05:52:57 +00:00
foobar
9933944e01 Added comment 2003-07-14 03:58:31 +00:00
foobar
c2b21f7098 Move the macosx fix to proper place. 2003-07-14 03:57:57 +00:00
Stefan Roehrich
750635d131 Allow setting of the serial number. 2003-07-13 09:54:42 +00:00
Wez Furlong
78e236da26 Add sqlite_has_prev, and sqlite_prev.
Patch by Jan Lehnardt <jan@php.net>
2003-07-13 09:38:33 +00:00
Stefan Roehrich
80ee75f11e Fixed certificate version (counting begins with 0, so 2 means version 3). 2003-07-13 09:38:32 +00:00
Wez Furlong
ce2a4d9121 MFB better popen fix 2003-07-13 09:20:40 +00:00
Wez Furlong
e17043c248 Fix bug #24575 (sqlite_popen did not request a new resource id when persistent
handles were re-used within a request).
2003-07-13 08:48:43 +00:00
Rui Hirokawa
0b0962eb8e added strict encoding detection mode to fix #24309 2003-07-13 08:20:01 +00:00
Moriyoshi Koizumi
d33ffb78aa Added regression test for proc_open() 2003-07-13 08:03:46 +00:00
Rob Richards
d75618e780 implement read only exceptions
implement notation nodes
changes for spec conformance
2003-07-12 17:29:20 +00:00
Rob Richards
a04b2c8724 fix loading off of interface 2003-07-12 17:23:05 +00:00
Moriyoshi Koizumi
4b07cb98b1 Fixed bug #24556 2003-07-12 09:33:31 +00:00
Moriyoshi Koizumi
4c8230696c Add folding markers 2003-07-12 07:01:30 +00:00
Moriyoshi Koizumi
77ae01ac72 Oops, this is not needed though. 2003-07-12 06:54:03 +00:00
Moriyoshi Koizumi
cd52986a5c Fixed leaks that occurs if the third parameter already contains a valid value. 2003-07-12 06:50:32 +00:00
foobar
c751ba0cc8 Remove un-used code. 2003-07-11 15:56:23 +00:00
Rob Richards
d1c41150c6 fix compile issue - TSRMLS_FETCH is only temporary until errors handled 2003-07-11 14:19:05 +00:00
Dan Kalowsky
a1d8121bda Fix for bug #22897 2003-07-11 13:13:32 +00:00
Dan Kalowsky
bc2086b11e Patch for bug #24183 2003-07-11 13:08:45 +00:00
foobar
2deb3c224d - CS/WS fixes
- Updated CREDITS
- Added some kind of version check for ming..
- Fixed some possible BC issues.
2003-07-11 07:48:13 +00:00
foobar
5afd8cbf07 update credits. 2003-07-11 07:44:56 +00:00
Frank M. Kromann
5baaa6aee1 Allow the use of both ming 0.2a and 0.3a (API\s changed) 2003-07-11 05:55:13 +00:00
foobar
5aeedb4c88 Fixed bug #17291 (mssql_query does not update get_last_message) (patch by: mgruetzner at rw3 dot com) 2003-07-11 02:08:14 +00:00
Rob Richards
16fb3e91c0 remove global error handling - use of libxml globals is a bad thing
add domDocument properties for parsing options:
validateOnParse, resolveExternals, preserveWhiteSpace, substituteEntities
implement custom parsing to avoid use of globals
implement local errors while parsing
errors displayed until error objects implemented
2003-07-10 11:17:25 +00:00
Marc Boeren
98b74781a5 WS 2003-07-10 08:34:03 +00:00
Marc Boeren
76aba9b755 Add -2003 to copyright line (Marc). 2003-07-10 08:25:58 +00:00
Frank M. Kromann
4b70683464 Adding missing compression paramters to output functions 2003-07-10 05:07:07 +00:00
foobar
676d4fca3c Revert bad fix. 2003-07-10 01:40:01 +00:00
foobar
3396cb340a Fix crashes in certain situations (whenever there is an error, basically..) 2003-07-10 01:17:34 +00:00
foobar
b645c60bd5 - Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed
parameter variables)
2003-07-10 00:17:09 +00:00
Pierre Joye
bf7f45601d - wrong patch applied for #23792, fixed 2003-07-10 00:09:23 +00:00
Marcus Boerger
959f7784e0 Don't use class_implements() for the moment 2003-07-09 17:05:09 +00:00
Marcus Boerger
bd752698cf Use --EXPECTF-- for errors 2003-07-09 17:02:42 +00:00
Marcus Boerger
ae19eb5334 Add oo version of test 2003-07-09 16:55:07 +00:00
Marc Boeren
60d1776b31 Add SQLite support to DBX (Marc).
@Add SQLite support to DBX (Marc).
2003-07-09 16:31:40 +00:00
Brad House
6995520e20 fix typecasting errors, especially for new constants. Don't assume long and int are the same size, as on 64bit architectures, they are normally not 2003-07-09 13:45:21 +00:00
Pierre Joye
6da86c7e93 - Fix a possible crash when invalid color index are given as background
in imagerotate, only when palette based image is used as src
2003-07-09 10:36:07 +00:00
Pierre Joye
e1f163b053 - "Fix" #23792, imagerotate returns always truecolor images now
(the destination image is a truecolor, no more limited palette problems)
- Clean the cast in gdImageCopyMerge
2003-07-09 10:15:13 +00:00
Sterling Hughes
8fcd71dccf boom bam bing 2003-07-09 03:14:41 +00:00
Jason Greene
ae3101c5f1 Convert C++ comments to C (violates C99, and breaks several compilers) 2003-07-09 02:48:25 +00:00
Marcus Boerger
f31df5693e Currently we're presented all properties with foreach() 2003-07-08 23:25:18 +00:00
Marcus Boerger
79ac007d20 Fix configure options 2003-07-08 23:11:36 +00:00
Marcus Boerger
d9de39ec16 Add some comments 2003-07-08 23:11:14 +00:00
Marcus Boerger
af3be899e6 fix this stupid error 2003-07-08 23:10:01 +00:00