Commit Graph

26021 Commits

Author SHA1 Message Date
Arpad Ray
b52256c5be add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions 2011-08-29 20:23:34 +00:00
Derick Rethans
6edfc470fa - Updated to version 2011.9 (2011i) 2011-08-29 16:37:56 +00:00
Hannes Magnusson
25352ba350 Fixed bug#53872 (internal corruption of phar) 2011-08-29 16:05:45 +00:00
Gwynne Raskind
81ee8a6c7b Add test for #53946 to 5.4 (missed it when committing revision 315707) 2011-08-29 14:57:53 +00:00
Gwynne Raskind
06292974b1 Add unescaped Unicode encoding to json_encode(). Closes bug #53946. Patch by Irker and Gwynne. 2011-08-29 14:56:19 +00:00
Hannes Magnusson
58747dff3a Changed error messages 2011-08-29 14:29:40 +00:00
Hannes Magnusson
8a83fee12a Fixed bug#52013 (Unable to decompress files in a compressed phar) 2011-08-29 14:19:54 +00:00
Hannes Magnusson
5519b2ebe1 The Phar class extends RecursiveDirectoryIterator, which has changed the way it ensures its ctor is called 2011-08-29 14:17:41 +00:00
Christian Stocker
4297b67aee fix xsl date tests 2011-08-29 11:44:30 +00:00
Pierre Joye
7246759277 - fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM cannot be done before either 2011-08-29 10:10:05 +00:00
Rasmus Lerdorf
9382deede2 Let's do more than hope (as per the comment in the test code) that we
don't hit the memory limit, let's disable the limit for this test
since the limit is getting hit by many people
2011-08-29 08:21:42 +00:00
Rasmus Lerdorf
f34ee8a1bd The link error on an out-of-sync command doesn't start with 0
uwe/andrey please double-check
2011-08-29 06:47:07 +00:00
Rasmus Lerdorf
7c7aa30322 Fix another broken test. root can read 0200 files. 2011-08-29 06:19:40 +00:00
Gustavo André dos Santos Lopes
0d7e6a73d6 - Added libxml_set_external_entity_loader(). 2011-08-29 05:00:26 +00:00
Rui Hirokawa
402c8cb70e MFH: reduced footprint for sjis-mac 2011-08-28 04:32:33 +00:00
Boris Lytochkin
d28ae7654d merge from trunk:
export ERRNO_OID_PARSING_ERROR constant:
raise it evry time OID parsing has failed
2011-08-27 08:29:19 +00:00
Boris Lytochkin
4f1005035a merge from trunk:
reformat OID parsing procedure,
fail whole SNMP query on single OID parsing failure
2011-08-27 07:33:27 +00:00
Rui Hirokawa
4a53bdab0b MFH: corrected valid unicode area. 2011-08-27 01:25:24 +00:00
Rui Hirokawa
d19bfc5d82 MFH: update pua conversion tables. 2011-08-27 00:08:02 +00:00
Andrey Hristov
da2839f71d fix valgrind warnings in debug builds 2011-08-26 12:14:31 +00:00
Sebastian Bergmann
b04a052f70 Close #55490. 2011-08-26 07:40:31 +00:00
Boris Lytochkin
d7d90c403f tune test's README more per FR #55474 2011-08-25 06:00:11 +00:00
Rui Hirokawa
942dd584d3 MFH: added iso2022jp-mobile and emoji unsuppoted in unicode 6.0. 2011-08-24 15:29:17 +00:00
Xinchen Hui
d4a50542ea Eliminated compile warning "comparison is always false due to limited range of data type"
Fixed test failed due to mysql_pconnect throw warning
Fixed test failed when host mysql server doesn't listen on 3306
2011-08-24 10:15:47 +00:00
Scott MacVicar
3d5385dda5 Fix typo in tests for ldap bug #42060 2011-08-24 06:50:39 +00:00
Boris Lytochkin
1cd8b8c80b apply docs fixes suggested in BR #55474 2011-08-23 19:15:58 +00:00
Daniel Convissor
ad3ecfc8c1 Fix differences in some sub() results that were causing tests to fail. 2011-08-23 16:40:19 +00:00
Christopher Jones
9e830aa505 Sync date with actual PECL release date for correctness 2011-08-22 23:56:34 +00:00
Christopher Jones
5ef712fd46 Remove duplicated test 2011-08-22 18:05:11 +00:00
Daniel Convissor
41403b704c Fix spring tests for dst/st transition second. 2011-08-22 14:47:12 +00:00
Andrey Hristov
ee96b2df8f Don't run the test on windows, Unix specific 2011-08-22 11:07:35 +00:00
Andrey Hristov
0aa6354a2d Fix Bug #55473 mysql_pconnect leaks file descriptors on reconnect
The fix is for now in 5_4 and trunk, to be merged into 5_3 after 5.3.8
is packaged (expected today). The test case goes to all branches
2011-08-22 10:42:43 +00:00
Pierre Joye
1d4f05bb31 - fix typo & build 2011-08-22 07:39:09 +00:00
Rui Hirokawa
84ee3a19db MFH: cleanup jisx0213 table. 2011-08-21 05:02:33 +00:00
Rui Hirokawa
80c431e00c MFH: speed improvement of jisx0213 conversion. 2011-08-21 02:23:33 +00:00
Boris Lytochkin
cbcf729a30 merge from trunk two commits:
Adding IPv6 support (FR #42918)
more code coverage
2011-08-20 16:10:48 +00:00
Rui Hirokawa
e2ccaeb9a6 MFH: removed SJIS-Mobile#*PUA. 2011-08-20 08:28:40 +00:00
Rui Hirokawa
d6303c7962 MFH: updated limbfl to 1.3.2 2011-08-20 07:29:21 +00:00
Stanislav Malyshev
51af64acf6 Unbreak crypt() (fix bug #55439)
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Pierre Joye
5f429c57e9 - Fixed bug #52461 (Incomplete doctype and missing xmlns) 2011-08-19 09:59:47 +00:00
Hannes Magnusson
db37076fc0 Once is generally enough 2011-08-17 12:26:43 +00:00
Andrey Hristov
34019766b6 compile out when PHP_DEBUG is not present 2011-08-17 11:15:55 +00:00
Felipe Pena
17abf879ed - Drop T_SCALAR_CAST 2011-08-16 12:13:35 +00:00
Hannes Magnusson
550980cfe5 Callable typehint following the rules of is_callable($arg, false); 2011-08-16 10:44:47 +00:00
Rui Hirokawa
bbdf05c1ed MFH: added gb18030 encoding to mbstring/libmbfl.~ 2011-08-14 14:11:29 +00:00
Rui Hirokawa
780d4996f6 MFH: 2011-08-13 13:19:18 +00:00
Christopher Jones
b53451b99e More test portability fixes mostly for gcov.php.net 2011-08-13 00:43:34 +00:00
Etienne Kneuss
b03860a935 Fix CID 593 Mark the missing break by an explicit comment, we DO intend to fall through here 2011-08-12 22:20:35 +00:00
Etienne Kneuss
bb7a93081e Fix CID 538/539, explicitely check for something that should never occur 2011-08-12 22:05:10 +00:00
Etienne Kneuss
cf2db20123 Fix CID 547, make static analyzer happy 2011-08-12 21:57:54 +00:00
Etienne Kneuss
32e67db84c Fix CID 1211, unused intern variable 2011-08-12 21:46:40 +00:00
Andrey Hristov
d803c2f827 prevent a crash if cs is NULL, which can happen with MS and lazy connections 2011-08-12 14:55:00 +00:00
Ulf Wendel
6e54341273 MySQL 5.6 fractional seconds and PS 2011-08-12 11:51:44 +00:00
Ulf Wendel
4bb63cb7a0 Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed? 2011-08-12 11:23:36 +00:00
Ulf Wendel
ae89daff6f Andrey, please have a look. This should not cause errors. 2011-08-12 11:23:16 +00:00
Xinchen Hui
ba9546b8e5 Omitted GCC warning "comparison is always false" 2011-08-12 07:47:03 +00:00
Ilia Alshanetsky
9e9d2a9ce6 Missing file relating to previous commit 2011-08-11 13:02:16 +00:00
Ilia Alshanetsky
46513c07dc Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path) 2011-08-11 13:01:52 +00:00
Pierre Joye
a6a81e29d5 - fix build (introduce by r314641) 2011-08-11 07:11:39 +00:00
Rasmus Lerdorf
14948624af Use HOST_NAME_MAX constant here instead for the gethostname() func 2011-08-10 17:40:56 +00:00
Ilia Alshanetsky
e4a64006ab Fix win32 build 2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
38f05cc775 Fixed memset usage (identified by coverity) 2011-08-10 15:30:07 +00:00
Andrey Hristov
d627115800 relax constraint 2011-08-10 14:12:24 +00:00
Dmitry Stogov
5cb244aad2 Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself) 2011-08-10 13:44:48 +00:00
Xinchen Hui
5540b64a3d Eliminated compiler's warnings 2011-08-10 11:59:11 +00:00
Pierrick Charron
2603ceb0b1 Remove unused variable 2011-08-10 01:12:52 +00:00
Ilia Alshanetsky
47632aa725 Make static analyzers happy 2011-08-09 14:11:56 +00:00
Ilia Alshanetsky
8c846a6f74 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Xinchen Hui
64fc565765 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Xinchen Hui
c109640b1a Avoiding strcpy usage, Make static analyzer happy 2011-08-09 09:35:42 +00:00
Scott MacVicar
27d50d6470 Update SQLite3 to the latest version 2011-08-09 07:31:34 +00:00
Xinchen Hui
d09d0c83cb Eliminated compiler's warnings and make static analyzer silent 2011-08-09 05:11:19 +00:00
Gustavo André dos Santos Lopes
a61534eab8 - Elided unused argument in internal linkage function. 2011-08-09 00:40:45 +00:00
Xinchen Hui
e21e854bc4 Remove unnecessary(no sense) memset and making the static analyzer silent 2011-08-08 16:57:46 +00:00
Ilia Alshanetsky
9c297247ef Another build fix relating to previous DOM commit 2011-08-08 16:49:43 +00:00
Rui Hirokawa
ee0bb4d413 MFH: reduced memory footprint for codepages. 2011-08-08 16:15:39 +00:00
Ilia Alshanetsky
0b3cb3f220 Fixed build 2011-08-08 16:06:40 +00:00
Ilia Alshanetsky
3726c5c67a Removal of deadcode identified by coverity 2011-08-08 13:45:18 +00:00
Ilia Alshanetsky
4122a1dd9a Make static analyzers happy 2011-08-08 12:10:27 +00:00
Xinchen Hui
a8a0a6c3f1 Sizeof mismatch 2011-08-08 08:49:55 +00:00
Xinchen Hui
a7852bcb00 Make codes more clearly, and make the static analyzer silent.. 2011-08-08 06:49:17 +00:00
Xinchen Hui
dbd405a001 Wrong sizeof 2011-08-08 02:33:03 +00:00
Xinchen Hui
fb617c33d4 Remove no sense statements 2011-08-08 00:47:40 +00:00
Ilia Alshanetsky
1271828ee4 Avoid strcpy() usage 2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
9db1c59325 Fixes for variety of issues identified by coverity scan 2011-08-07 23:46:00 +00:00
Gwynne Raskind
265367e816 possible use without init fixed 2011-08-07 18:12:52 +00:00
Rasmus Lerdorf
d4a716b19d Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
ee729585b3 Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat. 2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
cc19cc8b18 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Gwynne Raskind
e8281417fd Fixes build issues with ext/intl. This appears to be related to bug #55019, but since the functions in question are used elsewhere, the solution is to de-inline rather than to make them static inline. 2011-08-07 15:12:34 +00:00
Gwynne Raskind
a1d6eaf6d6 fix for bug #55019 2011-08-07 15:09:42 +00:00
Gwynne Raskind
1607c8901d Add missing php.h include 2011-08-07 15:07:53 +00:00
Xinchen Hui
376a04e14f revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
59b7b2701c Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Xinchen Hui
cc42ac9d9b Initialize variable with fixed value for avoiding compile warnings 2011-08-07 11:13:27 +00:00
Pierrick Charron
e03d19a00e Remove unused variables 2011-08-07 06:37:22 +00:00
Pierrick Charron
a8ed880c64 class entry is never used 2011-08-07 06:04:11 +00:00
Pierrick Charron
4f0c7670ea Pointer returned is never used 2011-08-07 05:46:31 +00:00
Rasmus Lerdorf
b7a92c9709 I'm pretty sure you didn't mean to multiple by the size of a char* there
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review
2011-08-07 00:36:26 +00:00
Rasmus Lerdorf
5a448d23b2 These naked strcpy()s scare me 2011-08-07 00:18:38 +00:00