Commit Graph

25255 Commits

Author SHA1 Message Date
Andrey Hristov
6d9d60b902 Fix a typo, utf8 is 3 byte max, for us, for now
Add a another cset
2009-05-26 13:42:06 +00:00
Felipe Pena
ddff1c485d - Fixed param type (%l -> %ld) 2009-05-26 12:35:38 +00:00
Felipe Pena
b1cc4234ab - Fix compile warning && nuke unused variables 2009-05-26 12:26:49 +00:00
Jani Taskinen
84bf8253b1 - Nuke duplicate tests 2009-05-26 10:27:55 +00:00
Jani Taskinen
2e1b73d221 fix test 2009-05-26 10:12:41 +00:00
Pierre Joye
8c4852a459 - always add libgd/ 2009-05-26 08:53:03 +00:00
Pierre Joye
6ea0fea2e0 - add a note about the actual problen so we don't forget it 2009-05-26 08:10:03 +00:00
Jani Taskinen
9ae81ff0c0 - Add note about missing break 2009-05-26 08:02:31 +00:00
Eric Stewart
fee853764d Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:11:26 +00:00
Kalle Sommer Nielsen
998beaa20e Typo 2009-05-25 19:40:49 +00:00
Pierre Joye
51b6f4a0d5 - MFB: #48202, Out of memory error when passing non-existing filename, enable related tests (marked as XFAIL now) 2009-05-25 16:16:54 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Ilia Alshanetsky
2e83dd93eb MFB: Fixed bug #48313 (fgetcsv() return empty string rather then NULL for
empty rows)
2009-05-25 13:02:55 +00:00
Rasmus Lerdorf
f3e2775877 Removing test 2009-05-25 11:59:03 +00:00
Pierre Joye
637274bbda - enable MPIR support and the good old 4.1.x gmp for VC6. solving the lgplv3 mess 2009-05-25 10:14:36 +00:00
Eric Stewart
8a366753af Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 06:07:39 +00:00
Greg Beaver
ce8cc1c99d fix potential segfault when converting phars with metadata to other formats, add test 2009-05-24 18:50:37 +00:00
Greg Beaver
3c48633a8f add missing test 2009-05-24 18:47:54 +00:00
Andrei Zmievski
afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
Felipe Pena
9708b01654 - New tests (testfest NorthWestUG) 2009-05-23 15:37:36 +00:00
Felipe Pena
1498bb45c8 - Added missing param checks 2009-05-23 15:14:00 +00:00
Felipe Pena
1797bb805b - New xsl files 2009-05-23 14:49:29 +00:00
Felipe Pena
d2616018e4 - New tests (testfest BerlinUG) 2009-05-23 14:44:37 +00:00
Nuno Lopes
558e061d1f MFB: fix compilation of pdo_firebird and intl extension with ld --as-needed 2009-05-23 13:52:53 +00:00
Eric Stewart
a7fece4f7f New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:41:27 +00:00
Eric Stewart
41e97b6147 New test: DOMAttr __construct() with no arguments. 2009-05-23 01:32:57 +00:00
Kalle Sommer Nielsen
a831a736d0 Previous commit was an old version of the patch, PHP_ZTS is not a boolean but the behaviour is still correct 2009-05-22 19:46:53 +00:00
Kalle Sommer Nielsen
9400dc397e Don't build SQLite threadsafe on NTS builds 2009-05-22 19:41:03 +00:00
Kalle Sommer Nielsen
f0ef25edce Fix test on Windows 2009-05-22 18:27:27 +00:00
Kalle Sommer Nielsen
7342443074 Added missing SKIPIF 2009-05-22 18:22:15 +00:00
Felipe Pena
0b19747809 - Fixed invalid date checking 2009-05-22 12:49:22 +00:00
Felipe Pena
5d3636dfd2 - New test 2009-05-22 12:38:31 +00:00
Arnaud Le Blanc
361f8c2655 Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)
2009-05-21 16:01:22 +00:00
Arnaud Le Blanc
a7e195a07b set second argument of gettimeofday() to NULL (fixes #48346,
patch by adriano at guiadohardware dot net)
2009-05-21 14:21:18 +00:00
Arnaud Le Blanc
c176114acb Better fix for #45622 (patch by robinf at php do net) 2009-05-21 13:25:48 +00:00
Ilia Alshanetsky
d2eb7e4601 MFB: Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out
when working with a non-writable stream)
2009-05-21 12:52:59 +00:00
Jani Taskinen
a459fddd54 ws 2009-05-21 01:39:48 +00:00
Ilia Alshanetsky
786da897ff MFB: Re-introduce the Matteo's patch and combine default & text handling
since they appear to be the same irregardless on notes inside sqlite3.h
2009-05-20 15:06:20 +00:00
Jani Taskinen
6af0033f7c - Fix non-windows builds too 2009-05-20 12:15:36 +00:00
Kalle Sommer Nielsen
ad8c50dfbb Fixed shared build 2009-05-20 10:18:41 +00:00
Arnaud Le Blanc
8e05c72f25 Fix skipif 2009-05-20 10:08:23 +00:00
Antony Dovgal
18ce5138f3 fix segfault 2009-05-20 09:26:03 +00:00
Arnaud Le Blanc
13b8822d12 Fix skipif 2009-05-20 09:13:08 +00:00
Kalle Sommer Nielsen
b3e899e7ca Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql 2009-05-20 08:29:23 +00:00
Kalle Sommer Nielsen
f1fd8628a0 Nuke warnings (only in HEAD) 2009-05-20 08:22:38 +00:00
Kalle Sommer Nielsen
1176635df7 Nuke newly introduced warning 2009-05-20 08:18:07 +00:00
Kalle Sommer Nielsen
4f33467dd1 Fix Windows build, dns_get_record is defined in dns_win32.c, not here 2009-05-20 08:16:56 +00:00
Derick Rethans
40a477f839 - Getting rid of using the environment to guess timezone information from.
#- [DOC]
2009-05-19 19:43:44 +00:00
Jani Taskinen
1e56b53683 - Fix bug #48317 (compile failure in dns.h) (thanks to Pierre for introducing this) 2009-05-19 19:39:42 +00:00
Hannes Magnusson
21d084a150 Partial fix for bug#48333 (DateInterval.format() expects a single,
undocumented parameter)
2009-05-19 19:23:12 +00:00
Ilia Alshanetsky
1a39a2d3d3 MFB: The \0 removal is only needed prior to 3.4.0 2009-05-19 19:16:05 +00:00
Ilia Alshanetsky
761422a4a7 MFB: libsqlite3 3.6.14.1 upgrade 2009-05-19 18:44:00 +00:00
Kalle Sommer Nielsen
da62d8d02e Fixed compiler warnings
# Is it intended that curl_progress should cast to long rather than keeping the
# double? Or doesn't it matter?
2009-05-19 18:08:13 +00:00
Kalle Sommer Nielsen
47add227a9 Fix compiler warning 2009-05-19 17:46:56 +00:00
Kalle Sommer Nielsen
3bc8644503 Fix compiler warnings and refcount not being in sync with 5.3 2009-05-19 17:38:08 +00:00
Kalle Sommer Nielsen
17b2f3c3d8 Fix compiler warnings (only in HEAD) 2009-05-19 16:32:22 +00:00
Kalle Sommer Nielsen
8ac639ba40 Fix unicode support in utf8_decode() 2009-05-19 16:23:36 +00:00
Ilia Alshanetsky
f9493b0812 MFB: Revert faulty warning fix 2009-05-19 16:14:46 +00:00
Kalle Sommer Nielsen
84bd20cee4 Fix compiler warnings (only in HEAD) 2009-05-19 16:12:04 +00:00
Kalle Sommer Nielsen
eec2808482 MFB: Cast to unsigned char to prevent compiler warning 2009-05-19 16:06:17 +00:00
Kalle Sommer Nielsen
c00b3c7fd8 Fix compiler warnings, and some unicode stuff 2009-05-19 16:03:23 +00:00
Jani Taskinen
268d8ae1da - Revert bad compile warning fix which causes compile failures with older glibc 2009-05-19 15:38:21 +00:00
Jani Taskinen
a04a53537b - Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:29 +00:00
Arnaud Le Blanc
5632dd027d Fixed bug #48326 (constant MSG_DONTWAIT not defined) 2009-05-19 11:57:52 +00:00
Jani Taskinen
66c811daf9 - Unify the macros 2009-05-19 11:12:01 +00:00
Kalle Sommer Nielsen
4bb46f8d2f Cast to SQLUSMALLINT 2009-05-19 10:25:38 +00:00
Kalle Sommer Nielsen
9f5204025e Fixed compiler warning 2009-05-19 10:23:51 +00:00
Kalle Sommer Nielsen
137171e74b Fix --with-pdo-mssql build and add some warnings if header/libs are not found 2009-05-19 10:22:10 +00:00
Kalle Sommer Nielsen
7206a97ecd Fixed compiler warning (HEAD only) 2009-05-19 10:11:46 +00:00
Antony Dovgal
cf3b4ba968 fix build 2009-05-19 07:40:51 +00:00
Scott MacVicar
b5bb633873 Add support for tokyo cabinet, patch from Michael Maclean 2009-05-18 20:21:39 +00:00
Jani Taskinen
1aee5ff9fc - WS + sync with PHP_5_3 (thanks Ilia & Co.) 2009-05-18 16:09:51 +00:00
Hannes Magnusson
9cbd6d638c Fix test 2009-05-18 13:52:05 +00:00
Jani Taskinen
5230623695 - fix CS, merged one parameter parsing patch missing from HEAD 2009-05-18 12:50:44 +00:00
Jani Taskinen
7a60c06f31 - Fix CS 2009-05-18 12:14:25 +00:00
Pierre Joye
da4f049b2b - sync with 5.3 2009-05-18 12:03:05 +00:00
Pierre Joye
9640fbf6e1 - return NULL on invalid args 2009-05-18 11:50:29 +00:00
Pierre Joye
5fa7af759a - WS 2009-05-18 11:48:56 +00:00
Pierre Joye
5dca728cec - MFB: - disable file:// when open_basedir are enabled 2009-05-18 11:40:25 +00:00
Pierre Joye
20ab93a3e3 - MFB: #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:51:13 +00:00
Felipe Pena
702a21374d - New tests (testfest BerlinUG) 2009-05-17 18:07:36 +00:00
Felipe Pena
23ee8e9013 - New tests (testfest BelgiumUG) 2009-05-17 16:51:22 +00:00
Felipe Pena
24c8b4fb78 - Changed %s to %v on createAggregate() error message 2009-05-17 16:39:30 +00:00
Felipe Pena
05b9feb85f - New tests (testfest LondonUG) 2009-05-17 15:21:45 +00:00
Arnaud Le Blanc
0e4de79b40 Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:57:05 +00:00
Felipe Pena
32f3dbc12c - New tests (testfest Quebec) 2009-05-17 01:16:02 +00:00
Felipe Pena
ce90adc2c8 - New tests (testfest DutchUG) 2009-05-16 21:13:10 +00:00
Arnaud Le Blanc
b6b2d5d10f Test for #38802 2009-05-16 20:44:56 +00:00
Arnaud Le Blanc
d9f42826aa Minimal HTTP server to test HTTP stream wrapper 2009-05-16 20:43:54 +00:00
Arnaud Le Blanc
88aac9b1b1 Fixed bug #38802 (max_redirects and ignore_errors)
(patch by datibbaw@php.net)
2009-05-16 20:34:08 +00:00
Arnaud Le Blanc
804ed57ad3 Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:22:29 +00:00
Felipe Pena
dd8ba68ca7 - New tests (testfest Quebec) 2009-05-16 18:26:21 +00:00
Felipe Pena
cc2c1c3360 - Added changes from testfest ParisUG && Changed line endings 2009-05-16 17:02:02 +00:00
Felipe Pena
79b099b638 - New tests (testfest ParisUG) 2009-05-16 16:36:58 +00:00
Felipe Pena
7ff4b251f3 - New tests (testfest DutchUG) 2009-05-16 15:11:21 +00:00
Felipe Pena
5bb1948117 - New tests (testfest CataloniaUG) 2009-05-16 14:41:03 +00:00
Kalle Sommer Nielsen
29487b7d0a Fix compiler warnings (only in HEAD), same style of silence as in 5.3 2009-05-15 18:01:05 +00:00
Kalle Sommer Nielsen
5b70bb7740 Fix compiler warnings 2009-05-15 17:27:56 +00:00
Moriyoshi Koizumi
4306389206 * Roll it back then. I wonder if defaulting it to SORT_REGULAR would work well
and I think allowing user-supplied comparator should make more sense when it
  comes to objects.
2009-05-15 17:02:34 +00:00
Christopher Jones
79be235483 New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:44:51 +00:00
Kalle Sommer Nielsen
cffc777534 Fix arginfo 2009-05-15 09:10:01 +00:00
Felipe Pena
44f111cc26 - Fix test 2009-05-14 22:59:02 +00:00
Scott MacVicar
58247606a0 Throw an error rather than silently changing to the default. 2009-05-14 22:00:38 +00:00
Felipe Pena
133e8c5ccb - Improved fix for #42414 2009-05-14 17:23:51 +00:00
Jani Taskinen
936c39dea8 - Fixed bug #48256 (Crash due to double-linking of history.o) 2009-05-14 13:40:37 +00:00
Greg Beaver
16cc6e6b64 fix potential free of NULL 2009-05-14 13:36:44 +00:00
Ilia Alshanetsky
dfe390f97a MFB: Fixed compiler warnings 2009-05-14 12:30:06 +00:00
Felipe Pena
757e87c66e - New tests 2009-05-14 01:28:23 +00:00
Felipe Pena
c71b5e616f - Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC driver) 2009-05-14 01:25:17 +00:00
Scott MacVicar
1c1ba8cc06 Allow the json_decode() depth to be any size, but keep the static one around for now. It might make sense to allow an unbound depth. 2009-05-14 00:13:57 +00:00
Greg Beaver
5af0cbef65 MFB: fix Bug #48257: PharData throws exception with non-phar tar 2009-05-13 20:26:18 +00:00
Kalle Sommer Nielsen
1ee612bb2d Fix compiler warnings, safe_emalloc expects size_t, not double as ceil returns 2009-05-13 16:29:03 +00:00
Kalle Sommer Nielsen
a2ad701357 Nuke compiler warning 2009-05-13 15:54:48 +00:00
Ilia Alshanetsky
4decbd9fb7 MFB: Fixed bug #44996 (xmlrpc_decode() ignores time zone on
iso8601.datetime)
2009-05-13 14:23:29 +00:00
Felipe Pena
efc82a96da - Fixed bug #48240 (DBA Segmentation fault dba_nextkey) 2009-05-13 02:14:18 +00:00
Jani Taskinen
7f6657c243 - Fixed bug #48247 (PHP crashes on errors during startup)
#
# This was sum of many little things:
# 1. Wrong assumption made in order_by_dep.awk on the ordering
#    (that script was done prior to adding runtime deps..?)
# 2. request shutdown calls weren't done in reverse order like all other
#    shutdown funcs are called.
# 3. config0.m4 rename is necessary for keeping things simple.
#
2009-05-13 00:45:57 +00:00
Matteo Beccati
c6aa455ff1 - Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:39:57 +00:00
Matteo Beccati
82151d4dc3 - Fixed bug #48188 2009-05-12 22:17:50 +00:00
Matteo Beccati
92288eca5c - Fixed bug #48070 2009-05-12 21:52:54 +00:00
Matteo Beccati
7ab5d01e23 MFB
- Updated PDO_OCI to the latest version (from PHP_5_3 branch)
# This commit reverts some changes to the tests. Given the very high
# failure ratio of the current tests on HEAD I'm not going to fix them
# now. Keeping ext/pdo_oci in sync with 5.3 will be much more helpful when
# merging. The effort to fix the tests can start when 5.3 is out.
2009-05-12 21:35:21 +00:00
Ilia Alshanetsky
a9c5adcfc6 MFB: Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns
wrong result)
2009-05-12 12:37:52 +00:00
Ilia Alshanetsky
ce11608af8 MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on
invalid paths)
2009-05-11 12:22:19 +00:00
Pierre Joye
9c54462337 - define HAVE_PQPROTOCOLVERSION and HAVE_PG_LO_CREATE (Tim Starling) 2009-05-11 10:43:44 +00:00
Kalle Sommer Nielsen
ed5b73e174 Fix conditional 2009-05-11 06:42:06 +00:00
Jani Taskinen
6a24606248 -fix path 2009-05-11 05:01:17 +00:00
Felipe Pena
a0492db800 - Starting tests for this extension 2009-05-11 03:09:13 +00:00
Felipe Pena
9d61bfdc40 - Fixed tests 2009-05-11 01:53:01 +00:00
Jani Taskinen
25e8f6aa24 - Replaced by zend_multibyte-01.phpt 2009-05-10 21:10:00 +00:00
Jani Taskinen
958886f038 - Fixed bug #48200 (compile failure with mbstring.c when --enable-zend-multibyte is used) 2009-05-10 21:04:26 +00:00
Stanislav Malyshev
30c805ad9a MF5 fixes 2009-05-10 21:01:38 +00:00
Felipe Pena
71aa2ea29b - Fixed bug #48227 (NumberFormatter::format leaks memory) 2009-05-10 20:15:39 +00:00
Etienne Kneuss
fbb11e58c5 MFB: Add test for #48224 2009-05-10 20:13:08 +00:00
David Coallier
67be3d9e01 - MFB: Removed the RETURN_TRUE to keep consistency with documentation.
This function is supposed to be "void registerPHPFunctions"
2009-05-10 20:00:58 +00:00
Etienne Kneuss
b2d291aa82 MFB: Fix #48224 (Remove incorrect shuffle) 2009-05-10 16:45:30 +00:00
Felipe Pena
1e3b227a99 - Simplify test (cweiske) 2009-05-10 15:48:25 +00:00
Felipe Pena
bc74d0ee81 - Fixed bug #48221 (memory leak when passing invalid xslt parameter) 2009-05-10 15:12:32 +00:00
Felipe Pena
91794daed0 - Fixed memory leak (patch by Christian Weiske) 2009-05-10 01:00:15 +00:00
Johannes Schlüter
bb2178bee0 Remove bad CREDITS file
# I'd welcome sane proposals for ext/standard credits, there are ca. 20 people
# mentioned as "Author" and >100 people who committed into *.c here
2009-05-09 22:33:55 +00:00
Etienne Kneuss
9ca4884a71 Fix bug #47534 (RecursiveDirectoryIterator::getChildren ignoring CURRENT_AS_PATHNAME) 2009-05-09 21:05:18 +00:00
Scott MacVicar
5aa273d0ad Update bundled libmagic to 5.03 2009-05-09 20:34:26 +00:00
Scott MacVicar
24d2bf28a8 Broken test when you have a snapshot as it relies on CVS 2009-05-09 20:18:18 +00:00
Scott MacVicar
5fb7b376dc Fix bug #48206 again 2009-05-09 19:42:43 +00:00
Scott MacVicar
433a7c6f58 Fix bug #48206 - Iterating over an invalid data structure leads to a segfault 2009-05-09 19:37:34 +00:00
Arnaud Le Blanc
bdff89dc4f Fix default behavior of file() (FILE_TEXT flag is the default) 2009-05-08 10:01:40 +00:00
Arnaud Le Blanc
65f951b561 Missing check 2009-05-08 10:00:09 +00:00
Arnaud Le Blanc
64725cb0fc MFB5.3 fix for bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n) (fixes #48175)
2009-05-08 09:50:11 +00:00
Antony Dovgal
0df4ef5609 fix ZTS build 2009-05-08 07:58:12 +00:00
Brian Shire
528f302fef Add missing #ifdef for curl version that does not have FTP_FILEMETHOD or IPRESOLVE options. related to fix for bug #39637 2009-05-08 03:32:54 +00:00
Matteo Beccati
009691e028 - Fixed bug #48185 removing no-op code 2009-05-07 23:04:02 +00:00
Felipe Pena
b2efd773b0 - Fix build 2009-05-07 22:44:37 +00:00