Kalle Sommer Nielsen
5da75298a0
config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me
2009-06-03 01:18:42 +00:00
Ilia Alshanetsky
ce046a899b
----------------------------------------------------------------------
...
Fixed test
2009-06-02 12:20:24 +00:00
Ilia Alshanetsky
5904ee8f8e
MFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).
2009-06-01 13:11:09 +00:00
Zoe Slattery
f488c10b45
Fixes to work on Windows as well as Linux
2009-06-01 08:59:18 +00:00
Stanislav Malyshev
30846e5d0e
fix for #48247
2009-05-31 21:29:54 +00:00
Ilia Alshanetsky
a1df5c8cb3
MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
...
increasing)
2009-05-31 14:11:14 +00:00
Jani Taskinen
96d5773eb3
- No dots in error messages
2009-05-31 13:50:50 +00:00
Andrei Zmievski
3c3ae2812e
Make a note.
2009-05-31 01:45:05 +00:00
Ulf Wendel
e92bf65c4c
Fixing tests - messages/warnings can vary by version
2009-05-29 13:36:54 +00:00
Ulf Wendel
b592b26ff2
Updating test to reflect API changes.
2009-05-29 13:22:47 +00:00
Ulf Wendel
ce638000ae
Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does...
2009-05-29 13:12:24 +00:00
Andrey Hristov
1683d46dc9
Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x
2009-05-29 13:09:22 +00:00
Ulf Wendel
d8d9ef2c62
1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s
2009-05-29 13:02:30 +00:00
Ulf Wendel
0653a585d1
Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'.
2009-05-29 12:55:39 +00:00
Andrey Hristov
37234bb393
Fix for the failing mysql_stmt_execute() test. Data was cleaned after
...
stmt_reset() but it should stay and be freed as later as next stmt_execute()
2009-05-29 12:19:26 +00:00
Ulf Wendel
3da36d58dc
'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself.
2009-05-29 11:59:09 +00:00
Zoe Slattery
9421908753
better fix
2009-05-29 11:47:42 +00:00
Ulf Wendel
b59d4f6ffc
Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189
2009-05-29 11:00:53 +00:00
Ulf Wendel
64c8da2ff0
Weaker test - libmysql/server error messages can differ by version
2009-05-29 10:34:07 +00:00
Ulf Wendel
12c301e7ec
Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land.
2009-05-29 10:25:37 +00:00
Ulf Wendel
05fdee2c65
Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184
2009-05-29 10:15:32 +00:00
Zoe Slattery
0106b6e2df
fixing to work with older levels of libcurl
2009-05-29 09:45:42 +00:00
Andrey Hristov
6b21010022
The option has changed the name, hence we change the test
2009-05-29 08:58:10 +00:00
Andrey Hristov
9230362631
Fix a very well hidden error because of not being careful with CPP.
...
I usually don't make this mistake :)
2009-05-29 08:05:21 +00:00
Kalle Sommer Nielsen
8a84716527
* Cast long to float in the T1* functions, we don't loose any data here
...
* Fix min/max redefs
2009-05-29 00:18:53 +00:00
Scott MacVicar
d8d4c1d188
Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here.
2009-05-28 21:56:35 +00:00
Kalle Sommer Nielsen
9cc941b31a
zstr should be used here, this nukes another compiler warning
2009-05-28 20:53:09 +00:00
Kalle Sommer Nielsen
f490cdfae3
% shouldn't be escaped here
2009-05-28 20:46:05 +00:00
Kalle Sommer Nielsen
d1c04314c5
MFB: This should be in HEAD regradless of uint8_t is available or not
2009-05-28 19:40:37 +00:00
Ulf Wendel
8116eeb124
Asynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW who works on Connector/C.
2009-05-28 18:57:14 +00:00
Ulf Wendel
db3f0aa99e
Andrey needs to have a look at this one. The bug report itself is bogus. However, the bug report shows a result set and that is wrong.
2009-05-28 18:27:44 +00:00
Andrey Hristov
7b5dcc895a
Forgot to commit this one, of the ANSI_QUOTES fame
2009-05-28 18:10:12 +00:00
Andrey Hristov
42495ccdde
Fix again the tests for ANSI_QUOTES
2009-05-28 18:00:08 +00:00
Andrey Hristov
86aa4e8035
Fix a valgrind warning as well as more trace log information
2009-05-28 17:49:00 +00:00
Andrey Hristov
09b56ed2a5
Fix a problem with cursors, which did not happen with unbuffered PS for
...
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.
2009-05-28 16:35:16 +00:00
Ulf Wendel
f9fb575cd7
I had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I broke (part 1)
2009-05-28 15:47:08 +00:00
Ulf Wendel
85cb084fc5
1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD.
2009-05-28 14:11:41 +00:00
Ulf Wendel
ff1535fe73
Fixing test (its OK in 5_3 and needs to be fixed in HEAD)
2009-05-28 13:55:46 +00:00
Pierre Joye
c85b4de5fb
#48378 , exif_read_data() segfaults on certain corrupted .jpeg files
2009-05-28 13:44:43 +00:00
Arnaud Le Blanc
df4d44d78c
New test
2009-05-28 13:22:15 +00:00
Pierre Joye
37eb8162a1
- MFB: fix build
2009-05-28 11:50:15 +00:00
Andrey Hristov
c90b10a290
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
...
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.
2009-05-28 11:47:15 +00:00
Andrey Hristov
7d2383061c
Fix a test, UNSIGNED is expected
2009-05-28 10:16:18 +00:00
Arnaud Le Blanc
5a19216596
New test
2009-05-28 10:15:32 +00:00
Andrey Hristov
2caa76ae62
Fix failures when the server is running with ANSI_QUOTES
2009-05-28 09:57:54 +00:00
Antony Dovgal
006646df9c
fix build
2009-05-28 09:45:20 +00:00
Jani Taskinen
91a262adbd
- Fix build for winblows
2009-05-28 09:09:02 +00:00
Scott MacVicar
b7728c2622
sync SQLite 3.6.14.2
2009-05-28 03:18:55 +00:00
Andrey Hristov
0168fc5dda
Less warnings by usage of proper modifier
2009-05-27 20:04:49 +00:00
Andrey Hristov
0ebb041393
because we use int64_t we need corresponding printf modifiers. the type
...
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
2009-05-27 19:56:47 +00:00
Andrey Hristov
e3456c0460
Fix tests when the server is running with ANSI_QUOTES
2009-05-27 18:13:56 +00:00
Andrey Hristov
8124e94d22
Additional revert
2009-05-27 15:04:55 +00:00
Andrey Hristov
77373e8694
Revert previous patch to something that make sense and works in error cases
2009-05-27 14:16:00 +00:00
Pierre Joye
af3ec48bb6
- fix build on unix with bundled gd
2009-05-27 13:56:08 +00:00
Antony Dovgal
4a0523c105
fix compile warnings
2009-05-27 13:42:00 +00:00
Pierre Joye
e6a7960d30
- [DOC] always enable imagecolormatch
2009-05-27 08:12:07 +00:00
Pierre Joye
fd8095a2eb
- [DOC] always enable imagerotate (using bundled or system gd)
2009-05-27 07:16:55 +00:00
Pierre Joye
66c3885647
- silent warnings
2009-05-26 19:56:17 +00:00
Pierre Joye
01a4bbda88
- remove filters function in the main file (see gd_filter.c)
2009-05-26 19:45:38 +00:00
Pierre Joye
eb5dc8f1aa
- gd_filter.c
2009-05-26 19:43:11 +00:00
Pierre Joye
c2577075ad
- add gd_arc to w32 script
2009-05-26 19:42:19 +00:00
Pierre Joye
eeebbb8ae0
- add image(filled)ellipse to the compat layer (work around a bug in debian too, function is declared but not present in the lib...)
2009-05-26 19:34:18 +00:00
Jani Taskinen
9dd2cd6262
- Test for bug #48203
2009-05-26 17:19:09 +00:00
Jani Taskinen
017529f11a
- Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file)
2009-05-26 15:48:28 +00:00
Pierre Joye
1dd3916370
- missed this part
2009-05-26 14:48:18 +00:00
Derick Rethans
27b8ba5bfe
- Updated to version 2009.8 (2009h)
2009-05-26 14:26:49 +00:00
Pierre Joye
c62cb674f1
- MFB: [DOC] always enable imagefilter and imageconvolution, even when built against system's gd
2009-05-26 14:26:39 +00:00
Andrey Hristov
f12565ce2f
WS
2009-05-26 14:03:07 +00:00
Arnaud Le Blanc
8620c10b3e
Fix return value of pcntl_wextistatus() ( fixes #47566 ,
...
patch by james at jamesreno dot com)
2009-05-26 14:00:42 +00:00
Andrey Hristov
8b43f4fddc
ws
2009-05-26 13:42:43 +00:00
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