Andrey Hristov
01745fa657
Fix more warnings about size_t
2011-02-01 19:30:22 +00:00
Gustavo André dos Santos Lopes
c6ccc43285
- Fixed several comparisons that always result in true of false
...
due to signedness of one of the operands, either by removing
dead code or fixing it.
- Thrown some comments around in php_stream_get_record.
- See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
2011-02-01 18:11:16 +00:00
Andrey Hristov
44cd358f04
fix warnings. These checks are not needed because
...
param_no is unsigned, it wasn't in the beginning.
2011-02-01 16:55:20 +00:00
Gustavo André dos Santos Lopes
28cd40919d
- Fixed bug #49072 (feof never returns true for damaged file in zip).
2011-02-01 14:43:52 +00:00
Ilia Alshanetsky
0927309852
Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist).
2011-02-01 14:01:00 +00:00
Pierre Joye
fefe9fc5c7
- fix build, wrong version id
2011-02-01 13:57:06 +00:00
Pierre Joye
fcdc76be21
- WS
2011-02-01 10:57:51 +00:00
Boris Lytochkin
2bc31f8027
preprocessed changes made in rev.307894:
...
keeping ext/snmp backwards compatible
2011-02-01 08:20:13 +00:00
Boris Lytochkin
dc781e2520
- Improved SNMP extension:
...
. Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
upon request.
2011-02-01 07:45:30 +00:00
Felipe Pena
ca9b3511f8
- Fixed build
2011-02-01 01:02:00 +00:00
Derick Rethans
73035c04af
- Don't lower case setting names; some of them actually have upper case
...
characters.
2011-01-31 23:11:42 +00:00
Andrey Hristov
423000075f
Add two new enums constants from the server
2011-01-31 13:52:21 +00:00
Andrey Hristov
d82b05a64b
Don't lose this data anymore. It worked without the fix,
...
but it with it is just correct (trunk only).
2011-01-31 13:29:18 +00:00
Kalle Sommer Nielsen
ddcac10dd1
Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL)
2011-01-31 12:47:28 +00:00
Kalle Sommer Nielsen
c8a25b87f1
Use our own zend_strndup() implementation of strndup() -- Fixes build on platforms without strndup(), like Windows
2011-01-31 12:32:32 +00:00
Boris Lytochkin
5e82e334dd
Improved SNMP extension. FR #53594
2011-01-31 11:41:33 +00:00
Stanislav Malyshev
f0d42e74a9
fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive)
2011-01-30 22:28:57 +00:00
Jérôme Loyet
d7e9fdc199
- remove cpystrn from FPM and use strlcpy instead.
2011-01-30 13:51:20 +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
Jérôme Loyet
147382033a
- Fixed bug #53434 (php-fpm slowlog now also logs the original request).
...
- Fixed the missing peace of code on revision 307842
2011-01-29 11:41:45 +00:00
Jérôme Loyet
4aa36e8914
- Fixed bug #53434 (php-fpm slowlog now also logs the original request).
2011-01-29 11:38:19 +00:00
Jérôme Loyet
ca3126f1cc
- Fixed bug #53777 (php-fpm log format now match php_error log format).
2011-01-29 10:13:24 +00:00
Adam Harvey
7c1a05917d
Revert the UPGRADING change in r307807, since it's actually completely pointless, as Johannes pointed out.
2011-01-29 05:26:45 +00:00
Felipe Pena
f6a3cd6f57
- Fixed bug #53748 (Using traits lead to a segmentation fault)
2011-01-28 21:19:09 +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