Stanislav Malyshev
f0d42e74a9
fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive)
2011-01-30 22:28:57 +00:00
Stanislav Malyshev
1e91069eb4
Fix bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp)
2011-01-30 10:18:12 +00:00
Stanislav Malyshev
5bb0a44e06
Fix bug #52808 (Segfault when specifying interval as two dates)
2011-01-30 08:54:53 +00:00
Felipe Pena
0e7c00f3a6
- Fixed bug #53867 (Test failure)
...
patch by: rquadling at php.net
2011-01-28 20:41:54 +00:00
Andrey Hristov
2e3e86b996
clear error before doing anything, because we can get
...
trapped by previous error :
php -r '$link = mysqli_init();
var_dump($link->real_connect("127.0.0.1", "unknown", "unknown"));
var_dump($link->real_connect("127.0.0.1", "known", "password"));'
shows the problem. The second connect did not work, as it should be.
2011-01-28 17:33:14 +00:00
Ulf Wendel
267bf9b31b
Don't expect a certain server reply, it is undefined what happens.
2011-01-28 13:41:02 +00:00
Dmitry Stogov
aa5055ba0f
Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization
2011-01-28 10:33:47 +00:00
Adam Harvey
c5f06eff15
Fixed bug #53854 (Missing constants for compression type). Patch by Richard
...
Quadling.
2011-01-28 04:19:40 +00:00
Adam Harvey
6bf5a8593b
Fix zip test.
2011-01-28 03:55:34 +00:00
Andrey Hristov
c2887dd8f5
a better habitat
2011-01-27 18:51:12 +00:00
Andrey Hristov
942ea00eea
fix a crash in new code
2011-01-27 17:30:29 +00:00
Ilia Alshanetsky
46ff954ca7
Added support for "extra" parameter for PGNotify().
2011-01-27 16:02:30 +00:00
Scott MacVicar
c10b7e3ac2
Fix crash with mbstring, this probably isn't the correct behaviour but 272/276 of the tests pass after this.
...
When mbstring.language is unset, it ends up being mbfl_no_language_neutral and there is no default when setting the encoding.
internal_encoding and current_internal_encoding then end up being null.
2011-01-27 11:47:31 +00:00
Pierre Joye
36854c3cad
- Fix bug #53166 , missing parameters in reflections/docs
2011-01-27 11:47:24 +00:00
Ulf Wendel
b961a26705
Check PAM auth plugin build in to mysqlnd. I am afraid one cant do much better testing without making many assumptions on the server setup.
2011-01-25 17:00:30 +00:00
Derick Rethans
e1a4b5439d
- Let's keep this consistent in the whole file.
2011-01-25 15:08:19 +00:00
Ulf Wendel
e5e8ca7f43
Handle deprecation messages differently in tests to reduce test differences between 5.3 and trunk: suppress warnings by default, check warnings in a dedicated test
2011-01-25 14:01:00 +00:00
Ulf Wendel
1d6d0f8aaf
Always bail about deprecation, make warning visible. It is documented to be deprecated in the 5.3 manual but the deprecation warning was tied to trace_mode=1 (as of 2002 or the like).
2011-01-25 12:51:29 +00:00
Gustavo André dos Santos Lopes
4a946a91e5
- Fixed CHARSET_UNICODE_COMPAT (ISO-8859-1 is compatible in the relevant sense).
...
- Fixed usage of zend_multibyte_get_internal_encoding (its return cannot be
cast to char*).
- Change tests to reflect that charset detection now relies on
internal_encoding, not on current_internal_encoding.
NOTE: This fixes the changes in rev 306077, but it remains that that change
introduced a BC break. I assumed it was intentional
2011-01-25 10:57:07 +00:00
Ilia Alshanetsky
05b2d22a00
removed un-used variable
2011-01-24 20:58:09 +00:00
Derick Rethans
334c7417fb
- Updated to version 2011.1 (2011a)
2011-01-24 16:45:56 +00:00
Andrey Hristov
2cdc51e580
fix typos
2011-01-24 13:59:28 +00:00
Andrey Hristov
4439bde560
small cleanups
2011-01-24 13:58:18 +00:00
Andrey Hristov
ce4e6f4db5
Handle MySQL 5.5 authentication features.
...
Authentication protocol can be changed, a new raw
packet is introduced, which includes only the "encrypted"
data for the auth plugin, sent after change protocol (0xFE)
is sent to the client.
2011-01-24 12:34:47 +00:00
Stanislav Malyshev
e7a2c9a85c
Add imap_fetchmime
2011-01-24 03:52:00 +00:00
Stanislav Malyshev
68512f85c4
fix tests
2011-01-24 02:48:15 +00:00
Stanislav Malyshev
1a8b87d2c5
Fixed bug #5273 (Can't use new properties in class extended from DateInterval)
2011-01-24 02:31:48 +00:00
Stanislav Malyshev
a6c0a4e474
Fixed Bug #52063 (DateTime constructor's second argument doesn't have a null default value)
2011-01-24 01:15:41 +00:00
Ilia Alshanetsky
9c29975e4d
Fixed compiler warning
2011-01-23 16:44:58 +00:00
Pierre Joye
88a1f3988c
- local redeclaration
2011-01-23 10:02:06 +00:00
Pierre Joye
fc4853f34b
- kill local redeclaration by using a less common name
2011-01-23 09:46:06 +00:00
Ilia Alshanetsky
e3d1ab787f
Fixed variable overloading
2011-01-20 19:32:36 +00:00
Pierre Joye
e0af377bd8
- be sure that we got tzid by adding a default case
2011-01-20 07:05:34 +00:00
Pierre Joye
739a870b0d
- fail when no known op are given
2011-01-20 06:58:04 +00:00
Pierre Joye
4ff753b99b
- unused var
2011-01-20 06:55:11 +00:00
Pierre Joye
1e9faabe8e
- fail when no known op are given
2011-01-20 06:54:28 +00:00
Pierre Joye
eddf7586db
- kill local redeclaration
2011-01-20 06:49:17 +00:00
Pierre Joye
3292399d27
- init err (and simplify)
2011-01-20 06:45:52 +00:00
Pierre Joye
aac73eb84a
- init err
2011-01-20 06:44:16 +00:00
Pierre Joye
a2a62aeb5f
- force static, can't be built yet shared anyway
2011-01-19 21:19:45 +00:00
Andrey Hristov
87a2104c1a
fix ZTS build
2011-01-19 17:51:02 +00:00
Pierre Joye
f47405315d
- malloc may fail
2011-01-19 15:23:07 +00:00
Gustavo André dos Santos Lopes
b9b1fb1827
- Hopefully finally fixed the mess in rev 307562 and rev 307563.
2011-01-19 00:22:06 +00:00
Gustavo André dos Santos Lopes
f455f85e6c
- Fixed wrong function call in original commit to FR #39771 .
2011-01-18 19:56:09 +00:00
Gustavo André dos Santos Lopes
163b3bcec9
- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
...
DOMNode like DOMDocument::saveXML).
2011-01-18 19:45:38 +00:00
Pierre Joye
0c665f0996
- fix the fix (wrong test)
2011-01-18 10:29:26 +00:00
Pierre Joye
a1b2df31d6
- don't try to access if calloc fails (quick review of its usage: seems that the stats member is validated in other places, to be confirmed)
2011-01-17 14:07:40 +00:00
Pierre Joye
59dc221530
- fix NULL derefencing
2011-01-17 14:01:01 +00:00
Ilia Alshanetsky
78b60fcc97
Fixed compiler warning
2011-01-17 13:44:54 +00:00
Ulf Wendel
a55e03aaff
Fix tests: don't expect people to use a certain db/schema for testing
2011-01-17 13:06:44 +00:00
Kalle Sommer Nielsen
5ba90aefb0
Added 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for the headsup)
2011-01-17 10:43:53 +00:00
Kalle Sommer Nielsen
dc8da85778
Remove this void comment (c/p mistake)
2011-01-17 09:59:07 +00:00
Kalle Sommer Nielsen
2d9325ec2c
Fix mysqlnd build
2011-01-16 15:44:48 +00:00
Andrey Hristov
16c6ce94d2
Update on the mysqlnd auth plugins, changed the plugin
...
structure and where they load themselves.
0xFE packets (method switch) needs to be done, additional
wire-level packet to be created to be parsed and the packet
doesn't fit the PACKET_OK structure anymore.
2011-01-14 20:04:17 +00:00
Andrey Hristov
a3391dce9f
merge from branch
2011-01-14 20:02:49 +00:00
Johannes Schlüter
fc49f76caa
- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)
2011-01-14 14:57:57 +00:00
Andrey Hristov
5ca5c2bf43
Change things to allow passing of the password length
...
to mysqlnd. This is needed as a password might include
a \0 and thus we need to be binary safe.
2011-01-14 13:00:42 +00:00
Scott MacVicar
b2c4503fbe
intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax.
2011-01-13 07:46:59 +00:00
Scott MacVicar
d90394851c
Add Spoofchecker to intl extension.
...
Implements part of Unicode TR36 and TR39
2011-01-13 06:53:09 +00:00
Andrey Hristov
429e07bba2
grok the MySQL 5.5 extended handshake.
...
Move the authentication routines, the native ones, to
separate file and encapsulate them in a plugin.
Depending on the server version and what the server
requests (or doesn't in old versions) load the authentication
plugin to handle it.
Currently only the 4.1+ authentication is supported. More to come
2011-01-12 21:40:05 +00:00
Derick Rethans
8e73b70806
- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
...
big-endian systems). (Patch by rein@basefarm.no )
2011-01-12 19:50:09 +00:00
Ilia Alshanetsky
a6a4751a88
Fixed variable re-declaration
2011-01-12 13:21:27 +00:00
Felipe Pena
189b042a01
- Fixed compiler warnings
2011-01-12 00:29:59 +00:00
Andrey Hristov
ddbbcdce49
Use common code to handle initial authentication and
...
COM_CHANGE_USER
2011-01-11 13:02:57 +00:00
Ilia Alshanetsky
934e8d134c
Fixed bug #53630 (Fixed parameter handling inside readline() function).
2011-01-10 18:19:02 +00:00
Andrey Hristov
00eaff1528
plug a leak
2011-01-10 15:28:52 +00:00
Andrey Hristov
61d49db1f3
new flag
2011-01-10 15:14:56 +00:00
Stefan Marr
478e5d1dd0
Added trait_exists() [TRAITS] [DOC]
...
- also changed class_exists() to return false for traits
- added related tests, and get_declared_traits() tests in ext/s/t/co
2011-01-09 19:57:41 +00:00
Rui Hirokawa
b374b41c6f
added an option to http_build_query for RFC-3986
...
based url-encoding.
2011-01-08 02:21:44 +00:00
Kalle Sommer Nielsen
69a3575b38
Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)
2011-01-07 18:25:55 +00:00
Kalle Sommer Nielsen
ee62a1a747
Added test case for #47802 and fixed macro name after the move to mysql_options()
2011-01-07 17:18:30 +00:00
Kalle Sommer Nielsen
1351c2e2c6
Update to use mysql_options() instead of mysql_set_character_set() (As suggested by Andrey)
2011-01-07 14:58:23 +00:00
Pierre Joye
7b330e0e96
- missing add header
2011-01-07 14:57:51 +00:00
Kalle Sommer Nielsen
e4c36b054c
Implemented FR #47802 , support for character sets in DSN strings for PDO_MYSQL
2011-01-07 14:39:56 +00:00
Andrey Hristov
5549e066f2
Proper fix for
...
Bug #53503 mysqli::query returns false after successful LOAD DATA query
which fixes als #56349 , same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
2011-01-07 14:22:30 +00:00
Felipe Pena
d3e6f27a76
- Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference.
2011-01-07 01:11:16 +00:00
Adam Harvey
3571c955b5
Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
...
by Joshua Thijssen.
2011-01-06 02:32:02 +00:00
Adam Harvey
e7a1d5004e
Remove empty files left when r306542 was reverted in r306552.
2011-01-06 02:24:49 +00:00
Scott MacVicar
ef0a793fdd
Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched).
2011-01-06 00:08:59 +00:00
Etienne Kneuss
78728e33fa
Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)
2011-01-05 15:01:18 +00:00
Ilia Alshanetsky
92ce32032d
Added test
2011-01-05 14:41:50 +00:00
Ilia Alshanetsky
cd32d5792e
Optimize unix timestamp to date-string conversion for very high year values
2011-01-05 04:13:23 +00:00
Stanislav Malyshev
66f38ebac6
fix unit tests for intl in accordance with new ICU releases
2011-01-04 03:24:38 +00:00
Pierre Joye
2171932624
- useless commented code
2011-01-03 20:38:21 +00:00
Scott MacVicar
4212e4e90c
Change DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries that also use this.
2011-01-03 19:24:04 +00:00
Scott MacVicar
aff978c223
Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
...
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Pierre Joye
95dbc9d3f0
- slightly cleaner
2011-01-03 15:36:39 +00:00
Pierre Joye
0ebbe5e450
- fix crash when argc > 1 and to_zval is NULL (thx tony for the headup)
2011-01-03 15:35:01 +00:00
Pierre Joye
0df43f2803
- kill c++ comment
2011-01-03 09:33:27 +00:00
Pierre Joye
63aae8a69b
- stream output support for image outputs functions
2011-01-03 09:22:58 +00:00
Stanislav Malyshev
28584c233e
Imlement clone for formatters that support it
...
# also some test fixes, more to follow
2011-01-03 03:58:57 +00:00
Felipe Pena
7ae96bcf35
- Year++
2011-01-01 02:51:18 +00:00
Felipe Pena
d90a33d51c
- Year++
2011-01-01 02:46:03 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Scott MacVicar
6144da7e35
Silently casting an empty string, null or false into an object by adding a property
...
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.
Since we can't break BC completely (yet) lets bump this from E_STRICT.
Also added a new section to UPGRADING for engine changes.
<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);
$y = 1;
$y->baz = 1;
var_dump($y);
2010-12-31 16:57:45 +00:00
Scott MacVicar
c9c0de49a8
Add SQLite3_Stmt::readOnly for checking if a statement is read only
2010-12-31 16:37:12 +00:00
Gustavo André dos Santos Lopes
c6af7fc7f4
- Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
...
#Should have no behavior changes.
2010-12-30 19:00:19 +00:00
Hannes Magnusson
a0ca628aa3
New test for stream_meta_data($zipstream)
2010-12-30 17:41:36 +00:00
Eyal Teutsch
6f8b1ce7c7
removed extra ?> from the FILE section
2010-12-30 14:36:01 +00:00
Pierre Joye
05be26d13a
- WS
2010-12-28 17:20:10 +00:00
Andrey Hristov
d8774af125
C89 fix
2010-12-28 16:41:39 +00:00
Andrey Hristov
cfac5f5b67
extending the API interface - plugins can register
...
themselves with a structure and can be searched.
Every plugin can have statistics and they are shown
under the statistics of mysqlnd in MINFO.
2010-12-28 15:16:21 +00:00
Antony Dovgal
874954ed97
fix segfault when node is NULL
2010-12-27 21:47:52 +00:00
Rob Richards
8029a7563c
typo
2010-12-27 19:00:13 +00:00
Rob Richards
8bd6c63f66
fix crash with entity declarations
2010-12-27 18:57:49 +00:00
Gustavo André dos Santos Lopes
610bb96036
- Fixed bug #53612 (Segmentation fault when using several cloned intl
...
objects).
2010-12-27 01:10:08 +00:00
Eyal Teutsch
83ef8850a0
SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate
2010-12-26 13:29:29 +00:00
Eyal Teutsch
f21100b7f9
fixed 6 tests to pass on non-linux os, by removing the generic linux error string from the exp result. on socket_strerror on the other hand, added to the SKIPIF a condition to run on linux only, as the test checks specifically various error strings
2010-12-26 13:10:23 +00:00
Eyal Teutsch
8533e37d0c
using PWD which is supported by run-tests.php, rather than $cwd
2010-12-26 09:47:50 +00:00
Gustavo André dos Santos Lopes
44d0082823
- Fixed bug #53603 (ZipArchive should quiet stat errors).
...
#It is unclear if url_stat handlers should emit a warning in case
#PHP_STREAM_URL_STAT_QUIET is not specified and the resource does
#not exist. Most url_stat handlers never emit messages; the plain
#one does only so in the extraordinary event of an open_basedir
#restriction.
#But in case, php_stat uses PHP_STREAM_URL_STAT_QUIET for the
#FS_EXISTS, which suggests that mere checks on file existence are
#supposed to use this flag (arguably).
#The downside is that important diagnostic messages might be
#omitted.
2010-12-24 22:38:36 +00:00
Gustavo André dos Santos Lopes
3143828eb3
- Fix PCRE build on Windows; closes bug #53606 .
2010-12-24 19:01:25 +00:00
Ilia Alshanetsky
15b7a4476a
Upgraded\ bundled\ PCRE\ to\ version\ 8.11.
2010-12-24 15:03:29 +00:00
Peter Cowburn
064a254483
Implemented FR #48767 (SplFileInfo::getExtension())
2010-12-23 22:32:52 +00:00
Ilia Alshanetsky
73c49036ce
Fixed compiler warning
2010-12-23 14:38:15 +00:00
Gustavo André dos Santos Lopes
063393f29b
- Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
...
- Fixed stream_socket_enable_crypto() not honoring the socket timeout in
server mode.
2010-12-23 01:44:54 +00:00
Ilia Alshanetsky
1d7294f73c
Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)).
2010-12-22 16:18:59 +00:00
Moriyoshi Koizumi
e8b1590667
- Fix build.
2010-12-22 10:25:33 +00:00
Gustavo André dos Santos Lopes
9b698dbcea
- Revert of revision 306542, turns out the semantics of compare() are
...
different in SplMinHeap and SplMaxHeap.
2010-12-21 19:52:17 +00:00
Gustavo André dos Santos Lopes
4a11d76a75
- Fixed bug #53588 (SplMinHeap bad sorting with custom compare
...
function).
2010-12-21 17:29:14 +00:00
Ilia Alshanetsky
c9459ed7e7
Fixed compiler warnings
2010-12-20 23:00:11 +00:00
Rui Hirokawa
7f055f54a2
fixed compile error with VS2008.
2010-12-20 14:38:08 +00:00
Hannes Magnusson
bbd23afa98
Fixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
...
Also added the filename being access to the stream_get_meta_data() array
2010-12-20 11:00:27 +00:00
Gustavo André dos Santos Lopes
433dff36d7
- Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
...
segfault).
2010-12-19 23:47:00 +00:00
Moriyoshi Koizumi
7cbe5f164a
WS
2010-12-19 17:28:57 +00:00
Moriyoshi Koizumi
bbf3d43c1e
* Refactor zend_multibyte facility.
...
Now mbstring.script_encoding is superseded by zend.script_encoding.
2010-12-19 16:36:37 +00:00
Stanislav Malyshev
c28cac404d
Fix bad args to grapheme_extract(), reported by Maksymilian Arciemowicz
2010-12-19 05:07:31 +00:00
Gustavo André dos Santos Lopes
9a52c2f370
- Fixed bug #53568 (swapped memset arguments in struct initialization).
2010-12-17 23:05:26 +00:00
Jani Taskinen
ddf42dde2f
- Update credits
2010-12-17 10:48:47 +00:00
Jani Taskinen
116e097287
- Revert
2010-12-17 10:43:52 +00:00
Hannes Magnusson
fc146c7352
Throw some credit around
2010-12-17 10:15:21 +00:00
Andrey Hristov
b51abfb35f
fix a small bug about affected_rows in the text protocol
2010-12-16 12:56:19 +00:00
Andrey Hristov
47bb667a64
Fix sprintf modifier to be right, wrong data reported in the log
2010-12-16 12:18:54 +00:00
Derick Rethans
3a03c53dbd
- Fixed a bug in DateTime->modify() where absolute date/time statements had no
...
effect.
2010-12-15 21:45:25 +00:00
Andrey Hristov
69894eaf80
count preciser in case of error
2010-12-15 14:14:58 +00:00
Ilia Alshanetsky
844a58dc3c
Fixed compiler warning
2010-12-14 17:01:54 +00:00
Ilia Alshanetsky
9c30a3398a
Fixed bug #53541 (format string bug in ext/phar).
2010-12-14 17:00:36 +00:00
Pierre Joye
52563ea0a3
- fix header install
2010-12-14 13:10:25 +00:00
Ilia Alshanetsky
1f13d55895
Fixed bug #48607 (fwrite() doesn't check reply from ftp server before exiting)
2010-12-13 16:53:26 +00:00
Kalle Sommer Nielsen
d4b95b8bd6
Revert fix for bug #53493 to be compliant with the XML specification
2010-12-13 14:29:42 +00:00
Kalle Sommer Nielsen
1081bd1528
Fixed bug #53493 (xmlrpc_decode should not be sensitive to leading whitespace)
2010-12-13 09:52:05 +00:00
Stanislav Malyshev
91ad5e7369
add & fix tests for lenient parsing
2010-12-12 22:38:05 +00:00
Gustavo André dos Santos Lopes
52ea9da401
- Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
...
typo) (vapier at gmail dot com)
2010-12-12 22:27:02 +00:00
Ilia Alshanetsky
e90265ac97
Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
2010-12-12 19:54:21 +00:00
Ilia Alshanetsky
9696faa790
Fixed bug 48484 (array_product() always returns 0 for an empty array).
2010-12-12 19:27:04 +00:00
Ilia Alshanetsky
c6bbf9ee57
Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges)
2010-12-12 18:36:21 +00:00
Kalle Sommer Nielsen
b016c7ded7
Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to call libmysql)
...
# Based on patch by tre-php-net at crushedhat dot com
2010-12-12 18:00:25 +00:00
Derick Rethans
8ece8ad314
- Added the + modifier to parseFromFormat to allow trailing text in the
...
string to parse without throwing an error.
#- Patch by Stas, test case by me.
2010-12-12 17:17:16 +00:00
Kalle Sommer Nielsen
7456f1d8f8
Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA query)
2010-12-12 16:17:50 +00:00
Derick Rethans
457aba4460
- Fixed a few test cases
...
- Updated timezone mapping table; to remove unparsable timezones.
2010-12-12 16:06:41 +00:00
Eyal Teutsch
8e2475a787
moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests
2010-12-12 07:24:51 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +00:00
Martin Jansen
02ff4766c9
* Fixed parameter check introduced with the recent fix for bug #53492 .
...
* Improved the error message along the way.
2010-12-11 20:09:39 +00:00
Ilia Alshanetsky
19f6577720
Upgraded bundled Sqlite3 to version 3.7.4.
2010-12-11 14:57:34 +00:00
Gustavo André dos Santos Lopes
4fe751e8e4
- Tests and small parsing correction for php://fd wrapper
2010-12-11 02:08:02 +00:00
Gustavo André dos Santos Lopes
f73258223d
- Implemented request #26158/bug #53465 (open arbitrary file descriptor with fopen)
2010-12-11 01:52:13 +00:00
Felipe Pena
13c99651fc
- Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0 values)
2010-12-10 23:58:33 +00:00
Felipe Pena
3c8bc996df
- Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down)
...
patch by: gyp at balabit dot hu
2010-12-10 17:50:26 +00:00
Christopher Jones
1894d8df0b
Update for PECL upload that is synced with PHP 5.3.4
2010-12-10 04:36:29 +00:00
Scott MacVicar
ec4cbe70fa
Add more constants to curl_getinfo(), dependent on cURL version installed so wrapped in ifdefs
2010-12-10 01:45:55 +00:00
Felipe Pena
7f69592f11
- Added test for bug #53512
2010-12-10 00:59:50 +00:00
Felipe Pena
43cfda93eb
- Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values)
2010-12-10 00:47:51 +00:00
Felipe Pena
127a878fc9
- Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on ORACLE 10)
...
patch by: spatar at mail dot nnov dot ru
2010-12-10 00:33:48 +00:00
Dmitry Stogov
c35fc78890
Fixed bug #53511 (Exceptions are lost in case an exception is thrown in catch operator)
2010-12-09 16:38:37 +00:00
Eyal Teutsch
f69051602a
test bug42364 included a superfluous ?>
2010-12-09 12:39:21 +00:00
Eyal Teutsch
4e37118801
pdo_025 expected a certain extra character that is not part of windows output. changed to optional char: %a -> %A
2010-12-09 12:04:18 +00:00
Eyal Teutsch
fa404f71f5
curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too
2010-12-08 14:16:17 +00:00
Antony Dovgal
e89362b846
fix ZTS build
2010-12-08 12:35:25 +00:00
Dmitry Stogov
755c2cd0d8
Removed compile time dependency from ext/mbstring
2010-12-08 11:27:34 +00:00
Pierre Joye
088a6ad7b5
- Fix #53492 , fix crash if aa steps are invalid
2010-12-08 08:45:56 +00:00
Andrey Hristov
27ecaa7901
Skip additional result sets sent by MySQL 5.5 servers
...
which break the Protocol API
(see http://bugs.mysql.com/bug.php?id=58700 )
2010-12-06 13:59:14 +00:00
Andrey Hristov
e183ea0495
don't crash if the API is used incorrectly
2010-12-06 13:50:51 +00:00
Antony Dovgal
3722811395
make sure the stream context is present before looking for any options
...
and fix segfault
2010-12-04 21:54:20 +00:00
Felipe Pena
74484db1aa
- Fixed test (Eyal Teutsch)
2010-12-04 15:57:08 +00:00
Felipe Pena
75d8fd8d42
- Fixed test
2010-12-04 15:48:45 +00:00
Felipe Pena
57fc653c05
- Fixed tests
2010-12-04 12:28:23 +00:00
Felipe Pena
11a3a52fc8
- Fixed test
2010-12-03 23:25:27 +00:00
Felipe Pena
955ebdf10c
- Fixed test
2010-12-03 22:58:21 +00:00
Felipe Pena
26d7aafb1a
- Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number)
2010-12-03 21:05:44 +00:00
Jani Taskinen
17d1b1310e
- Fix test
2010-12-03 16:02:47 +00:00
Adam Harvey
d2263d482d
Implement FR #53457 (number_format must support more than one character for
...
thousands separator).
2010-12-03 10:10:08 +00:00
Adam Harvey
18ec6dae2c
Implemented FR #53447 (Cannot disable SessionTicket extension for servers that
...
do not support it).
I haven't written a test due to the need for such a test to have a HTTPS server
available which mishandles SessionTicket requests; it's likely that server
administrators will gradually fix this either intentionally or through OpenSSL
upgrades. That said, if there's a great clamoring for a test, I'll work one up.
2010-12-03 09:34:35 +00:00
Andrey Hristov
7ff7f9780e
fix test after newly introduced constant
2010-12-02 19:11:41 +00:00
Andrey Hristov
18424910d3
and export the new constant
2010-12-02 14:21:23 +00:00
Andrey Hristov
ee15ed307e
new server constant as of 5.5
2010-12-02 13:59:56 +00:00
Pierre Joye
3fd615cc8d
- not TS and useless on server, also not required anymore with the supported windows versions
2010-12-02 11:37:43 +00:00
Christopher Jones
0f217b0c93
Remove OCI8 devel status in preparation for PHP 5.3.4 release
2010-12-01 23:30:28 +00:00
Christopher Jones
17b31ae362
Add Berkeley DB 5.1 support to the DBA extension
2010-12-01 19:20:16 +00:00
Ilia Alshanetsky
19a0263e65
Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words)
2010-12-01 14:03:36 +00:00
Gustavo André dos Santos Lopes
22d461df62
- Implemented bug/request #53427 - stream_select doesn't preserve the
...
keys. This cannot be backported to PHP 5.3 due to a BC break. See
UPGRADING for more information.
2010-11-30 16:22:48 +00:00
Ilia Alshanetsky
c579738b94
Same as before
2010-11-30 16:12:45 +00:00
Ilia Alshanetsky
94ca4a4d09
Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted).
2010-11-30 13:40:02 +00:00
Pierre Joye
e8817ab0a6
Fixed crash in zip extract method (possible CWE-170)
2010-11-30 11:04:06 +00:00
Ilia Alshanetsky
20f5f21a40
Fixed bug #52656 (DOMCdataSection does not work with splitText).
2010-11-29 14:48:53 +00:00
Ilia Alshanetsky
08441f8848
Fixed bug #52828 (curl_setopt does not accept persistent streams).
2010-11-29 14:40:59 +00:00
Dmitry Stogov
67e8d44aa4
Removed unnecessary dependencies
2010-11-29 08:56:21 +00:00
Derick Rethans
0ca25d5406
- Fixed two more test cases.
2010-11-28 16:27:49 +00:00
Derick Rethans
8658cfe423
- Fixed a few test cases.
2010-11-28 13:41:06 +00:00
Ilia Alshanetsky
4bc5cac317
Fixed bug #52327 (base64_decode() improper handling of leading padding in strict mode)
2010-11-26 20:59:13 +00:00
Adam Harvey
9a1568c113
Implemented FR #53407 (make scandir()'s directory sorting optional).
2010-11-26 09:52:28 +00:00
Pierre Joye
4574844c52
- cleanup broken double definition of php_win_err and rename it while being there
2010-11-25 23:06:12 +00:00
Ilia Alshanetsky
8f85ff3dd6
Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits)
2010-11-25 21:38:06 +00:00
Gustavo André dos Santos Lopes
1d5eff07f3
- Fixed bug #53403 (use of unitialized values). Fixes the fix for bug #46587 .
...
- Added test for bug #46587 .
2010-11-25 16:44:20 +00:00
Dmitry Stogov
ab93d8c621
Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
2010-11-24 05:41:23 +00:00
Felipe Pena
7c541356f3
- Fixed compile warnings
2010-11-23 21:49:18 +00:00
Ilia Alshanetsky
09b69ee8ad
Fixed bug #46587 (mt_rand() does not check that max is greater than min).
2010-11-23 13:09:15 +00:00
Adam Harvey
f93b470fd4
Fix bug #53377 (imap_mime_header_decode() doesn't ignore \t during long MIME
...
header unfolding).
2010-11-23 10:34:44 +00:00
Johannes Schlüter
ebb978df61
Set svn properties
2010-11-22 22:27:06 +00:00
Johannes Schlüter
a876e54196
- Update tokenizer data
2010-11-22 21:56:18 +00:00
Ilia Alshanetsky
50e6d20d3c
Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c).
2010-11-22 13:12:28 +00:00
Felipe Pena
f327f13204
- Fixed ZTS build
2010-11-21 17:41:33 +00:00
Johannes Schlüter
dabb79bf3d
- Improve test
2010-11-21 12:28:10 +00:00
Johannes Schlüter
5a1e9d1d6b
- Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors
2010-11-21 12:24:09 +00:00
Felipe Pena
224bfb38f7
- Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty())
2010-11-20 22:53:55 +00:00
Kalle Sommer Nielsen
701bfaa2fa
Added second fix from #50987 that wasn't apart of Ilia's commit
2010-11-20 20:59:28 +00:00
Ilia Alshanetsky
3016ad46ae
Fixed bug #50987 (unaligned memory access in phar.c)
2010-11-20 19:27:31 +00:00
Stanislav Malyshev
0ba1cd1bd2
Add support for DateTime in datefmt_format
2010-11-20 02:09:04 +00:00
Stanislav Malyshev
0fa76d2407
Fix invalid args bugs by Maksymilian Arciemowicz
2010-11-19 23:22:55 +00:00
Felipe Pena
897f0b4c27
- Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
...
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Felipe Pena
9608da9443
- Fixed bug #53362 (Segmentation fault when extending SplFixedArray)
2010-11-19 20:07:32 +00:00
Ilia Alshanetsky
5bdb47791a
Fixed bug #47168 (printf of floating point variable prints maximum of 40 decimal places).
2010-11-19 16:36:10 +00:00
Kalle Sommer Nielsen
1fed0e5a84
Kill some more constness warnings in com_dotnet/phar/standard
2010-11-19 16:03:00 +00:00
Kalle Sommer Nielsen
063b213e9e
Kill warnings about constness
2010-11-19 15:48:11 +00:00
Johannes Schlüter
6c76f3606c
- Move the old sqlite extension to PECL
...
# discussed in http://www.mail-archive.com/internals@lists.php.net/msg47463.html
2010-11-19 09:55:48 +00:00
Felipe Pena
932408b413
- Fixed bug #53335 (pdo_firebird did not implement rowCount())
...
patch by: preeves at ibphoenix dot com
2010-11-18 01:24:00 +00:00
Pierrick Charron
71dfe80e05
Remove unused variables
2010-11-17 17:55:18 +00:00
Jani Taskinen
6d7fa61843
- Fix test
2010-11-17 14:54:37 +00:00
Jani Taskinen
4d13e04ae2
- Fixed wrong type causing crash (in php-cgi -i and phpinfo(); when doing HTML output)
2010-11-17 11:56:48 +00:00
Felipe Pena
0c7c01a480
- Updated QA and User note maintainers credits
2010-11-16 23:02:00 +00:00
Felipe Pena
2e42d64007
- Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly)
2010-11-16 22:16:44 +00:00
Felipe Pena
f774e7dbed
- Fixed bug #53323 (pdo_firebird getAttribute() crash)
...
patch by: preeves at ibphoenix dot com
2010-11-16 21:02:14 +00:00
Christopher Jones
1cf06684f5
Improve test cross- DB version portability
2010-11-16 20:50:29 +00:00
Christopher Jones
314c9b9233
Protect against null bytes in LOB filenames (rasmus)
2010-11-16 19:33:31 +00:00
Pierre Joye
87fd3737b4
-fix build
2010-11-15 23:53:13 +00:00
Felipe Pena
3cace9cbcc
- Fix wrong argument to read_property call
2010-11-15 18:48:48 +00:00
Felipe Pena
43206c8c68
- Added missing test
2010-11-15 18:46:59 +00:00
Gustavo André dos Santos Lopes
e10454ded8
- Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
...
stream).
2010-11-15 18:22:52 +00:00
Felipe Pena
565c484222
- Moved leak_variable() to zend_builtin_functions.c (Gustavo)
2010-11-15 17:06:27 +00:00
Gustavo André dos Santos Lopes
c3727cc862
- Added test relative to the fix in rev #305346 .
2010-11-15 14:51:26 +00:00
Gustavo André dos Santos Lopes
3a02cfb675
- Added leak_variable() function.
...
- Added mechanism to force outer streams to be closed before their inner ones.
- Fixed temp:// streams only handling correctly (through an ad hoc mechanism) reverse closing order
when the inner stream is of type memory.
2010-11-15 03:05:32 +00:00
Gustavo André dos Santos Lopes
24636a7e1c
- Altered htmlentities19.phpt (now htmlentities24.phpt) to reflect new default encoding
...
being UTF-8.
- Moved ext/standard/tests/file/htmlentities19.phpt and htmlspecialchars.phpt to the
proper directory (tests/strings instead of tests/file). htmlentities19.phpt had to
be renamed in order not to clash with an existing file.
2010-11-15 01:57:16 +00:00
Pierre Joye
0af01dc7a5
- allow firebird header to be in the normal deps directory and restore firebird support on win (5.3.4+)
2010-11-14 22:40:30 +00:00
Felipe Pena
8192f0f771
- Added missing void arg checks
2010-11-14 18:40:08 +00:00
Derick Rethans
d475703660
- Copied test cases (that all fail?!) from 5.3 to trunk.
2010-11-13 16:30:22 +00:00
Derick Rethans
8ca9251c8b
- MFH: Added support for the ( and ) delimiters/separators to
...
DateTime::createFromFormat().
- Regenerated the parsers for HEAD and PHP_5_3.
2010-11-13 15:01:48 +00:00
Derick Rethans
3c8e64f962
- Don't show timezone if it wasn't found while parsing.
2010-11-13 14:57:47 +00:00
Derick Rethans
d763e535cc
- Added support for the ( and ) delimiters/separators to
...
DateTime::createFromFormat().
#- There are a few more things to come, once ready, I'll regenerate the .c file
# and merge.
2010-11-13 12:56:21 +00:00
Felipe Pena
6e8c2ba690
- Fixed bug #53136 (Invalid read on openssl_csr_new())
2010-11-12 23:34:03 +00:00
Ulf Wendel
1891feac44
Testing for the two new statistics 'bytes_received_real_data_normal' and 'bytes_received_real_data_ps'
2010-11-12 12:21:35 +00:00
Christopher Jones
29280516e2
Prepare for PECL OCI8 1.4.4
2010-11-10 19:08:13 +00:00
Christopher Jones
eba1db126c
Improve startup failure error messages
2010-11-10 18:59:56 +00:00