Commit Graph

15954 Commits

Author SHA1 Message Date
Hartmut Holzgraefe
43ba3897c2 gracefully handle changes of the parse.y lemon file,
process it with lemon if available, else just keep the .c file from CVS
not doing so leads to make using its implicit .y->.c rule here and
bison doesn't really understand lemon syntax
2005-05-30 14:15:40 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
foobar
d12196e575 Fix VPATH build 2005-05-29 23:15:16 +00:00
Ilia Alshanetsky
c24900dfa4 Added an optional remove old session parameter to session_regenerate_id(). 2005-05-29 16:51:25 +00:00
Sebastian Bergmann
ce1dfefd26 Sync with config.m4 (missing MATCH_LIMIT broke the Win32 build). 2005-05-28 06:30:46 +00:00
Andrei Zmievski
b7644c85e5 No need to include ucp.c and ucptypetable.c here. 2005-05-27 18:02:02 +00:00
Andrei Zmievski
4e72f8a298 Upgrade library to version 5.0. 2005-05-27 17:46:43 +00:00
Andrei Zmievski
3d2944863c Do a cache flush if we detect possible cache corruption (same as for
PCRE).
2005-05-26 21:48:35 +00:00
Marcus Boerger
9b3929a7e9 - Need to make PDO::__construct() final to prevent SEGV it isn't called 1st 2005-05-26 18:36:18 +00:00
Dmitry Stogov
1a72341328 Added array type hinting. (This patch requires full re-make) 2005-05-26 13:46:17 +00:00
Marcus Boerger
3453cf642a - Add new tests 2005-05-26 12:22:18 +00:00
Marcus Boerger
457d556f66 - Make SQLiteDatabase derivable by dropping final tag from class and
making the ctor final to ensure it is being called, which is the problem.
2005-05-26 11:53:16 +00:00
Ilia Alshanetsky
fddaa54410 Added scheme validation for parse_url(). 2005-05-26 03:56:21 +00:00
Stanislav Malyshev
47294288fe fix is_object() on non-php objects 2005-05-25 10:57:40 +00:00
Ilia Alshanetsky
266f2fbf13 Return error on an invalid input to mime_content_type() function. 2005-05-25 03:05:47 +00:00
Andrei Zmievski
79742f81a2 Flush regexp cache if we detect corruption. 2005-05-24 21:07:32 +00:00
Marcus Boerger
309025e8c1 - Small fix (found by joerg) 2005-05-24 17:59:42 +00:00
foobar
396affc81e nuked unused header file 2005-05-24 15:24:33 +00:00
Marcus Boerger
2ac0540323 - Add test for deriving PDO 2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284 - Add new tests for PDO_FETCH_INTO 2005-05-24 12:39:09 +00:00
foobar
e4c6d7708e - Moved ingres_ii to PECL 2005-05-24 08:40:59 +00:00
Grant Croker
b841969760 - Allows the Ingres extenstion to be built on Linux/UNIX as well as Windows. 2005-05-23 15:33:00 +00:00
Grant Croker
2f044696a6 - Fixed bug #30593 (--with-ingres option generates broken Makefile). 2005-05-23 12:34:34 +00:00
foobar
26d7b7fbc0 CS fix 2005-05-23 06:46:25 +00:00
Dmitry Stogov
1417cbaf30 Handling responses with Content-Lenght: 0 2005-05-23 06:25:16 +00:00
Antony Dovgal
a186549ec0 fix compile warning 2005-05-22 12:57:26 +00:00
Rasmus Lerdorf
c1ef105535 Fixed bug 33072 - safemode/open_basedir check for runtime save_path change 2005-05-21 17:37:56 +00:00
Marcus Boerger
0eb7282f98 - fetchSingle() was renamed to fetchColumn() 2005-05-21 14:47:33 +00:00
Georg Richter
230681b0b3 enabled set_charset for MySQL Versions >= 5.0.6
added testcase for bug #33090
2005-05-21 08:46:46 +00:00
Georg Richter
3e416f738c fix for bug #33090 (mysql_prepare doesn't return error) 2005-05-21 08:38:53 +00:00
Rob Richards
022461d976 - correct fix for bug #33059
- fix issue in other methods
2005-05-20 15:01:38 +00:00
Antony Dovgal
4ce95ef1ea fix bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
add test
2005-05-20 14:23:42 +00:00
Antony Dovgal
8f5ecf6da8 fix bug #32944 (Disabling session.use_cookies doesn't prevent reading session cookies) 2005-05-20 10:27:49 +00:00
Rasmus Lerdorf
e56660a1ad Correct handling of the UNSAFE_RAW filter 2005-05-19 21:08:04 +00:00
Marcus Boerger
b45fb630d9 - Add ability to reference the object itself
- Add ability to exchange the refrenced object
- Add ArrayObject::getFlags/setFlags and 2nd param to __construct to
  control operation modes
2005-05-19 15:52:02 +00:00
Marcus Boerger
cccdec3577 - Update tests after correcting internal order of actions 2005-05-19 15:49:44 +00:00
Ilia Alshanetsky
e117b6bad2 Fixed bug #33059 (crash when moving xml attribute set in dtd). 2005-05-19 13:47:21 +00:00
Ilia Alshanetsky
fa0e534f83 Various compiler warning fixes. 2005-05-18 22:40:56 +00:00
Ilia Alshanetsky
53ee348165 Make unix domain sockets work. 2005-05-17 23:23:52 +00:00
Ilia Alshanetsky
57aa3b984b Removed define checks that break the build. 2005-05-17 20:08:53 +00:00
Ilia Alshanetsky
746b89df16 Fixed type mixup. 2005-05-17 19:33:03 +00:00
Antony Dovgal
5cd3bd2ea7 gdImageGifCtx() is always available in bundled lib 2005-05-17 12:22:51 +00:00
Ilia Alshanetsky
def27b9959 As per PDO meeting on PHP|Tropics fetchSingle is being renamed to
fetchColumn and now supports specification of the column to retrieve.
2005-05-17 01:41:51 +00:00
Edin Kadribasic
9af73f68ef Sync with config.m4 2005-05-16 17:34:44 +00:00
Antony Dovgal
d5bb03b11a fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
Wez Furlong
e8cd91adee Allow it build with PHP 5.0.x and up again. 2005-05-14 20:06:54 +00:00
Marcus Boerger
626d781afd - Execute both RecursiveIteratorIterator::beginChildren() and endChildren()
on the same level (while the actual child is available).
2005-05-14 16:40:58 +00:00
Magnus M��tt�
1c7d86ad2a Added new function: posix_mknod(). 2005-05-13 21:38:17 +00:00
Wez Furlong
4f778ca31d patch by Christopher Kings-Lynne, slightly modified 2005-05-13 18:09:03 +00:00
Georg Richter
d72cd1d130 charsets_dir is no longer needed 2005-05-13 13:56:04 +00:00
Georg Richter
d8f91dc44c mysql_set_charset now works version undependent for MySQL 4.1.13 and above 2005-05-13 13:30:22 +00:00
Georg Richter
49e1484da8 - fixed compile error under windows. Functionality for changing the
character set was moved to libmysql (4.1 bk tree - will be merged into
5.0 within the next days).
- renamed mysql_set_character_set to mysqli_set_charset
2005-05-13 13:11:41 +00:00
Andrey Hristov
0e459321bf move math_standard_deviation and math_variance to the stats PECL extension 2005-05-13 10:11:19 +00:00
Marcus Boerger
c1e480d46e - Make ReflectionObject::hasProperty() recognize dynamically added props 2005-05-12 21:25:42 +00:00
Marcus Boerger
a5c37f37b6 - Add ability to fail silently 2005-05-12 21:23:56 +00:00
Antony Dovgal
cee979d5a9 fix #33019 (socket errors cause memory leaks in php_strerror())
patch by jwozniak23 at poczta dot onet dot pl
2005-05-12 16:26:26 +00:00
Antony Dovgal
8056035197 fix both win and gcc compile errors 2005-05-11 21:16:29 +00:00
Antony Dovgal
6568dea9ef fix gcc-2.95 problems (reported by Adam Maccabee Trachtenberg) 2005-05-11 20:04:18 +00:00
Joe Orton
5815b03511 Mark pointers in entity tables as const. 2005-05-11 12:54:29 +00:00
Joe Orton
bd2e99ee50 - Fixed bug #29119 (html_decode_entities handling of U+0152-U+0192 range)
(merge error from 4.3)
2005-05-11 12:43:07 +00:00
Andrey Hristov
be3a9ccdf3 add function array_product() 2005-05-11 11:43:11 +00:00
Wez Furlong
867e619154 add test for bug 27508 2005-05-11 02:01:44 +00:00
Antony Dovgal
fcf14f1795 use & and check for the right value of result_type 2005-05-10 23:12:31 +00:00
Antony Dovgal
38a7ef5fe6 fix #32904 (pg_get_notify() ignores result_type parameter) 2005-05-10 20:13:24 +00:00
Andrey Hristov
0c268fa0f7 fix the test too 2005-05-10 15:27:49 +00:00
Dmitry Stogov
e0b3a79e1e Fixed transparent SoapFault passing 2005-05-10 13:58:11 +00:00
foobar
84bdf9b0a0 MFB: - Fixed bugs #32800, #32830 (ext/odbc: Problems with 64bit systems) 2005-05-10 13:22:22 +00:00
Andrey Hristov
f12b14078e rename math_std_dev to math_standard_deviation (the API wasn't published
yet)
2005-05-10 12:50:53 +00:00
foobar
924b4c016d ws 2005-05-10 12:19:33 +00:00
foobar
760b955dd1 MFB: - Fixed bug #32613 (ext/snmp: use of snmp_shutdown() causes snmpapp.conf
access errors). (Jani, ric at arizona dot edu)
2005-05-10 12:17:01 +00:00
Dmitry Stogov
bd996f23f2 Fixed SIGSEGV 2005-05-10 10:20:58 +00:00
Dmitry Stogov
61ba13bf72 "<?xml ..." header is not required by SOAP specification 2005-05-10 08:16:14 +00:00
Andrey Hristov
8e97019a69 after throwing an warning bail out 2005-05-09 22:29:54 +00:00
Andrey Hristov
b4464a2d6a mysqli won't compile with Zend2 API before 2001 - in these days there was
no Zend2
2005-05-09 22:29:21 +00:00
Andrey Hristov
d5e0b8a628 MFB 2005-05-09 21:48:03 +00:00
foobar
8d00609794 - We skip tests when the extension is not loaded..in the php.ini 2005-05-09 21:16:49 +00:00
foobar
db1a5ab243 revert pointless patch 2005-05-09 21:16:06 +00:00
Andrey Hristov
02d0f72596 also test shared builds 2005-05-09 16:23:22 +00:00
foobar
4b87d8360e - getlogin() / getgroups() are not necessarily available everywhere 2005-05-09 12:15:53 +00:00
Rasmus Lerdorf
310dd4a214 Fix request_uri XSS on phpinfo() page 2005-05-08 17:24:38 +00:00
foobar
fef305724b this check was not needed 2005-05-08 15:58:50 +00:00
foobar
f2dd8f028b - Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer) 2005-05-08 15:43:22 +00:00
foobar
0060548378 no tabs 2005-05-08 14:02:19 +00:00
Georg Richter
b654b20ef6 Added new function mysqli_set_character_set_name 2005-05-08 08:39:56 +00:00
foobar
b3f5a2dca4 ws + cs + proto fixes 2005-05-07 16:08:03 +00:00
Ilia Alshanetsky
f8fd0898b7 MFB: Fixed memory leak on error in FTP wrapper. 2005-05-07 16:07:59 +00:00
Wez Furlong
660afcaef4 MFB: Fix for #32974 2005-05-07 14:58:12 +00:00
Andrey Hristov
daae299653 revert this one till we have a better way to inform the user where the
truncation has occured
2005-05-07 12:46:29 +00:00
Andrey Hristov
8cd3409b30 update protos 2005-05-07 12:41:56 +00:00
Andrey Hristov
91b3b49f14 return MYSQLI_DATA_TRUNCATED if data happens to be truncated
#the manual has to be updated
2005-05-07 08:23:39 +00:00
Andrey Hristov
70da059cc0 return directly 2005-05-07 08:03:35 +00:00
Andrey Hristov
b7df40a75a bail out when detecting incorrect number of parameters to be bound. 2005-05-07 07:44:41 +00:00
foobar
1ee0293680 - Install GD header files 2005-05-07 03:19:42 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
9070204b93 Only test stuff if PDO is enabled 2005-05-06 22:58:42 +00:00
foobar
379394b82c cleanup 2005-05-06 22:51:05 +00:00
Ilia Alshanetsky
37f46251fb Check ftp user name for control characters. 2005-05-06 18:42:52 +00:00
Antony Dovgal
0a830b33fc fix off-by-one in _php_image_output()
and prevent such errors in php_do_open_temporary_file()
2005-05-06 16:48:30 +00:00
Andrey Hristov
60c0c8e95c initialize values because the call to zend_parse_parameters may not do it 2005-05-06 10:09:42 +00:00
Ilia Alshanetsky
3ae10919c4 Added max_redirects context option that specifies how many HTTP redirects
to follow.
2005-05-06 02:31:07 +00:00
Ilia Alshanetsky
b874c94d81 Missing bit from previous patch. 2005-05-06 02:20:00 +00:00
Ilia Alshanetsky
a63f5d1c3f Fixed bug #32936 (http redirects URLs are not checked for control chars). 2005-05-06 02:13:46 +00:00
foobar
31a8c58911 fix proto 2005-05-05 23:42:03 +00:00
Georg Richter
929e3851f2 fixed memleak in mysqli_close
fixed bug #32956 (mysqli_bind_result doesn't support MYSQL_TYPE_NULL)
2005-05-05 13:02:32 +00:00
Marcus Boerger
99c72d0b94 - Update docu 2005-05-04 19:14:08 +00:00
Anantha Kesari H Y
abf7b57160 NetWare LibC dlsym works perfectly only thing that each of the extension need to export a symbol with FULL capital prefix. 2005-05-04 13:26:28 +00:00
Rob Richards
6d2fd215e9 Fix bug #32930 (class extending DOMDocument doesn't clone properly) 2005-05-03 22:55:03 +00:00
Ilia Alshanetsky
bdbce01588 Prevent double free. 2005-05-03 22:50:00 +00:00
Marcus Boerger
d6d9b15ef7 - Add another note 2005-05-03 22:28:44 +00:00
Marcus Boerger
177ea26dc1 - Make line counting work with FileObject::fgetc()
- Add a test for FileObject::fgetc()
- Update docs
2005-05-03 22:18:19 +00:00
Marcus Boerger
287864a611 - Change FileObject's line counting to be zero based
- Make FileObject implement SeekableIterator
- Add tests
2005-05-03 21:11:26 +00:00
Marcus Boerger
51d100a27a - Fix speling
- Add links
2005-05-03 12:09:26 +00:00
Rob Richards
1a0579affa - now stable thanks to Pierre
- prep for release
2005-05-02 19:50:58 +00:00
Rob Richards
fa65031982 - remove Experimental
- add Pierre to Credits
- update TODO
2005-05-02 19:39:53 +00:00
Andrey Hristov
7a0b3edbe0 fixed div by zero
#div by zero is bad...div by zero is bad...bad
2005-05-02 12:32:21 +00:00
Andrey Hristov
2c0959689b add possibility to calculate the standard deviation and the variance
on a sample - the formulae are slightly different.
2005-05-02 12:29:38 +00:00
Andrey Hristov
7a4eb25870 add also math_variance() which uses the same calculation as math_std_dev() 2005-05-02 12:12:04 +00:00
Andrey Hristov
6141c5690d fix division by zero. throw an warning if the array is empty. 2005-05-02 11:01:14 +00:00
Andrey Hristov
fb0c19da1c add math_std_dev() 2005-05-02 09:17:49 +00:00
Ilia Alshanetsky
8209835e5a Fixed bug #32608 (html_entity_decode() converts single quotes even if
ENT_NOQUOTES is given).
2005-05-01 19:48:55 +00:00
Pierre Joye
90ee88e090 - MFB: #32891, init old y positions to non possible values. -1 being used
if the center start a (x,0)
2005-05-01 06:01:56 +00:00
Rob Richards
eaf09df585 prep for release 2005-04-30 10:36:02 +00:00
Andrey Hristov
e640960186 multi_query is no more global
#thanks Sebastian!
2005-04-29 10:23:55 +00:00
Dmitry Stogov
72b5173ac3 Fixed WSDL cache bug 2005-04-29 05:38:54 +00:00
foobar
5ae4d8e701 typofix 2005-04-29 01:55:52 +00:00
Ilia Alshanetsky
8abc1d3b9c e* allocation cannot fail. 2005-04-28 23:49:04 +00:00
Antony Dovgal
5ca4b8383e handle unsupported datatype (OCIBindByName segfaults somewhere in OCI lib when
unknown type is provided)
2005-04-28 14:10:42 +00:00
Rob Richards
1ed5c14fe2 - Fix bug #32245 (xml_parser_free() in function assigned to the xml parser
gives a segfault)
2005-04-28 12:16:32 +00:00
Ilia Alshanetsky
3be50385ab Allocation checks around persistent allocs that can fail. 2005-04-28 00:25:25 +00:00
foobar
56b3cac365 Better use zval_ptr_dtor() instead (thanks Andi) 2005-04-27 23:27:37 +00:00
Andrey Hristov
3b3ce2b610 fix bug #32013(MySQLi bind_result causes fatal error: memory limit reached)
#this is a partial fix but it cannot be better. the user has to call
#$stmt->store_result() and for a BLOB/MEDIUTEXT (and larger) space will be
#allocated as big as the biggest column value.
2005-04-27 17:53:15 +00:00
Dmitry Stogov
c81db6bc56 Fixed bug #29210 (Function: is_callable - no support for private and protected classes) 2005-04-27 15:45:36 +00:00
foobar
39bcbfc306 - Made the libxml related stuff to error out if someone does --disable-all
or --disable-libxml. Better than silently just leave the ext out..
2005-04-27 13:12:55 +00:00
Andrey Hristov
f6b12b351e MFB (fixing bug 31668) 2005-04-27 12:12:58 +00:00
foobar
71adb81e96 nuking that file was not very good idea :) 2005-04-27 08:10:41 +00:00
Ilia Alshanetsky
d30a9ee96d removed debug code. 2005-04-27 03:12:18 +00:00
Ilia Alshanetsky
8281f41f3e Fixed bug #32813 (parse_url() does not handle scheme-only urls properly). 2005-04-25 23:47:37 +00:00
John Coggeshall
335742c2ef Adding new function tidy_get_opt_doc() to return option documentation at runtime. Thanks to nlopess for the patch 2005-04-25 20:46:16 +00:00
foobar
d0f85d3e27 - Added test: For some reason this fails with ZTS mode and "outside-src-tree-build" 2005-04-25 14:04:00 +00:00
Stanislav Malyshev
b86bab9735 @- Fix #32773 and make right fix for GMP FPEs (Stas)
Fix #32773 and make right fix for GMP FPEs
2005-04-25 12:18:50 +00:00
Pierre Joye
f150ee9ab5 - do not use md5, png signature can change between libpng version
some floating points issue can end to different colors (+/- 1/255)
   tests should work again now.
2005-04-25 11:36:24 +00:00
Edin Kadribasic
cbe6261882 Added T1LIB support on Windows (#32809) 2005-04-25 09:08:48 +00:00
Dmitry Stogov
c78ec1615a Fixed call to estrndup() with invalid length 2005-04-25 06:13:57 +00:00
Sebastian Bergmann
11a91f04b2 Correct grammar. 2005-04-25 05:13:36 +00:00
foobar
0eb271add6 - Fix memleak 2005-04-23 21:15:24 +00:00
Marcus Boerger
3080d49ed4 - Add new tests 2005-04-23 15:21:07 +00:00
Joe Orton
7c5f5697ce Fixed bug #32797 (invalid C code in xmlrpc extension). 2005-04-22 11:06:53 +00:00
Antony Dovgal
755b027e8c fix C++ comments 2005-04-22 08:59:21 +00:00
Masaki Fujimoto
ca7a649300 - Fix mbfl_encoding_detector_feed() and mbfl_mbfl_identify_encoding() behaviour 2005-04-22 05:03:10 +00:00
Wez Furlong
7dd430ff28 fix bug #32795 2005-04-22 02:40:48 +00:00
foobar
f2d086127c - Fix birdstep support (no SQLDataSources() support in it) 2005-04-21 23:01:53 +00:00
Ilia Alshanetsky
8b8940ba84 php_error() -> php_error_docref(). 2005-04-21 21:11:23 +00:00
foobar
4c3fdcaa4e - Fixed bug #32647 (Using register_shutdown_function() with invalid callback can crash PHP) 2005-04-21 14:44:29 +00:00
foobar
e6a70fd0d3 Added test for bug #32647 2005-04-21 14:17:52 +00:00
foobar
714080f10f bug => Bug 2005-04-21 14:04:12 +00:00
foobar
e0c4f9b9be - Possible fix for bug #32778 2005-04-21 11:19:29 +00:00
Dmitry Stogov
bd06b244a7 Fixed wrong SoapFault codes. The codes MUST be namespace qualified. 2005-04-21 11:16:48 +00:00
Ilia Alshanetsky
4eccd5df70 Fixed ZTS build of fdf extension. 2005-04-20 22:51:45 +00:00
Georg Richter
2bcae57b31 another fix for last commit (committed from wrong tree) :( 2005-04-20 13:24:08 +00:00
Georg Richter
9c1960c398 fixed typo in last commit :( 2005-04-20 13:03:01 +00:00
Georg Richter
649a8b18ef added support for data truncation (bind_result) for MySQL 5.0.5 2005-04-20 12:50:13 +00:00
Dmitry Stogov
9d2de24ab5 Fixed bug #32776 (SOAP doesn't support one-way operations) 2005-04-20 10:59:02 +00:00
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 &lt; 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