Commit Graph

26535 Commits

Author SHA1 Message Date
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
8d73eb77ed - add windows version of this test 2011-12-06 13:34:45 +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
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
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
Michael Wallner
955cc549a0 Fixed bug #60240 (invalid read/writes when unserializing specially crafted strings) 2011-12-02 11:50:22 +00:00
Pierrick Charron
82fab7b04d Cleans up test file 2011-12-02 04:16:46 +00:00
Pierrick Charron
e69f987948 Clean / Improve the curl extension
# NEWS file will come soon
2011-12-01 21:48:07 +00:00
Felipe Pena
bffd89487d - Fixed tests 2011-12-01 15:38:17 +00:00
Felipe Pena
b69251c9f6 - Fixed tests 2011-12-01 14:14:30 +00:00
Andrey Hristov
b9bb138017 Don't write more data than the protocol can grok or the server will
be confused. This comes without a test because the server needs to be
a non-community one with closed source PAM plugin loaded.
2011-11-30 17:20:25 +00:00
Dmitry Stogov
a2ac3a6f26 Fixed bug #54911 (Access to a undefined member in inherit SoapClient may cause Segmentation Fault) 2011-11-28 14:20:35 +00:00
Dmitry Stogov
9d343d7694 Added implicit type casting to allow reusage of macros in C++ extensions (Yoram) 2011-11-28 13:01:28 +00:00
Gustavo André dos Santos Lopes
001efd80b2 - Small ajustments to some multicast options. 2011-11-26 17:48:52 +00:00
Derick Rethans
547e240906 - Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D"). 2011-11-26 16:44:21 +00:00
Gustavo André dos Santos Lopes
9985d99358 - Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)
(fedora at famillecollet dot com)
2011-11-26 14:55:31 +00:00
Derick Rethans
81058b5e79 - Fixed bug #54596 (incorrect years for DateTime objects created with 4-digit
years).
2011-11-25 15:51:37 +00:00
Derick Rethans
adb3000807 - Force setting for tests. 2011-11-25 15:47:11 +00:00
Dmitry Stogov
548820bfa4 Fixed bug #60167 (Crash / memory corruption in ext/com_dotnet) (Timm Friebe). 2011-11-25 11:29:28 +00:00
Yasuo Ohgaki
77d11b4959 add pg_escape_identifier/pg_escape_literal 2011-11-25 02:21:01 +00:00
Gustavo André dos Santos Lopes
5b383dacdf - Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c 2011-11-24 22:45:50 +00:00
Gustavo André dos Santos Lopes
fa4fe63944 - Support for UTS #46. 2011-11-24 17:54:50 +00:00
Derick Rethans
d0a898d2a2 - Fixed bug #60236 (TLA timezone dates are not converted properly from
timestamp).
- Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
  time zone type 2).

And fixed some test cases.
2011-11-24 17:13:47 +00:00
Pierrick Charron
70136445cb Revert commit r319729 until I have a clean version for non-ZTS 2011-11-24 12:49:11 +00:00
Xinchen Hui
e013725516 Fixed bug #60367 (Reflection and Late Static Binding) 2011-11-24 09:16:11 +00:00
Pierrick Charron
da2797108f Implemented FR #55540, added functions curl_share_init(), curl_share_setopt() and curl_share_close(). 2011-11-23 22:20:28 +00:00
Pierrick Charron
517e28309d Fix build for libcurl < 7.20.0 2011-11-23 19:36:52 +00:00
Ulf Wendel
77025b71e1 Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel
785b68a109 Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Dmitry Stogov
b3522ffdcb Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size) 2011-11-23 10:49:42 +00:00
Pierrick Charron
bafdf84528 Fixed bug #54995 2011-11-23 05:45:27 +00:00
Felipe Pena
9a98ccff5e - Fixed memory leak when calling the Finfo constructor twice 2011-11-23 01:20:49 +00:00
Felipe Pena
d0839fc837 - Fix build (using libcurl 7.21.0) 2011-11-22 21:10:24 +00:00
Felipe Pena
16fbcf7188 - Fix the fix (thanks Chris Jones!) 2011-11-22 19:18:34 +00:00
Pierrick Charron
fe1bf12552 Fix test to remove dependancy over php.net 2011-11-22 18:50:57 +00:00
Pierrick Charron
fff23f12bd Add new cURL CURLOPT_* options 2011-11-22 17:33:48 +00:00
Pierrick Charron
33d3eb1e43 Fixed bug #55635 2011-11-22 17:13:26 +00:00
Ulf Wendel
aeaa4b3da6 Skipping with libmysql. If a documentation points to more or less unmaintained wiki contents, I take it as a request to stop testing a feature. Can't tell if I get false positive, hit a bug or not. This is not libmysql testing. Its PHP MySQL API testing. 2011-11-22 16:52:42 +00:00
Andrey Hristov
0e31a00117 use the method in all builds. Thus it can be used for detection
of state transitioning in every case
2011-11-22 16:38:06 +00:00
Felipe Pena
b370f94866 - Fix the fix 2011-11-22 15:12:44 +00:00
Felipe Pena
718374ac2a - Fixed possible memory leak in finfo_open() 2011-11-22 15:04:19 +00:00
Felipe Pena
97d7f9e112 - Fixed invalid free in call_user_method() function 2011-11-22 12:47:08 +00:00
Felipe Pena
f6fb9fc2b2 - Fixed memory leak in several Intl locale functions 2011-11-22 12:29:15 +00:00
Xinchen Hui
6f5ca6f280 Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion") 2011-11-22 10:11:06 +00:00
Pierrick Charron
d47dffc1b8 Fix this test to work with all version (even old) of libcurl 2011-11-22 08:29:26 +00:00
Pierrick Charron
18e4f02921 Fix memory leak when using libcurl < 7.17.0 2011-11-22 05:19:37 +00:00
Felipe Pena
18768584e2 - Fixed possible crash in mb_ereg_search_init() using empty pattern 2011-11-21 19:15:18 +00:00
Xinchen Hui
3781026cb8 Comparison between pointer and integer 2011-11-21 06:07:43 +00:00
Xinchen Hui
b0cf58633c C++ style comment 2011-11-21 05:57:45 +00:00
Pierrick Charron
42ebac1d01 Fix memory leak 2011-11-21 02:44:28 +00:00
Pierrick Charron
7410d0b55d Fix memory leak 2011-11-21 02:29:24 +00:00
Pierrick Charron
9ee79f65ec Fix test to use PHP_CURL_HTTP_REMOTE_SERVER 2011-11-21 02:10:57 +00:00
Pierre Joye
a495e3759c - restore correct window_size 2011-11-20 10:10:43 +00:00
Pierre Joye
76e3964c1c - fix build, ansi c requires constant value, no expresion, even constant var 2011-11-19 23:09:12 +00:00
Felipe Pena
276518ff17 - Fixed bug #60339 (valgrind reports LEAK --with-mm)
patch by: yohgaki at ohgaki dot net
2011-11-19 18:50:49 +00:00
Mateusz Kocielski
63b8ff7619 - Fixed bug #60337 bcscale related crashed on 64bits platforms 2011-11-19 12:46:43 +00:00
Stanislav Malyshev
9fe3a605c6 fix bug #60164 (Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER) 2011-11-19 04:59:56 +00:00
Stanislav Malyshev
c7d6fafdf9 fix test number 2011-11-19 04:49:59 +00:00
Stanislav Malyshev
c9b7ddf9fb Fix bug #60150 (Integer overflow during the parsing of invalid exif header) 2011-11-19 04:41:03 +00:00
Christopher Jones
1a7669f1b8 r319456 also fixed the OCI8 part of #55301 (multiple null pointer) 2011-11-18 18:14:15 +00:00
Pierrick Charron
8de50cc1aa Added new SoapClient option "keep_alive". FR #60329 2011-11-18 13:24:35 +00:00
Christopher Jones
984c34aa0b Sync to 5.3 and check additional cases for #55748 2011-11-18 09:59:35 +00:00
Xinchen Hui
601407aa25 Fixed bug #60306 (Characters lost while converting from cp936 to utf8) 2011-11-18 08:50:29 +00:00
Stanislav Malyshev
9a69efb9fc fixes for bug #55748 2011-11-18 07:11:19 +00:00
Pierrick Charron
89104021b7 Remove unused variables in libmbfl 2011-11-18 06:27:27 +00:00
Antony Dovgal
3b40dabc8c fix bug #60082 (Crash in ArrayObject() when using recursive references)
--Tis line, and those below, will be ignored--

M    trunk/ext/spl/spl_array.c
M    branches/PHP_5_4/ext/spl/spl_array.c
M    branches/PHP_5_3/ext/spl/spl_array.c
M    branches/PHP_5_3/NEWS
2011-11-18 05:22:35 +00:00
Felipe Pena
595ac67a52 - Fixed bug #60267 (Compile failure with freetds 0.91) 2011-11-16 12:13:22 +00:00
Felipe Pena
3d19038838 - Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs)
patch by: klightspeed at netspace dot net dot au
2011-11-15 20:33:26 +00:00
Ilia Alshanetsky
32c4c239c0 Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0). 2011-11-15 18:02:58 +00:00
Felipe Pena
1f81004be2 - Fixed bug #52624 (tempnam() by-pass open_basedir with inexistent directory) 2011-11-15 16:59:59 +00:00
Felipe Pena
9a7a1fdabb - Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference) 2011-11-15 15:16:20 +00:00
David Soria Parra
020e7e1b72 Forgot the bug specific test. 2011-11-15 13:36:45 +00:00
David Soria Parra
fd2e3d6d8e Fixed bug #55371 (get_magic_quotes_gpc() throws deprecation warning.)
Patch by David Zuelke <david dot zuelke at bitextender dot com>
2011-11-15 13:22:52 +00:00
Felipe Pena
0fbb9ee359 - We can constify in 5.4+ 2011-11-15 12:34:59 +00:00
Johannes Schlüter
03a0f9deb4 - Add missing include. 2011-11-14 17:56:33 +00:00
Dmitry Stogov
52deaeb8c0 Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references) 2011-11-14 08:43:00 +00:00
Gustavo André dos Santos Lopes
a56c0bd0d8 - Fixed tests in ext/standard/tests/http by adding the INI setting value
allow_url_fopen=1
- Converted test file from dos line endings to unix line endings.
2011-11-14 01:12:23 +00:00
Rasmus Lerdorf
bd7e9cfca1 Fix test 2011-11-12 19:12:39 +00:00
Rasmus Lerdorf
ffb1c4d8ef Fix typo and don't use 'a' as an invalid filename since it is the default
gcc binary filename and is thus not unlikely to be left lying around in the
build dir which cause these tests to fail
2011-11-12 18:46:04 +00:00
Felipe Pena
28d1bc37e2 - Fixed bug #60261 (phar dos null pointer) 2011-11-11 21:39:11 +00:00
Rui Hirokawa
50b2e02c04 revert changes to fix bug #60116. 2011-11-11 14:58:32 +00:00
Arpad Ray
8b6a2d257a Fix hash key length in register/remove_user_shutdown_function 2011-11-11 14:42:18 +00:00
Christopher Jones
a1cf0c426a OCI8: Fixed bug #59985 (show normal warning text for OCI_NO_DATA). Sync NEWS. 2011-11-10 22:47:00 +00:00