Commit Graph

15642 Commits

Author SHA1 Message Date
Dmitry Stogov
d8b50c8175 space -> tab 2005-04-20 08:44:05 +00:00
Dmitry Stogov
7288226dba Support for element's form and schema's elementFormDefault attributes (qualified/unqualified) 2005-04-20 08:30:43 +00:00
Dmitry Stogov
c4a7ee45ad Some tests were fixed 2005-04-20 06:36:10 +00:00
Marcus Boerger
67a226d910 - Add ReflectionProperty::getDocComment() 2005-04-19 22:04:59 +00:00
foobar
b8ac8eeca6 - Never use Z_TYPE* macros on non-zvals. 2005-04-19 22:04:28 +00:00
Ilia Alshanetsky
acbeba2a50 Removed unused var. 2005-04-19 20:55:02 +00:00
Ilia Alshanetsky
569138e0c0 removed unused var. 2005-04-19 20:53:54 +00:00
Andrey Hristov
2652762dcd MFB 2005-04-19 15:45:07 +00:00
Andrey Hristov
eef94ff4bb add a test case for Bug #32405 (the previous commit incorporated a fix
for it).
2005-04-19 13:29:37 +00:00
Andrey Hristov
2a3c71b833 - nail down another 64bit problem. this will fix about 14 failing tests
on amd64 (probably other 64 bit arch).
- use ulong for this boolean variable, as it was before
- throw an warning if offset passed to mysqli_stmt_data_seek is negative
2005-04-19 13:28:41 +00:00
Andrey Hristov
155b90db20 - fixing all "long" into "int" fetching problems (cause memory corruption
on 64 bit)
- nail down a problem because of the new MYSQL_TYPE_NEWDECIMAL introduced
  in MySQL 5.0+
- Add more info to the autocommit test
2005-04-19 12:59:16 +00:00
foobar
0e57528666 No c++ comments in C code 2005-04-19 11:41:04 +00:00
foobar
cb0c9ac022 - This is not C++ code 2005-04-19 11:28:02 +00:00
Wez Furlong
7013788711 merge from branch: fixes for #32758 and #32759 2005-04-19 06:14:56 +00:00
Ilia Alshanetsky
e211d4e3ae Fixed bug #32753 (Undefined constant SQLITE_NOTADB). 2005-04-19 02:58:19 +00:00
Rob Richards
334d756ffa Fix bug #32755 Segfault in replaceChild() when DocumentFragment has no children
update test
2005-04-18 23:07:50 +00:00
Andrey Hristov
4033ad1dd2 don't null it - let the engine do its magic ;) 2005-04-18 21:01:05 +00:00
Wez Furlong
195f69f0c7 merge bug fixes from branch 2005-04-18 16:38:31 +00:00
Dmitry Stogov
ba22efa25c Missing files were added 2005-04-18 07:54:46 +00:00
Georg Richter
21cae3966c cursor support for 5.0.4 (STMT_ATTR_CURSOR_TYPE changed to enum) 2005-04-18 06:03:29 +00:00
Ilia Alshanetsky
0810696e50 removed unused vars. 2005-04-18 03:04:15 +00:00
Ilia Alshanetsky
c17b18689c Checks not needed, done by ext/libxml already. 2005-04-18 02:43:42 +00:00
Marcus Boerger
43a5cee728 - Add more tests 2005-04-17 20:33:20 +00:00
Ilia Alshanetsky
6de75a77c6 Added missing safe_mode & open_basedir checks. 2005-04-17 18:05:03 +00:00
foobar
87c931695f - Fixed bug #30819 (Better support for LDAP SASL bind) 2005-04-17 16:25:59 +00:00
Derick Rethans
bb8988109d - Fixed bug #32735 (Compile error in GD extension). 2005-04-17 10:17:03 +00:00
Pierre Joye
3963ba649d - export imageconvolution to userland, making people happy to do not
use the predefined ones :)
2005-04-16 12:12:24 +00:00
Rasmus Lerdorf
4162bd8b21 I think this is a cleaner emboss filter. Less fringing. 2005-04-16 09:20:59 +00:00
Rasmus Lerdorf
d0f4028194 The emboss and edge detection matrices are swapped 2005-04-16 00:04:52 +00:00
Rasmus Lerdorf
802c8e83c9 Don't do PDO here if PDO is disabled 2005-04-16 00:04:27 +00:00
foobar
b154e82d24 - Fixed bug #32719 (strval() fails to zero terminate strings) 2005-04-15 22:46:37 +00:00
foobar
e5697cc0ad Add some more cases 2005-04-15 22:25:03 +00:00
foobar
5efe7cf99a Added test for strval() function 2005-04-15 22:19:53 +00:00
foobar
82819f3061 - Use correct type (bug #32720) 2005-04-15 22:06:03 +00:00
Marcus Boerger
5b21e48557 - Fix even though we already know that the function will be renamed 2005-04-15 18:53:42 +00:00
Uwe Schindler
91b587f884 Remove include_path support from md5_file/sha1_file again 2005-04-15 17:13:54 +00:00
Uwe Schindler
9cde55f8ed use streams api for md5_file and sha1_file. Added parameter use_include_path similar to other PHP file functions. Documentation update outstanding 2005-04-15 14:29:32 +00:00
Uwe Schindler
c4e788b03c fix various solaris problems by replacing stdio with posix io where possible 2005-04-15 09:14:38 +00:00
foobar
519f381fca - Regenerated with re2c 0.9.6 (fixes severe bugs) 2005-04-14 22:38:29 +00:00
foobar
172f3af8ed - Add support for latest Birdstep 2005-04-14 21:17:20 +00:00
Marcus Boerger
4f3b12b3fd - Rename class File to FileObject
# by popular demand
2005-04-14 21:02:09 +00:00
Andrey Hristov
e23f62fc4f - don't use short tag
- detect CLI binary and don't print &lt ;br < in this case
2005-04-14 16:05:05 +00:00
Ilia Alshanetsky
378776dc33 missing header (re2c 0.9.4 built .c file) 2005-04-14 14:01:11 +00:00
Ilia Alshanetsky
e546162f2c Added missing header. 2005-04-14 14:00:39 +00:00
Ilia Alshanetsky
e87127af69 MFB43: Fixed bug #31583 (php_std_date() uses short day names in
non-y2k_compliance mode).
Fixed bug #31689 (PHPAPI missing for php_std_date() and php_parse_date()).
2005-04-14 13:34:05 +00:00
Ilia Alshanetsky
fc51ec9e12 Removed unused vars. 2005-04-13 23:05:23 +00:00
Antony Dovgal
2c511712f7 disable pg_cmdtuples() too, if there is no pg_affected_rows() 2005-04-13 22:11:35 +00:00
Derick Rethans
cba30657d9 - MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was not
available).
2005-04-13 21:48:33 +00:00
Antony Dovgal
36d13eb7c9 add testcase for bug #30833 2005-04-13 08:23:39 +00:00
Frank M. Kromann
7bf2fe5296 Fix for #32682. Error on module shutdown when called from activescript 2005-04-12 17:45:30 +00:00
Ilia Alshanetsky
d5847b9cf7 Fixed compiler warning. 2005-04-12 16:41:42 +00:00
Antony Dovgal
a13b29add7 fix #30833 (array_count_values modifying input array) 2005-04-12 14:00:54 +00:00
Ilia Alshanetsky
ce73b66466 Fixed compiler warning. 2005-04-12 01:00:48 +00:00
Frank M. Kromann
81837f718b Don't truncate the .options file when a database is started without the optional options parameter. 2005-04-11 19:22:01 +00:00
Harrie Hazewinkel
e9224d0bd1 Converting the usage of the integer based internal commands into
MACROS to ease future extensions.
2005-04-11 14:59:42 +00:00
Harrie Hazewinkel
452b4cdba1 Adding support for a getbulk oriented walk.
The getbulk can only be used for SNMPv2c and SNMPv3.
2005-04-11 14:56:44 +00:00
Dmitry Stogov
37887f1bd0 Fixed SIGSEGV on serializing data with circular references 2005-04-11 11:58:19 +00:00
Dmitry Stogov
37eee73274 Support for encoding/decoding of private and protected members 2005-04-11 09:27:47 +00:00
Andrey Hristov
d9f5f1ee08 fix memory corruption on 64bit in imagefttext(),
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
Andrey Hristov
628b8cae7d fix proto. return true instead of null 2005-04-10 21:23:27 +00:00
Andrey Hristov
ce36c5f3b1 simplify code (no need of local variable - return directly) 2005-04-10 20:57:31 +00:00
foobar
8509f06056 - This was supposed to be escaped with \ 2005-04-10 19:23:59 +00:00
foobar
338bdf1587 Add more detailed failure msg. (bug #32649) 2005-04-10 19:18:37 +00:00
foobar
28ffae8ad0 - Make VC6 happy 2005-04-10 19:07:38 +00:00
Ilia Alshanetsky
6f539ae99e Added time_sleep_until() function, which is a high precision mechanism of
making a script sleep until specified timestamp.
2005-04-10 16:25:11 +00:00
Rob Richards
5313e98b72 - Fixed bug #32615 (Segfault in replaceChild() using fragment when
previousSibling is NULL)
- add test
2005-04-08 15:58:24 +00:00
Ilia Alshanetsky
2fae7f1e71 Missing part of the patch for bug #32589 2005-04-08 15:04:34 +00:00
Marcus Boerger
53e5eb8032 - Add new test 2005-04-08 13:34:30 +00:00
Rob Richards
9c3919c3a3 fix test 2005-04-08 12:18:57 +00:00
Ilia Alshanetsky
5355bdc788 Fixed bug #32533 (proc_get_status() returns the incorrect process status). 2005-04-07 23:07:45 +00:00
foobar
d57f08147d - Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX) 2005-04-07 22:23:15 +00:00
Dmitry Stogov
d976e3d165 Fixed indentation 2005-04-07 16:17:08 +00:00
Dmitry Stogov
b14271dbfa Fixed wrong result of cal_days_in_month() with bad dates 2005-04-07 16:12:27 +00:00
foobar
1b3b55a858 Regenerated with re2c 0.9.4 2005-04-06 19:42:36 +00:00
Marcus Boerger
733aa2e949 - Make class_parentS() and class_implements() accepts class names as well 2005-04-06 15:16:45 +00:00
Ilia Alshanetsky
1d60050312 Removed php_check_syntax() function, it never worked properly. For now
use shell_exec("php -l script_name") or similar.
2005-04-06 14:19:14 +00:00
Ilia Alshanetsky
a7ae41bf89 Fixed bug #31363 (broken non-blocking flock()).
# Patch by ian at snork dot net
2005-04-06 13:57:30 +00:00
Christian Stocker
997690b132 - Added optional first parameter to XsltProcessor::registerPHPFunctions to only
allow certain functions to be called from XSLT.
2005-04-06 12:26:29 +00:00
Georg Richter
f6ecb58448 fix for bug #32282 (segfault in mysqli_fetch_array on 64-bit) 2005-04-06 06:47:12 +00:00
Antony Dovgal
33677ddb95 remove proto, it's internal func 2005-04-05 20:31:10 +00:00
Ilia Alshanetsky
6f13b138a7 Added another search patch for magic file (fixes bug #3232). 2005-04-05 15:12:52 +00:00
Ilia Alshanetsky
cb8d20760c Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets). 2005-04-05 14:47:47 +00:00
Marcus Boerger
7e7775a328 - Register class File
- Remove superflous ;
- Stop spl_autoloading on pending exception
2005-04-05 09:24:53 +00:00
Marcus Boerger
2f8d672bfc - Use correct var name 2005-04-05 09:23:50 +00:00
Marcus Boerger
58d45bfe2e - Add new test 2005-04-05 09:23:14 +00:00
foobar
760439567a Update credits 2005-04-04 18:50:54 +00:00
foobar
2887f89075 remove empty lines 2005-04-04 18:14:27 +00:00
foobar
28b13f50e6 Added testcase for bug #30362 2005-04-04 18:06:16 +00:00
Antony Dovgal
f2a3b12445 fix #32560 (configure looks for incorrect library - libdb2.so instead of libdb2.a,
which is used actually)
2005-04-04 10:50:32 +00:00
Ilia Alshanetsky
ca10457a58 Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
longer then the original string).
2005-04-03 18:08:40 +00:00
George Schlossnagle
1d25fc5c7b actually commit the SOAP interop tests this time. 2005-04-03 15:51:22 +00:00
George Schlossnagle
55c25c7275 Fix qualified names for attributes according to attributeFormDefault.
Add SOAP Interop tests from Dmitry.
2005-04-03 15:39:56 +00:00
Antony Dovgal
1c4eb9b684 fix typo 2005-04-03 13:06:08 +00:00
Antony Dovgal
b2858fb449 fix output_reset_rewrite_vars() returning false everytime 2005-04-03 12:19:23 +00:00
foobar
c67da24e31 Fix another title 2005-04-03 11:17:54 +00:00
foobar
0ee465d2a0 fix description 2005-04-03 11:15:39 +00:00
foobar
fc883fd477 Partial fix test: It is still possible to use expat libs with ext/xml.. 2005-04-03 00:12:26 +00:00
foobar
b543778fed fix tests 2005-04-02 22:57:42 +00:00
Joe Orton
d17ccbdeee Use PHP_LIBDIR. 2005-04-01 11:12:45 +00:00
Marcus Boerger
7adb2b0c0b - Add RecursiveDirectoryIterator::getSubPathname() 2005-03-31 23:02:20 +00:00
Marcus Boerger
d383735978 - Add RecursiveDirectoryIterator::getSubPath() 2005-03-31 21:51:46 +00:00
Marcus Boerger
530917b463 - Make iterator_to_array() accept Traversable 2005-03-31 21:49:47 +00:00
foobar
a119050ebb These tests require register_long_arrays=1 2005-03-31 19:47:19 +00:00
Marcus Boerger
3eb4162122 - Bugfix #32521 (apache2handler accidental crashes caused by SPL) 2005-03-31 17:17:38 +00:00
Joe Orton
6974b5ecce Mark more private functions as static. 2005-03-30 13:43:36 +00:00
Joe Orton
5aa95520cd Mark private functions as static. 2005-03-30 12:56:58 +00:00
Antony Dovgal
e499a1c296 fix segfault & buffer overrun when there is no PDO drivers plugged in
(patch by su1d@phpclub.net)
2005-03-29 17:23:36 +00:00
Sara Golemon
29ede46872 BugFix #31137 stream_filter_remove() segfaults when stream already closed 2005-03-29 04:02:03 +00:00
Dmitry Stogov
caeeebebc1 Fixed handling of attributes' namespaces 2005-03-28 18:06:29 +00:00
Dmitry Stogov
a3f2a3aab5 Fixed handling of attributes' namespaces 2005-03-28 16:28:04 +00:00
Dmitry Stogov
8dff99116d Fixed wrong SOAP headers encoding/decoding. 2005-03-28 15:21:50 +00:00
Pierre Joye
d8824f2d5c - remove "debug" code 2005-03-28 08:17:17 +00:00
Pierre Joye
6d46acfc70 - MFB, imagerectangle draws 2x each corners (alpha channel uglyness) 2005-03-28 08:14:30 +00:00
Edin Kadribasic
e923407cc5 Reshufle includes to make it compile on windows 2005-03-28 00:07:24 +00:00
Pierre Joye
c8ce18c155 - allow to keep or ignore the transparent color in imagerotate (thx
Ken Coar to report this "bug")
- be sure to restore alphablending in imagefill
- use zend_parse_parameter in imagerotate
2005-03-27 23:43:52 +00:00
Ilia Alshanetsky
f95651e338 revert copy patch. 2005-03-27 15:52:49 +00:00
foobar
a8b29a2e8f - Made it possible to build ext/xmlrpc with libxml2 2005-03-26 03:13:58 +00:00
foobar
d203f88665 - Fix windows build (using config.w32 and keeping sync with config.m4) 2005-03-26 02:19:56 +00:00
Christopher Kings-Lynne
030ebaaa45 (PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.
# The version in libpq is newer and faster than the one in PHP, but it is
# necessary for me to add a string copy for freeing purposes.  This copy
# is only needed in Windows AFAIK, how can I detect that?
2005-03-25 06:26:31 +00:00
Ilia Alshanetsky
e8bd3b9b4f Slightly safer code. 2005-03-25 00:30:43 +00:00
Marcus Boerger
d27be11233 - Fix null handling found by thies 2005-03-24 12:32:06 +00:00
Marcus Boerger
2906d6570c - Add new test 2005-03-24 12:31:37 +00:00
Antony Dovgal
76e07faf87 fix leak when register_long_arrays is off 2005-03-24 00:17:16 +00:00
Moriyoshi Koizumi
2cba0ab304 - Fix bug #32311 (mb_encode_mimeheader() does not properly escape characters.) 2005-03-23 23:22:16 +00:00
Moriyoshi Koizumi
3b39b2237f - Add test case for iconv_mime_encode(). 2005-03-23 23:07:42 +00:00
Moriyoshi Koizumi
8f14211e13 - Add sanity check in iconv_mime_encode(). Leaving the third parameter
unspecified would yield bus error.
2005-03-23 23:06:38 +00:00
Dmitry Stogov
2283e471f8 windows compatibility fix 2005-03-23 15:12:54 +00:00
Christopher Kings-Lynne
3e6fce84bb - Use a replacement for PQunescapeBytea so that linking against a pre-7.3
libpq is possible.  This is exactly what ext/pgsql currently does.

# I hope this is an acceptable improvement.
2005-03-23 08:52:40 +00:00
Dmitry Stogov
e31bc5a643 Allow define connection timeout throught "connection_timeout" option in SoapClient constructor. 2005-03-23 08:08:54 +00:00
Dmitry Stogov
4ecbf1792b Fixed bug #31695 (Cannot redefine endpoint when using WSDL) 2005-03-23 07:11:55 +00:00
Christopher Kings-Lynne
63ed4a1996 - Ensure that ext/pgsql tests work when linked against 7.2 or lower libpq 2005-03-23 03:24:41 +00:00
Moriyoshi Koizumi
542901d705 - Add Armenian encoding / NLS (patch by Hayk Chamyan) 2005-03-22 22:22:11 +00:00
foobar
a075b651be Added SKIPIF 2005-03-22 16:03:10 +00:00
foobar
77910ec63f Addded test for locale aware sort 2005-03-22 15:38:25 +00:00
Ilia Alshanetsky
7af2c5e44b Fixed compiler warning. 2005-03-22 14:44:23 +00:00
Marcus Boerger
dce82da87d - Add function pdo_drivers() 2005-03-22 10:36:25 +00:00
Marcus Boerger
73a6a31053 - the driver's key name is not zero terminated, hence we need to either
estrNcpy() it or use the driver struct.
- table headers do not support single column mode so change to two cols
- there should be only one table header
2005-03-22 10:26:51 +00:00
Dmitry Stogov
fedbd2145a Fixed bug #30106 (SOAP cannot not parse 'ref' element. Causes Uncaught SoapFault exception) 2005-03-22 10:19:08 +00:00
Christopher Kings-Lynne
e2b87e6230 Tweak some #if's to be more orthogonal.
(PHP pg_set_error_verbosity) New function to set PostgreSQL error verbosity

(PHP pg_copy_from) Use non-deprecated API if it is available

(PHP pg_copy_to) Use non-deprecated API if it is available
2005-03-22 08:51:23 +00:00
Ilia Alshanetsky
b30d8beebf Simplify argument checking code for array_combine(). 2005-03-22 01:45:17 +00:00
Marcus Boerger
041524feee - Fix Bug #32394 offsetUnset() segfaults in a foreach 2005-03-21 20:07:33 +00:00
Dmitry Stogov
756c5784c1 Support for <soap:body> "parts" attribute 2005-03-21 15:52:53 +00:00
John Coggeshall
c590531c07 Added three new properties to the node: line, column and if it is propreitary or not 2005-03-21 03:54:29 +00:00
Wez Furlong
6895ef99c0 fix my silly typo 2005-03-21 01:24:36 +00:00
Marcus Boerger
06a96fdfe5 - Fix test (warnings are expected since there is no support for this) 2005-03-21 00:32:48 +00:00
Marcus Boerger
a66e14645c - Add new tests 2005-03-21 00:29:25 +00:00
Marcus Boerger
c9108bba25 - Simplify code (only implement handlers that are necessary)
- Fix handling of read only property 'queryString'
- Fix overloading
- Move class init code to their defining .c files for simplification
- Mark class PDORow as final until there's a need to inherit this and
  someone implements the handlers correct then.
2005-03-21 00:29:06 +00:00
Marcus Boerger
9c3164e487 - Update 2005-03-20 19:45:36 +00:00
Dmitry Stogov
713622d363 Fixed SoapFault::details passing 2005-03-20 09:55:47 +00:00
foobar
4d46234912 - Fixed a warning (might also be an error with some exotic compiler) 2005-03-20 02:57:10 +00:00
Christopher Kings-Lynne
721d34bebc Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs. 2005-03-20 02:46:02 +00:00
Marcus Boerger
6735e8c2a7 - Update test 2005-03-19 15:15:32 +00:00
Marcus Boerger
fec4937052 - Add new test 2005-03-19 15:09:11 +00:00
Marcus Boerger
e38141478a - Check another incarnation of bug #30266 2005-03-19 14:24:17 +00:00
Antony Dovgal
f27fb2d715 fix #32373 (segfault in bzopen('/wrong/path')) 2005-03-19 13:56:00 +00:00
Marcus Boerger
d23781e08d - Add missing skipif part 2005-03-19 10:58:44 +00:00
Frank M. Kromann
17264461f9 fix build when the pecl module is part of the php source tree 2005-03-19 10:55:47 +00:00
Marcus Boerger
360fbc09b7 - Interface name was changed 2005-03-19 10:55:35 +00:00
Marcus Boerger
7b2bee1d5b - Fix warnings by doing it the Zend way 2005-03-19 10:51:42 +00:00
Christopher Kings-Lynne
3dd44c3018 Another oversight - make sure constants related to pg_result_error_field are #if'd as well as the function itself 2005-03-19 09:21:51 +00:00
Christopher Kings-Lynne
e4570cdbd2 Add regression tests for pg_transaction_status and pg_result_error_field 2005-03-19 09:20:52 +00:00
Christopher Kings-Lynne
28ec3abf87 Minor oversight in #if for an internal function 2005-03-19 09:07:20 +00:00
Rui Hirokawa
c30f4ab6ec oniguruma updated to 3.7.1 and changed UChar to OnigUChar. 2005-03-19 08:52:23 +00:00
Christopher Kings-Lynne
1168c30635 Added several new functions to support the PostgreSQL v3 protocol
introduced in PostgreSQL 7.4.

(PHP pg_transaction_status) New function to get in-transaction status of
                            a database connection.

(PHP pg_query_params) New function to allow execution of parameterized
                      queries.

(PHP pg_prepare) New function to allow preparing named queries.

(PHP pg_execute) New function to allow execution of named prepared
                 queries.

(PHP pg_send_query_params) New function that is the async equivalent of
                           pg_query_params.

(PHP pg_send_prepare) New function that is the async equivalent of
                      pg_prepare.

(PHP pg_send_execute) New function that is the async equivalent of
                      pg_execute.

(PHP pg_result_error_field) New function that allows highly detailed
                            error information, most importantly the
                            SQLSTATE error code

# Regression tests are included for all but 2 functions, the rest will
# follow shortly.  Docs will also follow shortly.
2005-03-19 08:46:56 +00:00
foobar
fd03f4f056 Added config.w32 (modified version, original by: Grant.Croker at ca dot com) 2005-03-18 23:24:15 +00:00
George Schlossnagle
d2731eb575 doc should not be freed here, as it is used later in the code path. 2005-03-18 15:40:04 +00:00
Antony Dovgal
646bb71503 fix typo in error message 2005-03-17 18:12:06 +00:00
Ilia Alshanetsky
1f06bb94c6 MFB: Fixed build of exif extension on win32. 2005-03-17 17:20:52 +00:00
Ilia Alshanetsky
fed3058fba Fixed compiler warning on win32. 2005-03-17 17:16:43 +00:00
Rob Richards
04d44c8a5c export php_dl to fix windows cli build 2005-03-17 12:37:18 +00:00
foobar
2d521a73c8 Revert bad fix 2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
eb253ab571 Build fixes 2005-03-17 01:14:10 +00:00
Rasmus Lerdorf
effa111c5e Fix Jani breakage 2005-03-16 22:00:07 +00:00
Ilia Alshanetsky
d247e074a7 Fixed bug #32326 (Check values of Connection/Transfer-Encoding
case-incentively).
2005-03-16 20:30:17 +00:00
Harrie Hazewinkel
e6ae6fc62d Adding SNMPv2 community based (i.e. protocol version) functions. 2005-03-16 14:29:40 +00:00
Wez Furlong
5ab7264189 remove debuging code 2005-03-15 15:58:04 +00:00
Wez Furlong
6090964157 I'm a PECL citizen; even though I am HEAD of pecl/sqlite, don't assume that I
am being built against HEAD of php-src.
2005-03-15 15:57:49 +00:00
Ilia Alshanetsky
8c38ac19bf Fixed possible usage of str without being initialized. 2005-03-15 00:27:52 +00:00
foobar
005b2d77bf - Fixed bug #18613 (Multiple OUs in x509 certificate not handled properly) 2005-03-14 21:00:03 +00:00
foobar
5a4c0afe31 - Back to stone-age 2005-03-14 09:47:31 +00:00
foobar
5718cb15a3 - Fixed bug #30609 (cURL functions bypass open_basedir) 2005-03-14 09:02:23 +00:00
Moriyoshi Koizumi
6437bc056d - Turn off incorrect case folding to let test over. 2005-03-14 01:11:54 +00:00
foobar
bde0661ef6 - Move stuff that belongs in Makefile into Makefile.frag 2005-03-14 01:09:49 +00:00
Marcus Boerger
7c4cd04229 - Update tests 2005-03-13 22:35:34 +00:00
Ilia Alshanetsky
5bd7be94a4 Fixed compiler warning. 2005-03-13 17:03:55 +00:00
Marcus Boerger
dd54f36d49 - Fix signature definition 2005-03-13 16:35:01 +00:00
Marcus Boerger
5880260c78 - Update docu 2005-03-12 23:21:41 +00:00
Marcus Boerger
6f668d4978 - Fix extension to be .inc 2005-03-12 23:05:03 +00:00
Marcus Boerger
f9de3fd02b - Allow to hook into RecursiveIteratorIterator's child handling
- Better=faster function caching for RecursiveIteratorIterator
- Check for exceptions and fix check for illegal return values
- Add UnexpectedValueException
- Add docu
2005-03-12 23:03:33 +00:00
Ilia Alshanetsky
f56e5c045c A more performance friendly version of Andrey's patch. 2005-03-12 17:51:19 +00:00
Andrey Hristov
f15c24d44c added an optional third parameter to str_word_count(), which is used as
a list of characters which are considerd "is_alpha()". Thus V14GR4 can
be extracted as one word if the user supplies "14" as charlist.
FR #31560
# Nuno, are you wishing to document this one too? :)
2005-03-12 14:41:20 +00:00
Andrey Hristov
1236cfa38a - type is either 1 or 2 if second parameter is set. if not set then type
is 0.
- use the lvalue for the second rvalue
2005-03-12 13:08:19 +00:00
Andrey Hristov
cc39b51d2d add a test file 2005-03-12 12:59:53 +00:00
Andrey Hristov
c449002566 add test
#forgot to add this one
2005-03-12 12:58:06 +00:00
Andrey Hristov
9e939133d2 FR 32275 - fifth parameter to preg_replace() to count number of replaces
made.
#it would be nice if someone of the doc team documents it. thanks!
2005-03-12 12:03:50 +00:00
Andrey Hristov
070147105f Fixed #30871 2005-03-12 10:11:46 +00:00
Marcus Boerger
016a39195e - Fix test 2005-03-12 01:52:48 +00:00
Marcus Boerger
f3a5d430fc - Fix another memleak 2005-03-12 01:46:47 +00:00
Marcus Boerger
6c73805c45 - Fix memleak 2005-03-12 01:44:04 +00:00
Wez Furlong
5248f59d1a show list of PDO drivers in phpinfo.
Highlight a possible problem area; iterator leaks when used in foreach(),
at least with sqlite2 driver.
2005-03-12 01:16:59 +00:00
Wez Furlong
d88b4c734f build pdo statically on win32, so sqlite2 driver will build.
Alternatively, we could build sqlite as a shared ext, but that has more
of an impact to people upgrading.
2005-03-12 01:15:37 +00:00
Wez Furlong
cbcd4271d2 build sqlite2 pdo driver on win32 2005-03-12 01:14:21 +00:00
Marcus Boerger
5985098b98 - Add tests 2005-03-12 00:51:39 +00:00
Marcus Boerger
c7ec6d0ce1 - Errcode might be empty 2005-03-12 00:50:20 +00:00
Wez Furlong
9619c3b811 Fix crappy whitespace 2005-03-12 00:07:44 +00:00
Wez Furlong
52dd9f028e Implement a PDO driver for sqlite 2 2005-03-11 23:57:01 +00:00
Marcus Boerger
5a94bb642f - Do not touch return_valu's refcount or is_ref 2005-03-11 02:11:44 +00:00
Marcus Boerger
4e390892b7 - Do not touch return_valu's refcount or is_ref 2005-03-11 01:52:24 +00:00
Marcus Boerger
299a17ba37 - Fix #30266 2005-03-11 01:11:54 +00:00
Marcus Boerger
b924ef8796 - Don't touch refcount/is_ref 2005-03-11 00:44:34 +00:00
Marcus Boerger
1d85c3fe80 - Times have changed - php 5 relevant version now 2005-03-11 00:22:28 +00:00
Marcus Boerger
faae6ac159 - Do not touch return_valu's refcount or is_ref 2005-03-11 00:14:02 +00:00
Marcus Boerger
04a08c757a - Allow to work under php 5 2005-03-11 00:11:35 +00:00
Marcus Boerger
df56c39bda - Cosmetics 2005-03-10 23:52:43 +00:00
Marcus Boerger
4172ec995c - Do not touch return_valu's refcount or is_ref 2005-03-10 23:42:15 +00:00
Ilia Alshanetsky
ff80321587 Final set of fixes for bug #27633.
# Many thanks to Edin for helpind analyze and resolve this bug.
2005-03-10 23:37:45 +00:00
Rob Richards
8462621bd7 add workaround for libxml bug when using next() method
remove some no longer needed windows specific code
2005-03-10 22:32:47 +00:00
Marcus Boerger
cdb042f632 - Fix fetching bound vars & tests 2005-03-10 18:48:01 +00:00
Marcus Boerger
92af2b6194 - Update tests 2005-03-10 17:55:36 +00:00
Marcus Boerger
1b93629fb8 - Fix test name 2005-03-10 15:54:52 +00:00
Zeev Suraski
b31c44d0fd Oops, revert. 2005-03-10 14:33:53 +00:00
Zeev Suraski
1b5d558f91 Fix prototype 2005-03-10 14:32:16 +00:00
Joe Orton
3796738681 Fix /*-within-comment warning from GCC. 2005-03-10 11:19:32 +00:00
Magnus M��tt�
e65d57535f Add tests for firebird. 2005-03-10 02:43:44 +00:00
Magnus M��tt�
72276d013a Add NOT NULL to create so the tests work with Firebird too. 2005-03-10 02:37:20 +00:00
Marcus Boerger
bd13b72164 - Wrong order of action - touch 2005-03-10 00:17:17 +00:00
Marcus Boerger
22fcd1aac7 - Fix #31442 unserialize broken on 64-bit systems
- Fix one warning
2005-03-10 00:10:21 +00:00
Marcus Boerger
34c432de7e - Fix #31442 unserialize broken on 64-bit systems
- Fix one warning
2005-03-09 23:58:44 +00:00
Antony Dovgal
3e2dd57c0a fix compile warnings 2005-03-09 21:58:20 +00:00
Magnus M��tt�
0844446176 More tests. 2005-03-09 21:02:31 +00:00
Ilia Alshanetsky
21ff96859e Fixes to ascii downloads on win32. 2005-03-09 20:52:38 +00:00
Wez Furlong
a826ded3cc re-enable deps for HEAD 2005-03-09 18:21:41 +00:00
Wez Furlong
e162e80d31 prep for pecl release 2005-03-09 18:21:10 +00:00
Wez Furlong
584abff629 update extension version 2005-03-09 18:18:53 +00:00
Wez Furlong
5984f7f3e1 prep for release 2005-03-09 18:14:49 +00:00
Marcus Boerger
56235c6cc8 Fix the fix 2005-03-09 10:29:27 +00:00
Derick Rethans
16d67ab9f5 - MF43: Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping). 2005-03-09 10:13:05 +00:00
Antony Dovgal
a2413c32ce fix build 2005-03-09 09:19:27 +00:00
Wez Furlong
95b67c9763 update in readiness for release 2005-03-09 06:04:21 +00:00
Wez Furlong
f7ebff804d "thou shalt not throw exceptions except in really exceptional circumstances."
The only allowed places to throw them directly are from within the PDO class
constructors or when dealing with transaction level attributes, where
"hard-failure" is a feature.

All other errors should use the PDO error handling mechanism and respect the
users selected error mode.
2005-03-09 05:50:03 +00:00
Magnus M��tt�
591fb2d97c Add one more test. 2005-03-09 05:29:57 +00:00
Wez Furlong
de1d8b91f0 prep package file for release.
fix my favourite typo.
fix compile warnings
2005-03-09 05:03:58 +00:00
Magnus M��tt�
4b4975f1f8 Add test 020 and 021 for PDO_SQLite. 2005-03-09 04:45:08 +00:00
Magnus M��tt�
d49ecd51c1 Add more tests. 2005-03-09 03:50:10 +00:00
Magnus M��tt�
d06dec1ac0 Remove old test. 2005-03-09 03:45:24 +00:00
Marcus Boerger
f0a3e5be17 More line count fixes 2005-03-09 03:07:42 +00:00
Marcus Boerger
b79e8759fc Add documentation 2005-03-09 03:07:07 +00:00
Marcus Boerger
ef17168fd1 No double line counting 2005-03-09 02:54:36 +00:00
Wez Furlong
3efc383a07 probably fix for ? placeholders not working with oci 2005-03-09 02:13:06 +00:00
Magnus M��tt�
088972feee Fix segv when einfo->errcode is not available.
Add missing NULL entry to oci_methods.
2005-03-09 01:56:43 +00:00
Marcus Boerger
b06d0ef758 Add description for interface Serializeable 2005-03-09 01:21:04 +00:00
Dan Scott
e90582a990 Add test for PDOStatement::getColumnMeta().
Note that PDO_ODBC test fails as it is currently unimplemented.
2005-03-09 00:20:07 +00:00
Magnus M��tt�
ddde4497b2 Add more tests. 2005-03-08 23:00:34 +00:00
Johannes Schlüter
0e9e0f62fc - Fix #32238 (spl_array.c: void function cannot return value) 2005-03-08 21:33:15 +00:00
Ilia Alshanetsky
0dbe348d1d Improve the performance of htmlspecialchars_decode() by 20-30%. 2005-03-08 21:13:03 +00:00
Dan Scott
83dfcbf3f6 Add simple tests for insert through PDO::prepare/PDOStatement::execute.
Tests both question mark placeholders and named parameters.
2005-03-08 18:12:22 +00:00
Dan Scott
570976d236 Add a test for PDOStatement::columnCount(). 2005-03-08 17:39:41 +00:00
foobar
7c1d94a702 update 2005-03-08 06:40:05 +00:00
Marcus Boerger
7b64727519 - Add/Correct parameter info and protos 2005-03-08 00:42:49 +00:00
Marcus Boerger
bbccc37f84 - Add new tests 2005-03-07 22:43:27 +00:00
Marcus Boerger
efb3529b7f - Add new tests 2005-03-07 22:36:12 +00:00
Marcus Boerger
9c08e3ccae - Update signature 2005-03-07 22:27:29 +00:00
Marcus Boerger
9b8725a967 - Add more methods
- Avoid exceptions in iterator access
- Do not read in rewind8) or next() instead read in iteration if neccessary
- Correctly count line numer on reading
2005-03-07 22:18:40 +00:00
Marcus Boerger
6bd8257607 - Fix proto
- Do not try to write zero bytes
2005-03-07 22:10:08 +00:00
Marcus Boerger
cf6711abfa - Length needs to be positive 2005-03-07 21:54:08 +00:00
Marcus Boerger
97655f8a3b - Make maic qutes runtime work if length is specified too 2005-03-07 21:52:34 +00:00
Marcus Boerger
85ebbd28a0 - Delay memory allocation, speeds up faiure case 2005-03-07 21:28:38 +00:00
Ilia Alshanetsky
975ff6f5d5 Added htmlspecialchars_decode() function for fast conversion from
htmlspecialchars() generated entities back to characters.
2005-03-07 19:37:27 +00:00
Ilia Alshanetsky
0c9610fc9d Fixed bug #32210 (proc_get_status() sets "running" always to true). 2005-03-07 16:17:12 +00:00
Magnus M��tt�
12e60c9c1e Add test 017. 2005-03-07 15:52:58 +00:00
Marcus Boerger
1d54f897ca - Fix problem with some plain c pedantic compilers 2005-03-07 08:04:47 +00:00
Marcus Boerger
7bbbfa3f15 - Add new tests 2005-03-07 01:39:12 +00:00
Marcus Boerger
3960865e8e - In File::fgetcsv() use max length from object 2005-03-07 01:00:29 +00:00
Marcus Boerger
40bf907541 - Add File object 2005-03-07 00:40:57 +00:00
Marcus Boerger
7fbc91acce - Allow length 0 as default (e.g. skip param) 2005-03-07 00:16:18 +00:00
Marcus Boerger
89f320755d - Use new objects 2005-03-06 23:09:21 +00:00
Marcus Boerger
16f0329a52 - Fix problem with exception in other methods, too 2005-03-06 23:07:43 +00:00
Marcus Boerger
f3970b8076 - Add intefaces from zend_interface.h as macros 2005-03-06 22:57:45 +00:00
Marcus Boerger
0d1e43711a - Fix problem with exceptions in hasChildren calls 2005-03-06 22:57:05 +00:00
Marcus Boerger
ef64180c90 - Actuall the comments were correct 2005-03-06 22:18:09 +00:00
Marcus Boerger
86ac9559be - Fix by Tim 2005-03-06 22:15:35 +00:00
Marcus Boerger
5830e46a84 - Bugfix #28840 __destruct of a class that extends mysqli not called 2005-03-06 21:40:01 +00:00
Ilia Alshanetsky
96d7eebce8 Make html_entity_decode() 15-20% faster by avoiding pointless string
duplication.
2005-03-06 19:36:51 +00:00
foobar
6d6e939f9b - Moved ext/fam and ext/mnogosearch to PECL 2005-03-06 19:24:21 +00:00
Ilia Alshanetsky
c8687cdb79 Fixed bug #29424 (width and height inverted for JPEG2000 files). 2005-03-06 17:03:43 +00:00
Dan Scott
48a6151051 Test PDO::beginTransaction and PDO::rollBack. 2005-03-05 21:03:12 +00:00
John Coggeshall
81c161d0a7 Opps. 2005-03-05 17:55:45 +00:00
Dan Scott
fc825e2071 Missed this one... 2005-03-05 15:48:54 +00:00
Dmitry Stogov
eff0d65240 Fixed bug #32115 (dateTime encoding of timezone incorrect) 2005-03-05 13:27:13 +00:00
Marcus Boerger
e4ce3e36ef - Negative seeking is not supported 2005-03-05 11:35:13 +00:00
John Coggeshall
5fe241ff64 Starting tests.... 2005-03-05 01:13:10 +00:00
Andrei Zmievski
f8fc9a3256 Check that object can actually return a class entry. I need this for a
class-entry-less helper objects that should not be present in the class
table.
2005-03-05 00:45:47 +00:00
Rob Richards
d42656b033 use php streams for uri I/O under PHP 4 2005-03-04 15:41:33 +00:00
Marcus Boerger
f76f510185 - Add tests
- Fix testname
- Drop unnecessary include line (was wrong anyway)
2005-03-04 01:29:27 +00:00
Dan Scott
5ce920f189 One more PDO_ODBC test (tested with DB2 V8.2). 2005-03-03 20:30:38 +00:00
Dan Scott
dc4501cf99 Next three tests for PDO_ODBC (tested with DB2 V8.2). 2005-03-03 20:23:29 +00:00
Dan Scott
12f1993f8e Next batch of tests for PDO_ODBC (tested against DB2 V8.2). 2005-03-03 13:53:55 +00:00
Dan Scott
49d1349b9a Begin porting standard PDO tests to PDO_ODBC, testing against DB2. 2005-03-03 11:49:35 +00:00
Marcus Boerger
d9145daa61 - Rename test 14 to 16 (which is a new one) and MFB 14 again 2005-03-03 10:48:02 +00:00
Marcus Boerger
7cca51e97e - Fix bug #32134 2005-03-03 10:35:34 +00:00