Felipe Pena
743d0d1cf1
- Added skipif (Opss :))
2008-10-10 19:52:55 +00:00
Felipe Pena
9554edb901
- New test
2008-10-10 19:49:20 +00:00
Felipe Pena
edd40fc41d
- Static'fication
2008-10-10 19:35:15 +00:00
Felipe Pena
0c71486c59
- Fixed tests
2008-10-10 16:56:28 +00:00
Felipe Pena
fc620fe30f
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
...
Initial patch by: chsc at peytz dot dk
MFB:
- Fixed bug #41971 (PDOStatement::fetch and PDOStatement::setFetchMode causes unexpected behavior)
- Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode)
2008-10-10 16:46:10 +00:00
Felipe Pena
cdeea98d37
- Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
...
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
Patch by: tsteiner at nerdclub dot net
2008-10-10 12:08:07 +00:00
Kalle Sommer Nielsen
470a843f8f
* Fix gcov warnings about parameters not initialized (Thanks for noticing Felipe!)
...
* Changed int to be long in mssql_num_fields
2008-10-09 18:33:25 +00:00
Felipe Pena
58b7edba10
- Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement)
2008-10-09 12:59:47 +00:00
Felipe Pena
48b9214773
- Fix typo
2008-10-09 01:08:31 +00:00
Greg Beaver
a4f39f7fa4
MFB: fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:51:27 +00:00
Ilia Alshanetsky
b2b212bbcf
MFB: use proper macro
2008-10-08 23:04:58 +00:00
Derick Rethans
194577d7a6
- Fixed mime-type generation.
...
#- Charset markers need to be prepended with ; -- the tests were also wrong.
2008-10-08 09:44:12 +00:00
Felipe Pena
359690898e
- Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
...
patch by Christian seiler
2008-10-07 18:17:44 +00:00
Felipe Pena
a417250c99
- Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event)
2008-10-07 15:27:06 +00:00
Felipe Pena
3e4ce566dd
- Fixed code ("Division by zero" anymore)
2008-10-07 12:49:35 +00:00
Kalle Sommer Nielsen
e659b7d6c1
* is_output and is_null parameters are now booleans instead of int in mssql_bind
...
* Added missing conditional from old parameter parsing
2008-10-06 21:50:18 +00:00
Felipe Pena
b1336de160
- Fixed compiler warning
2008-10-06 15:13:27 +00:00
Felipe Pena
82eaeb6bfe
- Fixed bug #45373 (php crash on query with errors in params)
2008-10-06 14:28:29 +00:00
Derick Rethans
00ac4cac45
- Updated to version 2008.7 (2008g)
2008-10-06 14:27:33 +00:00
Ilia Alshanetsky
23d4a387c2
MFB: Fixed a few signedness warnings
2008-10-06 01:19:07 +00:00
Etienne Kneuss
002e17d501
Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite)
2008-10-05 14:19:55 +00:00
Kalle Sommer Nielsen
0acb6c09bc
New parameter parsing API (with lots of help from Felipe)
2008-10-05 04:55:33 +00:00
Felipe Pena
ef72d988f8
- Initialize variable
2008-10-05 04:36:18 +00:00
Arnaud Le Blanc
d4cb99a976
Fixed #46164 (stream_filter_remove() closes the stream)
2008-10-05 01:40:02 +00:00
Felipe Pena
13833ec079
- Fixed bug #44991 (Compile Failure With freetds0.82) (patch by jklowden at freetds dot org)
2008-10-04 12:54:32 +00:00
Felipe Pena
96efa3cc80
- Fixed bug #44991 (Compile Failure With freetds0.82) (patch by matthias at dsx dot at)
...
- MFB: Fix #35032 ; pdo_dblib doesn't find includes on some systems
2008-10-04 12:51:51 +00:00
Felipe Pena
e9119255c4
- Fix build
2008-10-04 12:44:58 +00:00
Felipe Pena
aa72e5c476
- Fixed:
...
- Some segfaults when no connection is open
- Warning about cfg_get_long (Kalle)
- New parameter parsing API
2008-10-03 17:18:31 +00:00
Pierre Joye
febc0cf611
- MFB: Declarations MUST BE done in the beginning of a context
2008-10-03 16:20:56 +00:00
Mikko Koppanen
723b88f964
Adds signal handling around popen/pclose in mail.c.
...
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:31:21 +00:00
Zoe Slattery
d39dae95f7
Committting tests for Olafur Waage
2008-10-02 20:07:15 +00:00
Antony Dovgal
746aa4485e
use HashPosition to prevent race condition in multithreaded env
2008-10-02 08:46:04 +00:00
Felipe Pena
14f94a13e1
- New test
2008-10-02 03:31:27 +00:00
Felipe Pena
37e56d8538
- Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state)
2008-10-02 03:30:54 +00:00
Johannes Schlüter
e7bd1e240c
Improve order in MINFO output
2008-10-01 21:35:27 +00:00
Ilia Alshanetsky
8710c3a916
MFB: Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
...
strings).
2008-10-01 20:31:02 +00:00
Johannes Schlüter
9fe2c9f531
Handle failed connections right
2008-10-01 19:46:58 +00:00
Johannes Schlüter
fed9b35095
Fix test
2008-10-01 19:45:02 +00:00
Dmitry Stogov
d8effdba55
Added ability to send user defined HTTP headers with SOAP request
2008-10-01 13:13:49 +00:00
Scott MacVicar
fb3d413bf0
Remove license condition that is no longer required.
2008-10-01 11:01:26 +00:00
Dmitry Stogov
22223dbd36
Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float)
2008-10-01 08:43:21 +00:00
Dmitry Stogov
292016006e
Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown)
2008-10-01 07:30:52 +00:00
Rob Richards
ad1c02c3f4
initialize keyresource
2008-09-30 14:40:58 +00:00
Greg Beaver
4c5830dd8d
fix test (thanks Tony)
2008-09-30 13:25:54 +00:00
Scott MacVicar
6c419ece68
SQLite3::escapeString can be static as it doesn't rely on an instance of SQLite
2008-09-30 11:13:43 +00:00
Greg Beaver
d86427434a
MFB: fix Bug #46194 : SIGSEGV when requested file is not found
2008-09-30 02:40:37 +00:00
Etienne Kneuss
41493606e6
Fix #46192 (Serialization of ArrayObject with objects as storage)
2008-09-29 22:42:49 +00:00
Johannes Schlüter
3b3112c2b6
Free persistent cache and improve MINFO output
2008-09-29 21:20:36 +00:00
Johannes Schlüter
983c7f1697
No mysqli stuff in ext/mysql
2008-09-29 21:15:16 +00:00
Rob Richards
00b84bb1fd
fix bug #46185 (importNode changes the namespace of an XML element)
...
add test
2008-09-29 16:52:03 +00:00
Rob Richards
9a17844924
fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null)
2008-09-28 11:59:54 +00:00
Arnaud Le Blanc
429b4293bb
Avoid updating upload progress information too frequently on high transfert
...
rate.
[DOC] (HEAD only)
Added session.upload_progress.min_freq
http://wiki.php.net/rfc/session_upload_progress
2008-09-27 09:08:41 +00:00
Greg Beaver
ae98beaf02
MFB: fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix
2008-09-26 23:35:11 +00:00
Greg Beaver
08139f40b3
MFB: fix bug #46178 : memory leak in ext/phar
2008-09-26 16:30:10 +00:00
Sanjay Mantoor
497e58ebf5
New testcases for array_diff_uassoc() function
2008-09-26 11:57:41 +00:00
Greg Beaver
87fe536371
MFB: fix another memory leak
2008-09-26 04:54:22 +00:00
Greg Beaver
59465a879d
MFB: fix obvious memory leak
2008-09-26 04:41:40 +00:00
Felipe Pena
f5a54a2250
- Fixed bug #46157 (PDOStatement::fetchObject prototype error)
2008-09-23 23:05:24 +00:00
Nuno Lopes
2c49010756
MFB: clean some dead code
2008-09-23 15:22:05 +00:00
Felipe Pena
4a0956cf09
- Fixed bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method)
2008-09-23 12:05:02 +00:00
Rob Richards
4c52444e6d
sz is long not zval**
2008-09-22 15:30:59 +00:00
Rob Richards
0f3597a2d2
fix hints causing phpdoc crash
2008-09-22 15:09:06 +00:00
Felipe Pena
ac5d2bd5f0
- Fixed bug #46088 (RegexIterator::accept - segfault)
2008-09-22 13:06:29 +00:00
Greg Beaver
0653e0a142
MF53: workaround for Bug #46147 for PHP < 5.2.7
2008-09-22 01:40:51 +00:00
Arnaud Le Blanc
993e1def13
Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c)
2008-09-20 22:12:31 +00:00
Felipe Pena
c14338f5a9
- Fixed bug #46067 (Collator methods - Segfault)
2008-09-20 22:06:18 +00:00
Dmitry Stogov
063c29f9ce
Fixed bug #46115 (Memory leak when calling a method using Reflection)
2008-09-19 12:48:45 +00:00
Andrey Hristov
82310caccb
Fix the libmysql build. Unintentionally broken by my last commit.
2008-09-19 11:39:53 +00:00
Andrey Hristov
722b9135d9
Fix for bug#46019 MySQLi::init() leaks memory
2008-09-19 11:35:37 +00:00
Scott MacVicar
f994f24c58
Show the library version currently loaded as well as the version the extension was compiled with. Useful for checking PHP is using the latest version.
2008-09-18 16:02:09 +00:00
Antony Dovgal
2e04ad2163
update tests
2008-09-18 12:15:56 +00:00
Scott MacVicar
8ee4a8fd7c
mhash algorithm parameter was modified when it was a zval, also update a test.
2008-09-18 11:52:12 +00:00
Rob Richards
b85af35818
fix bug #46099 (Xsltprocessor::setProfiling - memory leak)
2008-09-18 11:46:54 +00:00
Antony Dovgal
2285d87ced
fix test
2008-09-18 08:40:20 +00:00
Ilia Alshanetsky
c5bc3a1c72
MFB: Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
...
multiple calls).
2008-09-17 23:28:07 +00:00
Arnaud Le Blanc
4f66ff6e76
Added ability to cancel upload in rfc1867 handler
2008-09-17 17:22:07 +00:00
Johannes Schlüter
a89387b7e3
- Fix #44425 (Extending PDO/MySQL class with a __call() function doesn't work)
2008-09-16 23:34:31 +00:00
Felipe Pena
4fc7e69dd5
- Fixed bug #46071 (finfo_open() segfaults with wrong file name on BSD)
2008-09-16 22:21:40 +00:00
Antony Dovgal
22802419ba
fix segfault with serialize(new __PHP_Incomplete_Class) found by Felipe
...
add test
2008-09-16 14:36:10 +00:00
Andrey Hristov
a7226f1a03
Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for
...
STAT_LAST was accessing wrong memory thus overwritting method pointers.
Windows doesn't have atoll(), which is C99, C89 has only atoi() + atol().
Win has _atoi64, so use it.
2008-09-16 14:34:11 +00:00
Antony Dovgal
07aac764a5
fix compile warning
2008-09-16 09:48:07 +00:00
Scott MacVicar
355c6d4226
Fix memory leak in a few cases
2008-09-16 09:45:06 +00:00
Ilia Alshanetsky
815ac6539a
MFB: Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned
...
object).
2008-09-16 00:38:55 +00:00
Scott MacVicar
71d0a46269
MFB Fixed bug #46086 (Segfault when accessing fileinfo class property)
2008-09-15 22:15:16 +00:00
Andrey Hristov
1eb634c0e3
Forgot to merge these changes - Float conversion
2008-09-15 18:10:38 +00:00
Andrey Hristov
9b48b002f6
Add float conversions too. Float users should understand how float works!!!
2008-09-15 18:07:58 +00:00
Felipe Pena
e27148f736
- Added E_ERROR in constructors
2008-09-15 18:04:18 +00:00
Derick Rethans
397dc60971
- Updated to version 2008.6 (2008f)
2008-09-15 18:02:49 +00:00
Derick Rethans
9cd469b655
- Updated to version
...
Notice: Undefined offset: 1 in Command line code on line 1
Call Stack:
0.0002 660592 1. {main}() Command line code:0
.
Notice: Undefined offset: 2 in Command line code on line 1
Call Stack:
0.0002 660592 1. {main}() Command line code:0
-96 ()
2008-09-15 18:00:59 +00:00
Andrey Hristov
02ae7e8737
Compile-in a string-to-int conversion for INT columns by default,
...
controlled by a ini setting.
2008-09-15 14:02:55 +00:00
Dmitry Stogov
f9f69a5373
Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
...
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Etienne Kneuss
4396e6ec11
Fix #45656 (new Class silenting exceptions in autoloaders)
2008-09-15 10:19:15 +00:00
Felix De Vliegher
c8ff440095
More fileinfo tests
2008-09-15 08:42:48 +00:00
Scott MacVicar
d95bc4293d
Sync libsqlite to 3.6.2 with some VC6 patches
2008-09-15 01:17:48 +00:00
Scott MacVicar
d33c7bbd96
MFB Fixed bug #46033 (Segfault when instantiating SQLite3Stmt and SQLite3Result)
2008-09-15 01:00:52 +00:00
Arnaud Le Blanc
c2f830ca21
MFB / fix tests
2008-09-14 14:57:26 +00:00
Arnaud Le Blanc
8225d21a2d
Fix str len in stripos when $offset argument is given
2008-09-14 14:56:34 +00:00
Arnaud Le Blanc
35fad44b7b
Fix leak in fgetc()
2008-09-14 14:55:50 +00:00
Nuno Lopes
3a9017fb72
sync with PHP 5.3: upgrade to pcre 7.8
2008-09-14 14:37:14 +00:00
Greg Beaver
32a20c3040
MFB: fix compile on IRIX with MIPSPro (Bug #46072 )
2008-09-14 06:46:57 +00:00
Greg Beaver
2f54ca9c7a
MFB: increase code coverage, fix bzip2-compressed alias in zip
2008-09-14 06:32:52 +00:00
Greg Beaver
8db86ad19e
MFB: fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:31:18 +00:00
Antony Dovgal
43034db4c1
actually reset stream position when finished
2008-09-13 21:32:15 +00:00
Greg Beaver
a32388a9dc
MFB: fix Bug #46060 : addEmptyDir() breaks
2008-09-13 20:57:15 +00:00
Moriyoshi Koizumi
09e9f4cda1
- Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
...
(noticed by Antony. Thanks!)
2008-09-13 19:50:26 +00:00
Moriyoshi Koizumi
3d9876cdbe
- Properly initialize/finalize the library. This plugs the leaks caused by
...
onig_new().
2008-09-13 02:32:51 +00:00
Moriyoshi Koizumi
5f6083c47f
- Adding tests.
2008-09-13 00:30:31 +00:00
Moriyoshi Koizumi
bcd68d0985
- WS
2008-09-13 00:23:35 +00:00
Moriyoshi Koizumi
23f6c6cf9b
- mb_encoding_aliases() is more consistent with mb_preferred_mime_name()
...
despite the unconformance with the naming convention.
2008-09-13 00:22:10 +00:00
Moriyoshi Koizumi
abedda418b
- Add missing =DIR
2008-09-13 00:14:16 +00:00
Moriyoshi Koizumi
2f645879e6
- The mb_list_* issue has been resolved in the following way:
...
- Keep the same prototype as 5.2 for mb_list_encodings().
- Add mb_list_encoding_aliases() with the mandatory parameter.
- Remove mb_list_mime_names() as the list can be made from iteration
on mb_list_encodings() with mb_preferred_mime_name().
2008-09-12 23:59:51 +00:00
Moriyoshi Koizumi
7bf6b36b19
* Use memcmp() for binary safety.
2008-09-12 23:34:45 +00:00
Arnaud Le Blanc
2f0b63b6df
Add tests for pcntl
2008-09-12 19:49:38 +00:00
Arnaud Le Blanc
4a254a0a5e
initialize optional args
2008-09-12 19:49:04 +00:00
Felipe Pena
9c9ee1a71c
- Fixed endless loop and segfault
2008-09-12 17:30:53 +00:00
Felipe Pena
4768abe05f
- Missing argument to type "t"
2008-09-12 16:24:12 +00:00
Arnaud Le Blanc
2f52949fec
make pharcommand.inc works without ereg
2008-09-12 16:08:42 +00:00
Andrey Hristov
5b93dff141
- More statistics
...
- Fixed endless loop - mysqlnd_stmt_next_result() returned FAIL but as it
is defined to be 1 (and PASS is 0), checking for mysqlnd_stmt_more_result()
was successful although we were expecting a FAIL.
2008-09-12 15:06:55 +00:00
Arnaud Le Blanc
f9bbb14f8e
MFB skipif
2008-09-12 12:17:48 +00:00
Arnaud Le Blanc
42a41b9484
Fix test
2008-09-12 12:14:28 +00:00
Antony Dovgal
63ffff111c
fix typo
...
test before commit!
2008-09-12 10:30:18 +00:00
Felipe Pena
a26fab9f6b
- Fixed unexpected zval changes
2008-09-12 01:10:56 +00:00
Ilia Alshanetsky
f267153613
MFB: Fixed bug #45382 (timeout bug in stream_socket_enable_crypto).
2008-09-11 23:56:57 +00:00
Lars Strojny
7949c4d771
prev()-tests by Iain Lewis <ilewis@uk.ibm.com>
2008-09-11 18:21:24 +00:00
Arnaud Le Blanc
962cc9d9c8
Fix test
2008-09-11 15:47:56 +00:00
Arnaud Le Blanc
8483399c08
Fix invalid free
2008-09-11 15:45:29 +00:00
Arnaud Le Blanc
f49c3c98bc
Fixed #46053 (SplFileObject::seek - Endless loop)
2008-09-11 15:31:48 +00:00
Arnaud Le Blanc
f327994df3
Fixed #46051 (SplFileInfo::openFile - memory overlap)
2008-09-11 15:22:17 +00:00
Rob Richards
5f50350ca9
fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
...
add test
2008-09-11 14:20:30 +00:00
Rob Richards
bdb50267f7
fix bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
...
add test
2008-09-11 14:16:36 +00:00
Antony Dovgal
542be32668
fix test
2008-09-11 13:38:06 +00:00
Arnaud Le Blanc
ef1b4f2698
Added tests
2008-09-11 11:52:02 +00:00
Arnaud Le Blanc
870c5e1c31
Implemented ability to provide upload progress feedback through session
...
data.
2008-09-11 11:51:07 +00:00
Sanjay Mantoor
5190b089be
New testcases for array_intersect_key() function
2008-09-11 10:41:01 +00:00
Greg Beaver
a2fdf4bbcc
remove weird relic of development past that somehow made it in here on the last commit
2008-09-11 03:33:10 +00:00
Greg Beaver
6391270b85
MFPHP5: fix Bug #46032 : PharData::__construct wrong memory read
2008-09-11 03:29:42 +00:00
Stanislav Malyshev
3a55154b6b
add some windows-style INI entries to tests
2008-09-11 00:50:08 +00:00
Ilia Alshanetsky
79d8631fea
MFB: Fixed bug #46042 (memory leaks with reflection of
...
mb_convert_encoding())
2008-09-10 23:19:50 +00:00
Rob Richards
da5e36b702
fix bug #46003 (isset on nonexisting node return unexpected results)
...
add test
2008-09-10 16:28:20 +00:00
Rob Richards
e362e66375
fix bug #46029 (Segfault in DOMText when using with Reflection)
2008-09-10 15:39:43 +00:00
Rob Richards
9068c264be
fix bug #45553 (Using XPath for attributes with a namespace does not work)
...
add test
2008-09-10 11:20:35 +00:00
Antony Dovgal
b38730fcc9
check for NULL before freeing
2008-09-10 07:31:12 +00:00
Felipe Pena
c031df9520
- New tests
2008-09-10 00:09:30 +00:00
Felipe Pena
ba2f87b506
- Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
...
Fixed bugs:
#45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
#18916 (xmlrpc_set_type() "not working")
2008-09-10 00:05:26 +00:00
Arnaud Le Blanc
cee365dbf0
Fixed bug #46031 (Segfault in AppendIterator::next)
2008-09-09 19:43:52 +00:00
Stanislav Malyshev
d2a57ceac9
update tests from 5.x
2008-09-08 22:58:31 +00:00
Stanislav Malyshev
49d72a9ac5
fix datefmt_parse function
2008-09-08 22:55:02 +00:00
Felipe Pena
edb34ed424
- Changed error level E_ERROR into E_WARNING in parameter validation
2008-09-08 19:34:48 +00:00
Felipe Pena
1ae8e8b94e
- Fixed some wrong format parameters
2008-09-08 01:30:55 +00:00
Felipe Pena
028d0cd2dd
- Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode)
2008-09-07 22:53:20 +00:00