Commit Graph

26436 Commits

Author SHA1 Message Date
Ferenc Kovacs
11de3aeedb adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Andrey Hristov
7472c081b7 add files that weren't committed with the previous commit 2011-10-21 15:29:43 +00:00
Andrey Hristov
139813877c shift code around to two new files - mysqlnd_driver.c
and mysqlnd_ext_plugin.c (mysqlnd extension plugin)
2011-10-21 15:28:58 +00:00
Stanislav Malyshev
ed12ebc79c Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Xinchen Hui
b873f0ebf0 Fixed bug #60094 (C++ comment fails in c89) 2011-10-19 15:08:50 +00:00
Andrey Hristov
10e4419231 api_ext to reverse_api 2011-10-19 15:04:12 +00:00
Michael Wallner
849e7ae7aa Fix Bug #55801 Behavior of unserialize has changed:
(un)serialize in __wakeup/__sleep now use clean var_hashes
2011-10-19 10:09:24 +00:00
Daniel Convissor
99ed1585a7 Tests for the DST RFC. 2011-10-18 21:45:07 +00:00
Rui Hirokawa
e3c13d7961 fixed maximum byte length of utf8mb4. 2011-10-18 14:28:01 +00:00
Rui Hirokawa
ec2670a276 fixed byte length of utf-8. 2011-10-18 14:03:44 +00:00
Ilia Alshanetsky
65732af7da Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties) 2011-10-17 23:51:25 +00:00
Stanislav Malyshev
50339d8cf1 revert change, doesn't work 2011-10-16 02:43:50 +00:00
Stanislav Malyshev
3e289bb0f9 fix potential integer overflow 2011-10-15 23:57:33 +00:00
Stanislav Malyshev
379ab5ec22 fix openbasedir in test 2011-10-15 23:52:40 +00:00
Rui Hirokawa
fe92d64a4a updated bundled oniguruma regex library to 5.9.2. fixed bug #42290. 2011-10-15 08:55:53 +00:00
Rui Hirokawa
35ec732d92 added a missing emoji U+27BF. 2011-10-15 07:14:45 +00:00
Felipe Pena
cce94408e6 - Fixed bug #60048 (sa_len a #define on IRIX)
patch by: china at thewrittenword dot com
2011-10-13 22:56:05 +00:00
Andrey Hristov
badb5f2610 export this existing function 2011-10-12 16:18:02 +00:00
Felipe Pena
31d213930d - Fixed bug #60033 (Incorrectly merged PDO dblib patches break uniqueidentifier column type) 2011-10-12 01:24:51 +00:00
Felipe Pena
261353382f - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
2011-10-12 01:03:15 +00:00
Andrey Hristov
a498bc62b8 MYSQLND_NET refactored not to use any direct reference to MYSQLND (the connection)
QC will need an ifdef-layer to compile with this
2011-10-10 20:49:28 +00:00
Andrey Hristov
103d60fad0 last stat fix 2011-10-10 15:45:56 +00:00
Andrey Hristov
063162be3a fix test after stat change 2011-10-10 14:39:22 +00:00
Andrey Hristov
e1e147aa4e fix another test after stat change 2011-10-10 14:33:07 +00:00
Andrey Hristov
4151194c5a fix test 2011-10-10 14:19:01 +00:00
Andrey Hristov
3468180085 fix test 2011-10-10 13:25:45 +00:00
Andrey Hristov
93d6c4767b fix test 2011-10-10 12:50:09 +00:00
Derick Rethans
87ecd87b6f - Updated to version 2011.12 (2011l) 2011-10-10 08:05:55 +00:00
Christian Stocker
65ee77c4b0 Added the xsl.security_prefs option to 5_4 and trunk and
mark it as deprecated for BC-reasons
Added tests for ini option and combination of both
2011-10-10 07:59:19 +00:00
Andrey Hristov
069e495b5f null the value before usage 2011-10-08 14:48:14 +00:00
Xinchen Hui
c8ff0fe254 Fix #55819 crash on mb_ereg_replace_callback
Need hirokawa to review this.
2011-10-07 04:24:04 +00:00
Andrey Hristov
00e9a1f942 Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
26dd8c52c4 Be consistent, add mysqli::stat property, as equivalent of mysqli_stat().
Fix for Bug #55859 mysqli->stat property access gives error
2011-10-06 11:25:05 +00:00
Andrey Hristov
5f6020bc4d try not to crash when closing persistent sockets, because EG(persistent_list)
is cleaned before the extensions' MSHUTDOWNs are called.
2011-10-06 00:45:58 +00:00
Andrey Hristov
303f8acd24 Fix bad cast which leads to crashes! 2011-10-05 18:51:15 +00:00
Pierre Joye
abf58318d2 - Revert r313616 (When we have a blocking SSL socket, respect the timeout
option, scottmac)

# This caused bug #55283 and #55848, we should investigate a proper solution without
# breaking anything.
2011-10-05 05:20:51 +00:00
Ilia Alshanetsky
75bdf86d61 Fixed bug #55750 (memory copy issue in sysvshm extension). 2011-10-03 18:17:12 +00:00
Felipe Pena
021b650a6a - Improve void arg check
- Removed unused variable
- Added check for empty tag in enchant_broker_request_dict() (to avoid assert warning)
2011-10-01 13:01:12 +00:00
Xinchen Hui
3e14579486 A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Hannes Magnusson
b4f6baf9aa Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY) 2011-09-30 14:17:23 +00:00
Hannes Magnusson
317f933cd6 Use the default stream context for FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator 2011-09-30 14:12:26 +00:00
Xinchen Hui
9eeac29cc3 Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Gustavo André dos Santos Lopes
4eb080226b - Fixed #55798: serialize followed by unserialize with numeric object prop.
gives integer prop.
2011-09-28 14:47:42 +00:00
Gustavo André dos Santos Lopes
5067e98390 - Oops missed return. Also improved the readability of a test. 2011-09-27 11:43:07 +00:00
Gustavo André dos Santos Lopes
9a723eb69c - Added tests and NEWS for r306475; see bug #55797.
- Removed now redundant previous overflow check, which relied on
  undefined behavior (wraparound) and was ignored in optimized builds.
2011-09-27 10:57:25 +00:00
Antony Dovgal
fad5288119 fix bug #55768 (PDO_OCI can't resume Oracle session after it's been killed) 2011-09-27 09:12:13 +00:00
Ferenc Kovacs
b6e4771e61 split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit 2011-09-27 00:53:41 +00:00
Ferenc Kovacs
d1d6911949 fix #49599, the eol-style is important here, as this is a regression test for #36459 2011-09-26 23:28:24 +00:00
Gustavo André dos Santos Lopes
e932aef17b - Fixed bug in SdnToGregorian (see comments on #53574, though that bug is about
another function). NEWS & tests tomorrow.
2011-09-26 22:38:21 +00:00
Christopher Jones
7c06ac560a Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000) 2011-09-26 19:13:06 +00:00
Derick Rethans
53634f7648 - Updated to version 2011.11 (2011k) 2011-09-26 17:23:00 +00:00
Pierre Joye
16f6347264 - be sure to check if the var ha not been removed between the two calls 2011-09-26 08:49:28 +00:00
Pierre Joye
2b8fe11dd8 - Fix bug #55622, better fix for this issue, old fix can break if sizeof(size_t) > sizeof(int) like on sparc 2011-09-26 08:38:03 +00:00
Johannes Schlüter
31ff0d156e - Fix folding 2011-09-25 13:06:09 +00:00
Johannes Schlüter
eb86165205 - Fix bug #55776 (PDORow to session bug) 2011-09-25 12:39:05 +00:00
Rui Hirokawa
6f7514a669 added test script for mb_ereg_replace_callback(). 2011-09-25 08:55:27 +00:00
Rui Hirokawa
9b1c6035d2 fixed seg faults for mb_ereg_replace_callback. 2011-09-25 08:33:43 +00:00
Rui Hirokawa
1297c0508a added mb_ereg_replace_callback(). 2011-09-25 08:01:54 +00:00
Xinchen Hui
6d2a0bd6cc Fix tests due to bison depened message format 2011-09-25 03:35:57 +00:00
Xinchen Hui
437f058814 Fix warning "implicit declaration of function `zend_fetch_debug_backtrace'" 2011-09-25 03:18:39 +00:00
Rui Hirokawa
cb17a1b216 added tests for #40685. 2011-09-24 02:11:48 +00:00
Rui Hirokawa
ac54ec22f5 fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:11:18 +00:00
Rasmus Lerdorf
657b661d40 Add a test and declare the local vars locally 2011-09-23 15:19:48 +00:00
Xinchen Hui
8cefbca521 Improve the warning message of incompatible arguments. (#55719)
And fix tests related.
2011-09-23 15:08:11 +00:00
Rasmus Lerdorf
659fc4b0f4 Fix for bug #55767 2011-09-23 13:16:37 +00:00
Rui Hirokawa
7dae4e5d39 added test script for pictogram. 2011-09-23 11:09:33 +00:00
Rui Hirokawa
f178684ffb fixed a bug in conversion table. 2011-09-23 11:08:34 +00:00
Ferenc Kovacs
54e570123c the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient 2011-09-22 22:29:28 +00:00
Ferenc Kovacs
471a5a1182 skip the interbase tests if cannot connect to the server 2011-09-22 22:07:02 +00:00
Ferenc Kovacs
73bed915c5 the julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to 2452162 2011-09-22 21:50:45 +00:00
Ferenc Kovacs
02f43cda38 it seems that easter_date doesn't use the date.timezone but the TZ environment variable, so it passing the return value of easter_date() to date() which uses the date.timezone will create wrong result. 2011-09-22 20:59:10 +00:00
Ilia Alshanetsky
d2d78d993d Removed unreachable code (stream == NULL check is done already) 2011-09-21 19:08:30 +00:00
Johannes Schlüter
a53c7127bf - Use the proper variable here. 2011-09-21 12:34:15 +00:00
Michael Wallner
f989a86500 fix r316992 2011-09-19 15:20:38 +00:00
Michael Wallner
8f857603b4 Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression 2011-09-19 14:37:00 +00:00
Johannes Schlüter
2817c5f3e7 - Fix folding 2011-09-19 12:31:06 +00:00
Pierre Joye
272180cb85 - fix build (macros mess) 2011-09-17 12:41:23 +00:00
Pierre Joye
7b2eeea2b4 - fix TS build 2011-09-17 10:24:18 +00:00
Xinchen Hui
212d210ac9 Fix Bug #55703(PHP crash when calling mysqli_fetch_fields)
Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html
2011-09-17 03:12:23 +00:00
Felipe Pena
ad9c9ed529 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-09-17 00:01:45 +00:00
Christopher Jones
ee026944fd Test portability fix 2011-09-16 19:56:32 +00:00
Pierre Joye
0ec7852b44 - add -win32 versions and skipif 2011-09-16 10:45:04 +00:00
Dmitry Stogov
938d956e2e Fixed Windows build 2011-09-16 06:55:43 +00:00
Christopher Jones
3e55ec1e93 Fix skipif for non zlib builds re message http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/phar/phar_object.c#351 2011-09-15 17:23:29 +00:00
Xinchen Hui
991c018131 Update libmagic.patch (patch reversed base on -r296679) 2011-09-15 15:53:49 +00:00
Xinchen Hui
f265c5a573 Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.
2011-09-15 07:09:43 +00:00
Xinchen Hui
9a6424e95d Forget commit to trunk 2011-09-14 15:45:02 +00:00
Arpad Ray
74e0985477 fix default session handler error message 2011-09-14 15:30:30 +00:00
Gustavo André dos Santos Lopes
0a74551c26 - ext/openssl/tests/bug36732.phpt more portable. 2011-09-14 10:55:46 +00:00
Pierre Joye
039fc22164 - fix text (encoding was broken with the previous commit) 2011-09-14 10:30:31 +00:00
Gustavo André dos Santos Lopes
8bf8989a4c - Fixed test ext/openssl/tests/004.phpt.
- Made ext/openssl/tests/bug55646.phpt more reproducible by giving it a custom
  openssl.cnf.
2011-09-14 09:56:59 +00:00
Xinchen Hui
c84f06db15 Fix tests 2011-09-14 06:48:26 +00:00
Xinchen Hui
cf26e0eddb Add test for bug #55688 2011-09-14 05:02:50 +00:00
Xinchen Hui
057aa683f1 Fix bug #55688 (Crash when calling SessionHandler::gc())
Need arpad to review this change
2011-09-14 04:10:45 +00:00
Xinchen Hui
872ff4f8c9 Fix warning "implicit declaration of function `vasprintf'" 2011-09-14 02:19:22 +00:00
Felipe Pena
a99f146ec4 - Fixed memory leak when calling SessionHandler::open() several times 2011-09-14 01:45:57 +00:00
Arpad Ray
465475a7a2 fix session oo tests for windows 2011-09-14 01:16:19 +00:00
Arpad Ray
45a96e0d5b fix zts break in r316688 2011-09-13 23:07:08 +00:00
Arpad Ray
5bc97c6cfa Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo) 2011-09-13 22:28:15 +00:00
Ferenc Kovacs
449497f162 I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation. 2011-09-13 21:06:06 +00:00
Daniel Convissor
f15c453242 Separate test for %a is no longer needed. 2011-09-13 20:31:02 +00:00
Ferenc Kovacs
3ad895cc17 fixing the tests, added the error_log= to the --INI-- so it should also pass for Stas 2011-09-13 19:56:42 +00:00
Ilia Alshanetsky
93763b11c9 Improve parameter handling cod 2011-09-13 16:36:29 +00:00
Pierre Joye
d2ff9ff591 - test passes now (and VC6 is not supported anymore) 2011-09-13 16:21:24 +00:00
Derick Rethans
37d1038958 - Removed support for putenv("TZ=..") for setting the timezone.
- Removed the timezone guessing algorithm in case the timezone isn't set with
  date.timezone or date_default_timezone_set(). Instead of a guessed timezone,
  "UTC" is now used instead.
2011-09-13 14:48:13 +00:00
Pierre Joye
43da6d64a9 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:58:03 +00:00
Pierre Joye
d4ed1e1f13 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:51:47 +00:00
Pierre Joye
f9b1b83136 - TZ auto detection varies, not always UTC 2011-09-13 13:42:03 +00:00
Pierre Joye
8b719e817e - TZ auto detection varies, not always UTC 2011-09-13 13:39:49 +00:00
Dmitry Stogov
e43ff1359e Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Pierre Joye
9b881b680c - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:26:48 +00:00
Xinchen Hui
84c94e29c9 Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543 2011-09-13 12:44:13 +00:00
Pierre Joye
3996135f68 - fix test on win, putenv is not supported for TZ and ext/date 2011-09-13 12:04:57 +00:00
Pierre Joye
4262382199 - skip on win, strftime uses system TZ 2011-09-12 23:31:22 +00:00
Gustavo André dos Santos Lopes
d7c7fe3587 - Test for bug #55646. 2011-09-12 20:05:07 +00:00
Stanislav Malyshev
ba04ba9c82 MFB crypt fix 2011-09-12 17:50:42 +00:00
Gustavo André dos Santos Lopes
1fbf911905 - Fixed bug #55646: textual data is returned in UTF-8, but is input in
another encoding. 5.4 only as this implies a BC break.
2011-09-12 17:23:10 +00:00
Hannes Magnusson
4653534643 Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Ilia Alshanetsky
3d3a6a3b96 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Derick Rethans
1e4dac2d58 - Updated to version 2011.10 (2011j) 2011-09-12 15:49:12 +00:00
Ulf Wendel
0290718b00 This should please gcov.php.net which hits error 1044 instead of 1049. 2011-09-12 15:05:10 +00:00
Tjerk Anne Meesters
7b1790bdfb Reverted changes in connect.inc based on Ulf's feedback
- Moved the ini_set() entries into a separate script 'setupdefault.inc'
- Let mysql_affected_rows and mysql_insert_id test cases use the newly created script

With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios.

Tested on all three dev lines with and without passing db credentials. No changes detected.
2011-09-12 14:35:45 +00:00
Ulf Wendel
1c688e06dd Fix typo. 2011-09-12 13:55:28 +00:00
Popa Adrian Marius
b5aad069ee fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object 2011-09-12 13:46:03 +00:00
Ulf Wendel
0024235874 Minor issue. Seems to fail the same way on various PHP + MySQL combinations. Setting XFAIL until we fix it. 2011-09-12 13:39:57 +00:00
Hannes Magnusson
4ff1539384 Allow replacement to be any scalar value 2011-09-12 13:21:57 +00:00
Rui Hirokawa
6074e38d37 fixed optional argument. 2011-09-12 13:20:05 +00:00
Ulf Wendel
49e693124f Hits libmysql/MySQL bug, works with mysqlnd 2011-09-12 13:14:16 +00:00
Pierre Joye
4891b29d6b - revert incorrect fix introduced in r316528 2011-09-12 12:59:52 +00:00
Christian Stocker
f8ffb5af1d Added test for XSL bug 54446 2011-09-12 12:44:49 +00:00
Ulf Wendel
76879f2cce Those will fail with MySQL 5.5. Running them because they have unveiled a crash, which has been fixed already. Setting to XFAIL, need to be decide if and/or how the functionality shall be supported. 2011-09-12 12:14:56 +00:00
Hannes Magnusson
7bb31903c8 Ensure we are working with strings here 2011-09-12 11:44:55 +00:00
Xinchen Hui
17858fc789 Merge from branch, make things consistent 2011-09-12 10:57:26 +00:00
Hannes Magnusson
d0dbb43935 Sync line ending with 5_4 2011-09-12 10:24:27 +00:00
Popa Adrian Marius
8b22751c24 fixes bug #55659 adn 006 test for firebird driver 2011-09-12 09:41:02 +00:00
Pierre Joye
5cb30970dc - unused var 2011-09-12 09:27:03 +00:00
Hannes Magnusson
8db792d1f2 Fixed issues when streams were closed before curl read/write from them, or cleaning
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Rui Hirokawa
0f7a2cd306 MFH: fixed test failure on win32. 2011-09-11 13:15:40 +00:00
Rui Hirokawa
b36a8754d1 fixed test failure on win32. 2011-09-11 13:04:21 +00:00
Rui Hirokawa
5ae70c757b fixed test case failures. 2011-09-11 12:29:00 +00:00
Rui Hirokawa
01bb437b85 fixed test case failures. 2011-09-11 12:12:24 +00:00
Rui Hirokawa
efd8563777 revert previous commit. 2011-09-11 03:57:31 +00:00
Rui Hirokawa
e7fa9ffc21 removed test script which depends on the removed register_globals. 2011-09-11 02:16:34 +00:00
Felipe Pena
77a08e1601 - Fix test 2011-09-10 13:02:00 +00:00
Stanislav Malyshev
2a6a890c46 Fix error message 2011-09-10 05:36:14 +00:00
Stanislav Malyshev
0fdeda6bf0 revert bad test change 2011-09-10 05:29:29 +00:00
Xinchen Hui
5e477ae1f8 Fixed Bug #55653(PS crash with libmysql when binding same variable as param and out)
Actually this caused by attempt to efree a INTERNED string
2011-09-10 03:51:16 +00:00
Ulf Wendel
6cb483cff8 Bug #55653 2011-09-09 12:12:08 +00:00
Hannes Magnusson
987c394143 Being smart and cleanup/rename/modify tests seconds before committing isn't very smart. 2011-09-09 08:28:57 +00:00
Pierre Joye
c35d34a10d - nuke unused var 2011-09-09 07:57:29 +00:00