Commit Graph

45677 Commits

Author SHA1 Message Date
andy wharmby
db6a41487d New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Dmitry Stogov
8f523cb33b Fixed bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry) 2009-08-17 07:41:22 +00:00
Ilia Alshanetsky
62448f6687 MFB: Added missing sanity checks around exif processing. 2009-08-16 14:32:32 +00:00
Felipe Pena
044a5f90b6 - Fix ZTS build && removed unused vars 2009-08-15 16:05:06 +00:00
Felipe Pena
620fc39fca - Add check 2009-08-15 14:46:34 +00:00
Stanislav Malyshev
721b51d2df cleanup string parameter parsing, fix some tests 2009-08-15 05:43:18 +00:00
Felipe Pena
e413825019 - Improved param. parsing for ldap_read(), ldap_search() and ldap_list() 2009-08-15 00:52:31 +00:00
Dmitry Stogov
7511c183ff Fixed crash in usort() and uasort() in case user comparison function modifyes th
e array.
2009-08-14 06:21:49 +00:00
Etienne Kneuss
642251da3c Fix several recursion problems when var_dump'ing self-referencing objects 2009-08-13 22:07:05 +00:00
Christopher Jones
0645f93622 refactor & WS for local test config change 2009-08-12 14:54:16 +00:00
Ilia Alshanetsky
e5f121ef92 Fixed compiler warning 2009-08-12 12:47:19 +00:00
Scott MacVicar
ed5b573242 Fix build on platforms where crypt isn't always available 2009-08-12 09:18:41 +00:00
Sriram Natarajan
63ae260c0a - Simplify default flags for Sun C compiler. 2009-08-11 23:45:35 +00:00
Scott MacVicar
62a07e7f2e Fix BC break in mime_content_type() 2009-08-11 23:05:13 +00:00
Stanislav Malyshev
f9af0d4c3b fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar
4f76b44d83 Update libsqlite to 3.6.17. 2009-08-11 22:22:21 +00:00
Scott MacVicar
f69e06937d We should check /usr/local/include last 2009-08-11 21:40:15 +00:00
Pierre Joye
5d7c5eaee2 - destroy the file entry stream first 2009-08-11 17:19:35 +00:00
Pierre Joye
841e4d15f8 - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Pierre Joye
5dfda903ad -skip if not 5.3 2009-08-11 13:09:11 +00:00
Scott MacVicar
2192f61a43 Search /usr/include too for those wanting to use a system PCRE. 2009-08-11 12:03:29 +00:00
David Soria Parra
cd36f154a7 Add actions for the gitclean target. 2009-08-11 02:21:09 +00:00
Kalle Sommer Nielsen
d6242c96fe Don't build sqlite as threadsafe if we are doing an NTS build 2009-08-10 16:58:53 +00:00
Etienne Kneuss
ef045590dc Fix endless recursion of var_dump() over self-referencing closures 2009-08-10 15:18:13 +00:00
Pierre Joye
064d0ff3c0 - fix and improve dns' AAAA support on windows 2009-08-10 08:05:11 +00:00
Rasmus Lerdorf
a564ce3717 Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf
8c4e702f3c Make these socket tests less Linux-specific 2009-08-09 14:50:51 +00:00
Rasmus Lerdorf
3b3f13eb61 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Ilia Alshanetsky
d24d6a449e MFB: Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) 2009-08-09 13:16:21 +00:00
Rasmus Lerdorf
d80dac8aae Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Andi Gutmans
e4765438b8 - Optimize slightly for common case - n!=4 2009-08-09 04:46:02 +00:00
Andi Gutmans
300119a492 - Fix small typo 2009-08-09 03:39:15 +00:00
Rasmus Lerdorf
2be0578481 Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128.  There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison.  And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Rasmus Lerdorf
cb734537f4 Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Pierre Joye
08dfcbc864 - [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build 2009-08-08 13:01:13 +00:00
Rasmus Lerdorf
238a8a2ebd Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf
88849ce511 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +00:00
Jani Taskinen
35349fd6ae - Generated files 2009-08-07 15:45:56 +00:00
Jani Taskinen
b37f2e6187 - Fixed bug #48719 parse_ini_*(): scanner mode is not checked for sanity) 2009-08-07 15:44:37 +00:00
Jani Taskinen
12297bdb05 - Generated files.. 2009-08-07 14:22:49 +00:00
Jani Taskinen
dd7b767d7f - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails) 2009-08-07 14:21:38 +00:00
Pierre Joye
6625a196ff - Fixed #49183, dns_get_record does not return NAPTR records 2009-08-07 13:31:09 +00:00
Jani Taskinen
bf4bead40c - Fix test 2009-08-06 13:54:21 +00:00
Rasmus Lerdorf
8ed29f8d09 Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
Rasmus Lerdorf
5d1dc61dfb Fix test 2009-08-06 13:08:13 +00:00
Ilia Alshanetsky
08dda5a9f3 Make test more generic 2009-08-06 12:23:35 +00:00
Jani Taskinen
fa33079a14 - Fix CS and remove extra strlen() call 2009-08-06 11:11:15 +00:00
Jani Taskinen
33399d96bf - Restore PHP-5.2 behaviour when passing null inside object scope to get_class() 2009-08-06 11:02:25 +00:00
Rasmus Lerdorf
c9f5c32491 The user argument cannot be NULL here - fixes 2 tests 2009-08-06 10:56:00 +00:00
Scott MacVicar
da8bbc0ad0 Deal with moving to res_nsearch(). dns_search() on OSX lacks an error handler, might revert to using straight bind9. 2009-08-06 04:37:07 +00:00