]> granicus.if.org Git - php/log
php
14 years agoFixed bug #53854 (Missing constants for compression type). Patch by Richard
Adam Harvey [Fri, 28 Jan 2011 04:19:40 +0000 (04:19 +0000)]
Fixed bug #53854 (Missing constants for compression type). Patch by Richard
Quadling.

14 years agoFix zip test.
Adam Harvey [Fri, 28 Jan 2011 03:55:34 +0000 (03:55 +0000)]
Fix zip test.

14 years agoa better habitat
Andrey Hristov [Thu, 27 Jan 2011 18:51:12 +0000 (18:51 +0000)]
a better habitat

14 years agofix a crash in new code
Andrey Hristov [Thu, 27 Jan 2011 17:30:29 +0000 (17:30 +0000)]
fix a crash in new code

14 years agoAdded support for "extra" parameter for PGNotify().
Ilia Alshanetsky [Thu, 27 Jan 2011 16:02:30 +0000 (16:02 +0000)]
Added support for "extra" parameter for PGNotify().

14 years agoFix crash with mbstring, this probably isn't the correct behaviour but 272/276 of...
Scott MacVicar [Thu, 27 Jan 2011 11:47:31 +0000 (11:47 +0000)]
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.

14 years ago- Fix bug #53166, missing parameters in reflections/docs
Pierre Joye [Thu, 27 Jan 2011 11:47:24 +0000 (11:47 +0000)]
- Fix bug #53166,  missing parameters in reflections/docs

14 years agoCheck PAM auth plugin build in to mysqlnd. I am afraid one cant do much better testin...
Ulf Wendel [Tue, 25 Jan 2011 17:00:30 +0000 (17:00 +0000)]
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.

14 years ago- Let's keep this consistent in the whole file.
Derick Rethans [Tue, 25 Jan 2011 15:08:19 +0000 (15:08 +0000)]
- Let's keep this consistent in the whole file.

14 years agoHandle deprecation messages differently in tests to reduce test differences between...
Ulf Wendel [Tue, 25 Jan 2011 14:01:00 +0000 (14:01 +0000)]
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

14 years agoAlways bail about deprecation, make warning visible. It is documented to be deprecate...
Ulf Wendel [Tue, 25 Jan 2011 12:51:29 +0000 (12:51 +0000)]
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).

14 years ago- Fixed CHARSET_UNICODE_COMPAT (ISO-8859-1 is compatible in the relevant sense).
Gustavo André dos Santos Lopes [Tue, 25 Jan 2011 10:57:07 +0000 (10:57 +0000)]
- 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

14 years agoremoved un-used variable
Ilia Alshanetsky [Mon, 24 Jan 2011 20:58:09 +0000 (20:58 +0000)]
removed un-used variable

14 years ago- Updated to version 2011.1 (2011a)
Derick Rethans [Mon, 24 Jan 2011 16:45:56 +0000 (16:45 +0000)]
- Updated to version 2011.1 (2011a)

14 years agofix typos
Andrey Hristov [Mon, 24 Jan 2011 13:59:28 +0000 (13:59 +0000)]
fix typos

14 years agosmall cleanups
Andrey Hristov [Mon, 24 Jan 2011 13:58:18 +0000 (13:58 +0000)]
small cleanups

14 years agoHandle MySQL 5.5 authentication features.
Andrey Hristov [Mon, 24 Jan 2011 12:34:47 +0000 (12:34 +0000)]
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.

14 years agoAdd imap_fetchmime
Stanislav Malyshev [Mon, 24 Jan 2011 03:52:00 +0000 (03:52 +0000)]
Add imap_fetchmime

14 years agofix tests
Stanislav Malyshev [Mon, 24 Jan 2011 02:48:15 +0000 (02:48 +0000)]
fix tests

14 years agoFixed bug #5273 (Can't use new properties in class extended from DateInterval)
Stanislav Malyshev [Mon, 24 Jan 2011 02:31:48 +0000 (02:31 +0000)]
Fixed bug #5273 (Can't use new properties in class extended from DateInterval)

14 years agoFixed Bug #52063 (DateTime constructor's second argument doesn't have a null default...
Stanislav Malyshev [Mon, 24 Jan 2011 01:15:41 +0000 (01:15 +0000)]
Fixed Bug #52063 (DateTime constructor's second argument doesn't have a null default value)

14 years ago- Fix missing mkdir for bindir (patch by David Tajchreber)
Felipe Pena [Sun, 23 Jan 2011 22:40:35 +0000 (22:40 +0000)]
- Fix missing mkdir for bindir (patch by David Tajchreber)

14 years agoFixed compiler warning
Ilia Alshanetsky [Sun, 23 Jan 2011 16:44:58 +0000 (16:44 +0000)]
Fixed compiler warning

14 years ago- local redeclaration
Pierre Joye [Sun, 23 Jan 2011 10:02:06 +0000 (10:02 +0000)]
- local redeclaration

14 years ago- kill local redeclaration by using a less common name
Pierre Joye [Sun, 23 Jan 2011 09:46:06 +0000 (09:46 +0000)]
- kill local redeclaration by using a less common name

14 years agoFixed variable overloading
Ilia Alshanetsky [Thu, 20 Jan 2011 19:32:36 +0000 (19:32 +0000)]
Fixed variable overloading

14 years ago- Removed accidental changes
Felipe Pena [Thu, 20 Jan 2011 12:32:41 +0000 (12:32 +0000)]
- Removed accidental changes

14 years ago- should not have been applied
Pierre Joye [Thu, 20 Jan 2011 12:23:30 +0000 (12:23 +0000)]
- should not have been applied

14 years ago- don't continue if no valid option value
Pierre Joye [Thu, 20 Jan 2011 07:38:00 +0000 (07:38 +0000)]
- don't continue if no valid option value

14 years ago- be sure that we got tzid by adding a default case
Pierre Joye [Thu, 20 Jan 2011 07:05:34 +0000 (07:05 +0000)]
- be sure that we got tzid by adding a default case

14 years ago- fail when no known op are given
Pierre Joye [Thu, 20 Jan 2011 06:58:04 +0000 (06:58 +0000)]
- fail when no known op are given

14 years ago- unused var
Pierre Joye [Thu, 20 Jan 2011 06:55:11 +0000 (06:55 +0000)]
- unused var

14 years ago- fail when no known op are given
Pierre Joye [Thu, 20 Jan 2011 06:54:28 +0000 (06:54 +0000)]
- fail when no known op are given

14 years ago- kill local redeclaration
Pierre Joye [Thu, 20 Jan 2011 06:49:17 +0000 (06:49 +0000)]
- kill local redeclaration

14 years ago- init err (and simplify)
Pierre Joye [Thu, 20 Jan 2011 06:45:52 +0000 (06:45 +0000)]
- init err (and simplify)

14 years ago- init err
Pierre Joye [Thu, 20 Jan 2011 06:44:16 +0000 (06:44 +0000)]
- init err

14 years ago- no need of assert here
Pierre Joye [Thu, 20 Jan 2011 06:32:59 +0000 (06:32 +0000)]
- no need of assert here

14 years ago- check if strdup succeeds
Pierre Joye [Thu, 20 Jan 2011 06:23:35 +0000 (06:23 +0000)]
- check if strdup succeeds

14 years agoFixed a couple of trivial typos
Philip Olson [Wed, 19 Jan 2011 22:41:01 +0000 (22:41 +0000)]
Fixed a couple of trivial typos

14 years ago - fix warning about undefined zend_multibyte_set_filter and zend_multibyte_yyinput_a...
Pierre Joye [Wed, 19 Jan 2011 21:40:15 +0000 (21:40 +0000)]
 - fix warning about undefined zend_multibyte_set_filter and zend_multibyte_yyinput_again, why are they not in zend_multibyte.h btw?

14 years ago- force static, can't be built yet shared anyway
Pierre Joye [Wed, 19 Jan 2011 21:19:45 +0000 (21:19 +0000)]
- force static, can't be built yet shared anyway

14 years ago- xp sp3 does not have them
Pierre Joye [Wed, 19 Jan 2011 19:48:28 +0000 (19:48 +0000)]
- xp sp3 does not have them

14 years agofix ZTS build
Andrey Hristov [Wed, 19 Jan 2011 17:51:02 +0000 (17:51 +0000)]
fix ZTS build

14 years ago- WS
Pierre Joye [Wed, 19 Jan 2011 17:17:52 +0000 (17:17 +0000)]
- WS

14 years ago- avoid local redeclaration
Pierre Joye [Wed, 19 Jan 2011 17:06:50 +0000 (17:06 +0000)]
- avoid local redeclaration

14 years ago- malloc may fail
Pierre Joye [Wed, 19 Jan 2011 15:23:07 +0000 (15:23 +0000)]
- malloc may fail

14 years ago- path len check and fix buffer overrun
Pierre Joye [Wed, 19 Jan 2011 14:21:46 +0000 (14:21 +0000)]
- path len check and fix buffer overrun

14 years agoWin32 build fix
Ilia Alshanetsky [Wed, 19 Jan 2011 13:09:05 +0000 (13:09 +0000)]
Win32 build fix

14 years agoAdded checks for malformated FastCGI requests (Edgar Frank)
Dmitry Stogov [Wed, 19 Jan 2011 08:38:25 +0000 (08:38 +0000)]
Added checks for malformated FastCGI requests (Edgar Frank)

14 years ago- Hopefully finally fixed the mess in rev 307562 and rev 307563.
Gustavo André dos Santos Lopes [Wed, 19 Jan 2011 00:22:06 +0000 (00:22 +0000)]
- Hopefully finally fixed the mess in rev 307562 and rev 307563.

14 years ago- fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing...
Pierre Joye [Tue, 18 Jan 2011 22:20:09 +0000 (22:20 +0000)]
- fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing fwd slash

14 years ago- Fixed wrong function call in original commit to FR #39771.
Gustavo André dos Santos Lopes [Tue, 18 Jan 2011 19:56:09 +0000 (19:56 +0000)]
- Fixed wrong function call in original commit to FR #39771.

14 years ago- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
Gustavo André dos Santos Lopes [Tue, 18 Jan 2011 19:45:38 +0000 (19:45 +0000)]
- Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
  DOMNode like DOMDocument::saveXML).

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Tue, 18 Jan 2011 13:17:23 +0000 (13:17 +0000)]
Fixed variable re-declaration

14 years ago- fix the fix (wrong test)
Pierre Joye [Tue, 18 Jan 2011 10:29:26 +0000 (10:29 +0000)]
- fix the fix (wrong test)

14 years ago- Enforce security in the fastcgi protocol parsing.
Jérôme Loyet [Mon, 17 Jan 2011 22:22:39 +0000 (22:22 +0000)]
- Enforce security in the fastcgi protocol parsing.

14 years ago- path len sanity check
Pierre Joye [Mon, 17 Jan 2011 14:29:16 +0000 (14:29 +0000)]
- path len sanity check

14 years ago- don't try to access if calloc fails (quick review of its usage: seems that the...
Pierre Joye [Mon, 17 Jan 2011 14:07:40 +0000 (14:07 +0000)]
- 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)

14 years ago- fix NULL derefencing
Pierre Joye [Mon, 17 Jan 2011 14:01:01 +0000 (14:01 +0000)]
- fix NULL derefencing

14 years agoFixed compiler warning
Ilia Alshanetsky [Mon, 17 Jan 2011 13:44:54 +0000 (13:44 +0000)]
Fixed compiler warning

14 years agoFix tests: don't expect people to use a certain db/schema for testing
Ulf Wendel [Mon, 17 Jan 2011 13:06:44 +0000 (13:06 +0000)]
Fix tests: don't expect people to use a certain db/schema for testing

14 years agoAdded 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for...
Kalle Sommer Nielsen [Mon, 17 Jan 2011 10:43:53 +0000 (10:43 +0000)]
Added 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for the headsup)

14 years agoRemove this void comment (c/p mistake)
Kalle Sommer Nielsen [Mon, 17 Jan 2011 09:59:07 +0000 (09:59 +0000)]
Remove this void comment (c/p mistake)

14 years agoMFT: Implemented FR #47802 (Support for setting character sets in DSN strings)
Kalle Sommer Nielsen [Mon, 17 Jan 2011 09:54:22 +0000 (09:54 +0000)]
MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)

14 years agoFix bug #47143, bug #51458 - provide more useful info in bad exception cases
Stanislav Malyshev [Sun, 16 Jan 2011 21:24:43 +0000 (21:24 +0000)]
Fix bug #47143, bug #51458 - provide more useful info in bad exception cases

14 years agoAdd options to debug_backtrace functions
Stanislav Malyshev [Sun, 16 Jan 2011 20:39:22 +0000 (20:39 +0000)]
Add options to debug_backtrace functions

14 years agoFix mysqlnd build
Kalle Sommer Nielsen [Sun, 16 Jan 2011 15:44:48 +0000 (15:44 +0000)]
Fix mysqlnd build

14 years agoUpdate on the mysqlnd auth plugins, changed the plugin
Andrey Hristov [Fri, 14 Jan 2011 20:04:17 +0000 (20:04 +0000)]
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.

14 years agomerge from branch
Andrey Hristov [Fri, 14 Jan 2011 20:02:49 +0000 (20:02 +0000)]
merge from branch

14 years ago- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)
Johannes Schlüter [Fri, 14 Jan 2011 14:57:57 +0000 (14:57 +0000)]
- Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver)

14 years agoadd missing dl() function to FPM SAPI
Antony Dovgal [Fri, 14 Jan 2011 13:53:59 +0000 (13:53 +0000)]
add missing dl() function to FPM SAPI

14 years agoChange things to allow passing of the password length
Andrey Hristov [Fri, 14 Jan 2011 13:00:42 +0000 (13:00 +0000)]
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.

14 years agogcc barks about these, so clean it
Andrey Hristov [Fri, 14 Jan 2011 12:32:27 +0000 (12:32 +0000)]
gcc barks about these, so clean it

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Thu, 13 Jan 2011 12:56:28 +0000 (12:56 +0000)]
Fixed variable re-declaration

14 years agointl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and...
Scott MacVicar [Thu, 13 Jan 2011 07:46:59 +0000 (07:46 +0000)]
intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax.

14 years agoAdd Spoofchecker to intl extension.
Scott MacVicar [Thu, 13 Jan 2011 06:53:09 +0000 (06:53 +0000)]
Add Spoofchecker to intl extension.

Implements part of Unicode TR36 and TR39

14 years ago- Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_pa...
Felipe Pena [Wed, 12 Jan 2011 22:17:10 +0000 (22:17 +0000)]
- Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_parameters_ex())
  patch by: klaus at triendl dot eu

14 years agogrok the MySQL 5.5 extended handshake.
Andrey Hristov [Wed, 12 Jan 2011 21:40:05 +0000 (21:40 +0000)]
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

14 years ago- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
Derick Rethans [Wed, 12 Jan 2011 19:50:09 +0000 (19:50 +0000)]
- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
  big-endian systems). (Patch by rein@basefarm.no)

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Wed, 12 Jan 2011 13:21:27 +0000 (13:21 +0000)]
Fixed variable re-declaration

14 years ago- Fixed compiler warnings
Felipe Pena [Wed, 12 Jan 2011 00:29:59 +0000 (00:29 +0000)]
- Fixed compiler warnings

14 years agoUse common code to handle initial authentication and
Andrey Hristov [Tue, 11 Jan 2011 13:02:57 +0000 (13:02 +0000)]
Use common code to handle initial authentication and
COM_CHANGE_USER

14 years agoAdded missing success check around chmod() for windows during temp file creation
Ilia Alshanetsky [Tue, 11 Jan 2011 12:57:19 +0000 (12:57 +0000)]
Added missing success check around chmod() for windows during temp file creation

14 years ago- do not enable analyzer for snapshot
Pierre Joye [Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)]
- do not enable analyzer for snapshot

14 years agoFixed bug #53630 (Fixed parameter handling inside readline() function).
Ilia Alshanetsky [Mon, 10 Jan 2011 18:19:02 +0000 (18:19 +0000)]
Fixed bug #53630 (Fixed parameter handling inside readline() function).

14 years agoplug a leak
Andrey Hristov [Mon, 10 Jan 2011 15:28:52 +0000 (15:28 +0000)]
plug a leak

14 years agonew flag
Andrey Hristov [Mon, 10 Jan 2011 15:14:56 +0000 (15:14 +0000)]
new flag

14 years ago- remove local redeclaration
Pierre Joye [Mon, 10 Jan 2011 08:28:47 +0000 (08:28 +0000)]
- remove local redeclaration

14 years ago- possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 08:07:38 +0000 (08:07 +0000)]
- possible NULL deref

14 years ago- local redeclaration
Pierre Joye [Mon, 10 Jan 2011 01:04:36 +0000 (01:04 +0000)]
- local redeclaration

14 years ago- WS
Pierre Joye [Mon, 10 Jan 2011 00:59:19 +0000 (00:59 +0000)]
- WS

14 years ago- some more possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:43:08 +0000 (00:43 +0000)]
- some more possible NULL deref

14 years ago- fix possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:30:07 +0000 (00:30 +0000)]
- fix possible NULL deref

14 years ago- add configure option to enable the builtin static analyzer (will be enabled for...
Pierre Joye [Sun, 9 Jan 2011 21:38:46 +0000 (21:38 +0000)]
- add configure option to enable the builtin static analyzer (will be enabled for snaps' log)

14 years agoAdded trait_exists() [TRAITS] [DOC]
Stefan Marr [Sun, 9 Jan 2011 19:57:41 +0000 (19:57 +0000)]
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

14 years ago- let try to fix pecl header install so we can do the same than unix, install them...
Pierre Joye [Sun, 9 Jan 2011 14:01:21 +0000 (14:01 +0000)]
- let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname>

14 years agoadded an option to http_build_query for RFC-3986
Rui Hirokawa [Sat, 8 Jan 2011 02:21:44 +0000 (02:21 +0000)]
added an option to http_build_query for RFC-3986
based url-encoding.

14 years ago- enable ASLR and NXCOMPAT by default
Pierre Joye [Fri, 7 Jan 2011 20:50:33 +0000 (20:50 +0000)]
- enable ASLR and NXCOMPAT by default

14 years agoImplemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)
Kalle Sommer Nielsen [Fri, 7 Jan 2011 18:25:55 +0000 (18:25 +0000)]
Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)

14 years agoAdded test case for #47802 and fixed macro name after the move to mysql_options()
Kalle Sommer Nielsen [Fri, 7 Jan 2011 17:18:30 +0000 (17:18 +0000)]
Added test case for #47802 and fixed macro name after the move to mysql_options()