Andrey Hristov
9a2cc0ce67
Put these in an ifdef because they are not used at all if the zval cache
...
is off.
2009-06-11 17:54:04 +00:00
Pierre Joye
f2fcd8fb29
- silent warning and make it less ambiguous
2009-06-11 14:36:48 +00:00
andy wharmby
ec0cff39c7
New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64
2009-06-11 12:31:00 +00:00
Johannes Schlüter
11340cf299
MFH: Use a better extension version
2009-06-11 10:18:08 +00:00
Antony Dovgal
efa7b5c4c8
MFH: fix bug #48518 (curl crashes when writing into invalid file handle)
2009-06-11 09:46:43 +00:00
Antony Dovgal
0c8e557621
reapply the fix
2009-06-11 09:43:59 +00:00
Hannes Magnusson
4ed202e185
MFH: Mark spl as required and fix extension loading order
...
# Not needed in 5.2 as the simplexmliterator is part of spl there
2009-06-11 09:41:15 +00:00
Andrey Hristov
28c8d25dca
MFH:
...
Protect the code when variable is NULL, which should never happen, but
anyway, you know about "never happens" :)
2009-06-11 08:52:06 +00:00
Andrey Hristov
cff09ba5df
MFH:
...
Check the pointer before calling a function on it, or we will crash.
This is a very rare situation where the server is totally broken.
2009-06-11 08:35:47 +00:00
Andrey Hristov
a3b85c28c6
Sync with PHP6 - TSRMLS_FETCH
...
Extract reference decrement in own function
Remove PHPAPI of a function and make it static as it is not called
externally
2009-06-11 08:30:08 +00:00
Felipe Pena
8da7275f1b
- MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)
2009-06-10 19:01:17 +00:00
Pierre Joye
1cc5bc31b9
- check for static lib as well
2009-06-10 15:44:51 +00:00
Antony Dovgal
ea8d871a01
revert the fix for a while
2009-06-10 11:53:58 +00:00
Antony Dovgal
029f42dc63
MFH: fix arginfo for curl_multi_info_read()
2009-06-10 11:10:01 +00:00
Pierre Joye
dfb8717c1e
- put mpir headers in their own directory
2009-06-10 09:59:21 +00:00
andy wharmby
c0977c826e
Fix test - remove bogus variation
2009-06-09 20:18:31 +00:00
Scott MacVicar
fc8426ad31
MFH Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
...
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:58:07 +00:00
Pierre Joye
49666eece6
#41874 , separate STDOUT and STDERR in exec functions
2009-06-09 00:25:37 +00:00
Derick Rethans
6421bb34f8
- Updated to version 2009.9 (2009i)
2009-06-08 13:53:34 +00:00
Ilia Alshanetsky
ae5a233a62
Fixed test
2009-06-08 12:31:08 +00:00
Andrey Hristov
ec777b89f4
Merge with HEAD. Someone committed changes to HEAD and did not merge back to
...
the branch.
Also switch off the zval cache, for now.
2009-06-08 10:20:27 +00:00
Pierre Joye
4cb1d57fd5
- sync with 1.0.2, improve perf x86-64 (patch by Solar Designer)
2009-06-08 08:44:15 +00:00
Scott MacVicar
40521699ce
MFH make SQLite3::enableExceptions() return the previous value.
2009-06-08 02:15:54 +00:00
Patrick Allaert
4aca43008f
MFH: Removed credit
2009-06-07 21:27:19 +00:00
Matt Wilmas
dca18b68d1
MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
...
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Patrick Allaert
10b559c28c
MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results)
2009-06-07 13:07:58 +00:00
Matt Wilmas
1fa3b21c15
MFH: Fixed error message grammar:
...
- "cannot" instead of "can not" (meaning "also can")
- "than" instead of "then" (Hint: "then" should hardly be needed;
you're not telling the order in which to do something)
... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Matt Wilmas
d55300298e
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
2009-06-05 18:50:32 +00:00
Matt Wilmas
a80be6827d
MFH: Fixed tests again after double->long conversion change (to match 5.2)
2009-06-05 17:15:33 +00:00
Greg Beaver
fb86c3f7a2
MFH: fixed isset() on sub-directories (isset("blah") if file "blah/foo.php" exists)
2009-06-05 04:46:49 +00:00
Greg Beaver
a8e7103bbe
MFPECL: fix security vulnerability in phar's handling of long tar filenames
2009-06-04 19:59:09 +00:00
Matt Wilmas
26cde1ee2f
MFH: Updated tests after double->long conversion change (basically to match 5.2)
...
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Andrei Zmievski
1787a2272a
MFB
2009-06-04 18:17:43 +00:00
Etienne Kneuss
b8d64e4085
MFH: Include other flags as well
2009-06-04 14:46:26 +00:00
Hannes Magnusson
2a257adda9
MFH: Fixed creating directory structure when extracting phars
2009-06-04 12:22:32 +00:00
Felipe Pena
1504c700be
- Fixed tests
2009-06-04 01:15:12 +00:00
Brian Shire
b39f215173
MFH: Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning
2009-06-03 19:37:26 +00:00
Ilia Alshanetsky
2c31cd513b
Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL
...
SOAP services)
#original patch by lordelph at gmail dot com
2009-06-03 12:39:50 +00:00
Zoe Slattery
2e8ad7f7d1
Commiting testfest tests from tek
2009-06-03 12:30:40 +00:00
Pierre Joye
472d000289
- fix title
2009-06-03 08:31:24 +00:00
Pierre Joye
2f6f336205
- fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link
2009-06-03 07:56:53 +00:00
Kalle Sommer Nielsen
f763fbb1ee
MFH: config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me
2009-06-03 01:19:33 +00:00
Ilia Alshanetsky
c1c9645128
Fixed test
2009-06-02 12:19:34 +00:00
Ilia Alshanetsky
083ed5b3e5
Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values)
2009-06-01 13:10:18 +00:00
Zoe Slattery
9dc6f2a873
Fixes to work on Windows as well as Linux
2009-06-01 09:01:06 +00:00
Stanislav Malyshev
2d6377e322
fix for #48247
2009-05-31 21:28:38 +00:00
Andrei Zmievski
77beb62c5f
Fix the build.
2009-05-31 18:55:10 +00:00
Ilia Alshanetsky
7c3e7f88c4
Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing)
...
# Original patch by simonov at gmail dot com
2009-05-31 14:11:04 +00:00
Jani Taskinen
7012d0967c
MFH: no dots in errors
2009-05-31 13:51:08 +00:00
Kalle Sommer Nielsen
80bc751be1
This shouldn't have been in there
2009-05-31 11:16:46 +00:00
Andrei Zmievski
efc0927f4f
Expose encode/decode API.
2009-05-31 01:44:07 +00:00
Ulf Wendel
1ad1a2a0af
MFH - Fixing tests - messages/warnings can vary by version
2009-05-29 13:37:08 +00:00
Ulf Wendel
775cc0ca20
MFH - Updating test to reflect API changes.
2009-05-29 13:23:01 +00:00
Ulf Wendel
13d92e6957
MFH - Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does...
2009-05-29 13:12:39 +00:00
Andrey Hristov
c1d46eb502
MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x
2009-05-29 13:09:47 +00:00
Ulf Wendel
f3f1256332
MFH - 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s
2009-05-29 13:02:43 +00:00
Ulf Wendel
6252b5ca20
MFH - Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'.
2009-05-29 12:55:55 +00:00
Andrey Hristov
ccf0665170
MFH:Fix for the failing mysql_stmt_execute() test. Data was cleaned after
...
stmt_reset() but it should stay and be freed as later as next stmt_execute()
2009-05-29 12:19:40 +00:00
Ulf Wendel
3f17909a60
MFH - 'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself.
2009-05-29 11:59:26 +00:00
Zoe Slattery
4085d06822
better fix
2009-05-29 11:46:42 +00:00
Ulf Wendel
2445a242ec
MFH - Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189
2009-05-29 11:01:06 +00:00
Ulf Wendel
a027a64d73
MFH: Weaker test - libmysql/server error messages can differ by version
2009-05-29 10:34:23 +00:00
Ulf Wendel
396f5803e8
MFH - Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land.
2009-05-29 10:25:49 +00:00
Ulf Wendel
19bdbc49c3
MFH - Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184
2009-05-29 10:15:50 +00:00
Zoe Slattery
c3bcd7d365
fixing to work with older levels of libcurl
2009-05-29 09:46:11 +00:00
Andrey Hristov
a3aaa2398d
MFH:The option has changed the name, hence we change the test
2009-05-29 08:58:32 +00:00
Andrey Hristov
133296f962
MFH:Fix a very well hidden error because of not being careful with CPP.
...
I usually don't make this mistake :)
2009-05-29 08:05:38 +00:00
Scott MacVicar
4044f880e8
MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here.
2009-05-28 21:57:24 +00:00
Ulf Wendel
19194ff51b
MFH - Asynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW who works on Connector/C.
2009-05-28 18:57:34 +00:00
Ulf Wendel
2eccc6f2bf
MFH - Andrey needs to have a look at this one. The bug report itself is bogus. However, the bug report shows a result set and that is wrong.
2009-05-28 18:28:08 +00:00
Andrey Hristov
fe55da71bb
MFH:
...
Forgot to commit this one, of the ANSI_QUOTES fame
2009-05-28 18:10:40 +00:00
Andrey Hristov
cabce152f9
MFH:Fix again the tests for ANSI_QUOTES
2009-05-28 18:00:28 +00:00
Andrey Hristov
804f6138a6
MFH:Fix a valgrind warning as well as more trace log information
2009-05-28 17:49:29 +00:00
Andrey Hristov
76d091d5f5
MFH:Fix a problem with cursors, which did not happen with unbuffered PS for
...
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.
2009-05-28 16:35:41 +00:00
Ulf Wendel
4645f51360
MFH - I had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I broke (part 1)
2009-05-28 15:49:14 +00:00
Ulf Wendel
7926037318
MFH - what a wonderful word. After the change in HEAD its easy to do a merge. The merge removes all UEXPECTF sections from the old days. Yes, there have been UEXPECTFs in 5_3. I hope PHP 6 won't change again over time... :-)
2009-05-28 14:33:43 +00:00
Antony Dovgal
31c2c5ffb7
fix test
2009-05-28 13:56:44 +00:00
Pierre Joye
f002287eb3
- MFH: #48378 , exif_read_data() segfaults on certain corrupted .jpeg files
2009-05-28 13:48:32 +00:00
Arnaud Le Blanc
23a25db653
MFH: New test
2009-05-28 13:22:28 +00:00
Andrey Hristov
6c4e8fa4f9
MFH:
...
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.
2009-05-28 11:47:48 +00:00
Andrey Hristov
90a8a7f857
MFH:Fix a test, UNSIGNED is expected
2009-05-28 10:16:41 +00:00
Arnaud Le Blanc
6a9aa30d85
MFB52: Fix "request_startup() for zlib module failed" when client does not
...
accepts compression and zlib.output_compression is On
# (not in HEAD)
2009-05-28 10:15:14 +00:00
Andrey Hristov
04d8609e9f
MFH: Fix failures when the server is running with ANSI_QUOTES
2009-05-28 09:58:36 +00:00
Scott MacVicar
0062120464
MFH sync SQLite 3.6.14.2
2009-05-28 03:20:33 +00:00
Pierre Joye
2a93efcea3
- fix build, stderr cannot be used as var or struct member
2009-05-27 22:35:26 +00:00
Andrey Hristov
bf1a698e51
MFH:
...
Less warnings by usage of proper modifier
2009-05-27 20:05:37 +00:00
Andrey Hristov
91a4502914
MFH:because we use int64_t we need corresponding printf modifiers. the type
...
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
2009-05-27 19:57:11 +00:00
Andrey Hristov
07fc51d559
MFH: Fix tests when the server is running with ANSI_QUOTES
2009-05-27 18:18:58 +00:00
Ulf Wendel
6cf02c738b
Crappy anonymous MySQL user account... trying to make the test more portable.
2009-05-27 17:54:30 +00:00
Ulf Wendel
774f562375
The test is bogus as long as there is no (proper) way to detect from the PHP userland if persistent connections do a change user or not. If they do is controlled by define at the moment.
2009-05-27 17:52:32 +00:00
Ulf Wendel
b3645db1ce
Testing a little further into the direction of a possible mysqlnd vs. libmysql compatibility break or a libmysql bug. It is not clearly stated in the MySQL C-API documentation what excactly happens on stmt_reset().
2009-05-27 17:50:09 +00:00
Ulf Wendel
a39d92c144
Trying to get test failures down by fixing tests.
2009-05-27 17:46:14 +00:00
Pierre Joye
45832feb40
- fix build
2009-05-27 15:16:18 +00:00
Andrey Hristov
10bc558aca
MFH: Revert in regard of my_ulonglong which should be used instead of long
...
which can be anything.
2009-05-27 15:05:28 +00:00
Pierre Joye
7f6fa6ce1c
- fix build on unix with bundled gd
2009-05-27 13:48:13 +00:00
Antony Dovgal
988b89aaa3
MFH: fix compile warnings
2009-05-27 13:42:17 +00:00
Pierre Joye
f726afbfeb
- [DOC] always enable imagecolormatch
2009-05-27 08:18:24 +00:00
Pierre Joye
59ec80c572
- MFH: [DOC] always enable imagerotate (bundled or system gd)
2009-05-27 07:18:05 +00:00
Pierre Joye
a008f130cd
- MFH: [DOC] - add image(filled)ellipse to the compat layer (work around a bug in debian too, function is declared but not present in the lib...)
2009-05-26 20:14:31 +00:00
Jani Taskinen
1296356489
- Test for bug #48203
2009-05-26 17:19:23 +00:00