Commit Graph

62205 Commits

Author SHA1 Message Date
Pierrick Charron
64963d6e19 Fix curl_copy_handle_basic_008.phpt when display_errors is On
(Thanks Chris Jones)
2011-12-08 18:57:01 +00:00
Hannes Magnusson
6b7d4bd322 Uhh.. Can't believe noone noticed the gc option was missing from our ini files 2011-12-08 14:57:02 +00:00
Scott MacVicar
b69cfde570 Make sure that we set the strong crypto result to false as well as returning false. 2011-12-07 20:50:33 +00:00
Derick Rethans
96f55bb628 Test cosmetics. 2011-12-07 19:42:44 +00:00
Derick Rethans
268335a21a Sorting out the tests *once* more.
Please keep them consistent and only change them if you are 110% certain what
you're doing. Otherwise -> please ask.
2011-12-07 19:24:58 +00:00
Pierrick Charron
ebd3143cd3 Fix test 2011-12-07 16:46:48 +00:00
Pierrick Charron
25081046d7 Add new test for CURLOPT_POSTFIELDS 2011-12-07 16:32:50 +00:00
Pierre Joye
d35096c175 - tests require 64bit integer 2011-12-07 10:38:35 +00:00
Xinchen Hui
b5766cdcac Implemented FR #54514 (Get php binary path during script execution). 2011-12-07 10:33:13 +00:00
Xinchen Hui
0420858004 Merge -r317306 to trunk 2011-12-07 10:28:56 +00:00
Pierre Joye
8b8dcede6c - print_r seems to display 0 or nothing for days, let make that test works in both cases, that's not the purpose of this test to test print_r 2011-12-07 09:03:07 +00:00
Pierre Joye
ef763c0184 - fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too) 2011-12-07 08:39:43 +00:00
Pierre Joye
2ac602bff1 - rename to correct bug # 2011-12-07 08:37:48 +00:00
Pierre Joye
2425fdbbae - set TZ 2011-12-07 08:33:41 +00:00
Pierre Joye
9e567e295b - fix the fix, wrong endif pos 2011-12-06 16:09:06 +00:00
Pierre Joye
984344214f - fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only 2011-12-06 15:57:43 +00:00
Pierre Joye
05781c747b - fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only 2011-12-06 15:35:07 +00:00
Pierre Joye
c5184dcb5e - force LF 2011-12-06 13:42:08 +00:00
Pierre Joye
8d73eb77ed - add windows version of this test 2011-12-06 13:34:45 +00:00
Pierre Joye
f9872f2cf2 - force LF 2011-12-06 13:16:40 +00:00
Pierre Joye
55bf73ffba - force LF 2011-12-06 13:07:08 +00:00
Pierre Joye
d2f0340f11 - force LF as EOL as the code expects it.
however it sounds like a bug in the implementation
phar.c:720
	if (4 != php_stream_read(fp, buffer, 4)) {
		MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at manifest length)")
	}

that code will fail if non LF eol are used. Or does phar supports only LF?
2011-12-06 13:06:22 +00:00
Xinchen Hui
5c8df5e0f8 Use zbacktrace_ex instead of zbacktrace(actullay is dump_bt)
Use %p instead of "0x08x" (IMO this is used for print pointer, which, unfortunately, don't work under x64)
If there is any wrong, plz revert this, thanks
2011-12-06 12:32:59 +00:00
Xinchen Hui
f161d724d3 Add zbacktrace_ex to .gdbinit which will print extra argument info than zbacktrace
Implement FR #60448
2011-12-06 09:56:01 +00:00
Pierrick Charron
489b86ff56 Coding standard 2011-12-06 06:44:22 +00:00
Derick Rethans
4c9fad8b36 - Fixed bug #53502 (strtotime with timezone memory leak).
- Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
  DateTime::setTimestamp).
- Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
  format).
- Fixed bug #51223 (Seg fault while creating (by unserialization)
  DatePeriod).
2011-12-06 06:21:08 +00:00
Derick Rethans
48f3cb3e2e - Added a test case for #53437. 2011-12-06 06:07:41 +00:00
Derick Rethans
b2b7d5b943 - Fixed bug #52062: large timestamps with DateTime::getTimestamp and DateTime::setTimestamp. 2011-12-06 06:04:24 +00:00
Derick Rethans
ff334d84c5 - Cosmetics for test case for #48678. 2011-12-06 06:00:45 +00:00
Derick Rethans
3395521915 - Fixed test case for #54851.
- Make test case for #32555 the same for all branches.
2011-12-06 05:59:24 +00:00
Derick Rethans
33714e6d82 This changes adds the --EXTENSION-- section to .phpt files as
described in http://marc.info/?t=132248616300007&r=1&w=2.
2011-12-06 05:44:54 +00:00
Pierrick Charron
e038f2fe5d We should free the memory of any curl_slist returned by curl_easy_getinfo 2011-12-05 22:23:19 +00:00
Xinchen Hui
b92996bea6 remove irrelevant codes in test 2011-12-05 12:46:38 +00:00
Xinchen Hui
f30db67f58 Add xfaild test for a secluded issue 2011-12-05 12:44:12 +00:00
Xinchen Hui
5927617335 Fix typo 2011-12-05 12:33:56 +00:00
Dmitry Stogov
30328dcbab Fixed bug #60444 (Segmentation fault with include & class extending) 2011-12-05 09:20:12 +00:00
Pierrick Charron
73edbe5a22 Added myself as curl maintainer 2011-12-04 16:46:45 +00:00
Ilia Alshanetsky
932f8d4cbd Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
domain name addresses containing >1 -).
2011-12-04 14:52:40 +00:00
Hannes Magnusson
c884d3782c Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value 2011-12-04 12:34:19 +00:00
Pierrick Charron
d84e1b50c6 Fix segfault when using curl_copy_handle with CURLOPT_PROGRESSFUNCTION 2011-12-04 01:16:17 +00:00
Pierrick Charron
8253bdbb41 add CURLOPT_WILDCARDMATCH and CURLOPT_FNMATCH_FUNCTION 2011-12-04 00:19:12 +00:00
Pierrick Charron
1efb3e94a7 Add the curl handle to the progress callback function 2011-12-03 23:53:27 +00:00
Pierrick Charron
75b11d80fa The progress handle don't need to be allocated unless
curl_setopt with CURLOPT_PROGRESSFUNCTION is called
2011-12-03 23:43:44 +00:00
Pierrick Charron
799e4983eb useless variable 2011-12-03 23:21:43 +00:00
Pierrick Charron
e4afb60725 Update curl MINFO 2011-12-03 21:24:19 +00:00
Pierrick Charron
56ba384c9d Test curl_getinfo() function with CURLINFO_EFFECTIVE_URL parameter 2011-12-03 20:19:53 +00:00
Pierrick Charron
3e7310ece2 Clean curl_getinfo and add new constants from newer libcurl versions 2011-12-03 20:16:32 +00:00
Pierrick Charron
ef1af432c3 Fix test for libcurl < 7.12.1 2011-12-03 20:14:06 +00:00
Dmitry Stogov
0d4930577a Expose zend_signal_handler_unblock() to DSO extensions to allow usage of HANDLE_UNBLOCK_INTERRUPTIONS macro 2011-12-02 12:14:16 +00:00
Michael Wallner
955cc549a0 Fixed bug #60240 (invalid read/writes when unserializing specially crafted strings) 2011-12-02 11:50:22 +00:00