]> granicus.if.org Git - php/log
php
15 years agoback to -dev
Johannes Schlüter [Tue, 22 Dec 2009 22:06:47 +0000 (22:06 +0000)]
back to -dev

15 years agoPHP 5.3.2RC1
Johannes Schlüter [Tue, 22 Dec 2009 22:02:50 +0000 (22:02 +0000)]
PHP 5.3.2RC1

15 years agorelease branch 5.3.2
Johannes Schlüter [Tue, 22 Dec 2009 21:43:59 +0000 (21:43 +0000)]
release branch 5.3.2

15 years agoWrap at 80 chars
Johannes Schlüter [Tue, 22 Dec 2009 21:17:58 +0000 (21:17 +0000)]
Wrap at 80 chars

15 years agoinstall mysqlnd headers to allow shared build of extensions
Johannes Schlüter [Tue, 22 Dec 2009 19:30:09 +0000 (19:30 +0000)]
install mysqlnd headers to allow shared build of extensions

15 years agoFix double calls to free_contents if the connection cannot be
Andrey Hristov [Tue, 22 Dec 2009 17:44:42 +0000 (17:44 +0000)]
Fix double calls to free_contents if the connection cannot be
opened. mysqlnd have no probs, external code should not have too.
In any case, double call is not needed.

15 years agomove state setting to the right place, in mysqlnd_init, no more
Andrey Hristov [Tue, 22 Dec 2009 17:31:31 +0000 (17:31 +0000)]
move state setting to the right place, in mysqlnd_init, no more
in mysqlnd::connect

15 years ago- fix build and warning (introduced by my last commit)
Pierre Joye [Tue, 22 Dec 2009 14:57:57 +0000 (14:57 +0000)]
- fix build and warning (introduced by my last commit)

15 years ago- Fixed bug #50517 (EXTRA_LDFLAGS polluted by wrong entries)
Jani Taskinen [Tue, 22 Dec 2009 09:57:19 +0000 (09:57 +0000)]
- Fixed bug #50517 (EXTRA_LDFLAGS polluted by wrong entries)

# Until someone shows me use case for LDFLAGS, this is gone.
# This was wrong place to import it anyway.

15 years ago- Fix bug #46478 (htmlentities() uses obsolete mapping table for character
Moriyoshi Koizumi [Tue, 22 Dec 2009 05:50:34 +0000 (05:50 +0000)]
- Fix bug #46478 (htmlentities() uses obsolete mapping table for character
  entity references)

15 years agoFixed bug #45599 (strip_tags() truncates rest of string with invalid attribute).
Ilia Alshanetsky [Tue, 22 Dec 2009 02:04:12 +0000 (02:04 +0000)]
Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute).

15 years ago- Updated to version 2009.20 (2009t)
Derick Rethans [Mon, 21 Dec 2009 20:46:12 +0000 (20:46 +0000)]
- Updated to version 2009.20 (2009t)

15 years agoFixed bug #50540 (Crash within ldap_first_reference function)
Sriram Natarajan [Mon, 21 Dec 2009 20:39:48 +0000 (20:39 +0000)]
Fixed bug #50540 (Crash within ldap_first_reference function)

15 years agoclean up normalizer code
Stanislav Malyshev [Mon, 21 Dec 2009 20:12:46 +0000 (20:12 +0000)]
clean up normalizer code

15 years agoMove this function to MYSQLND_NET as it works on the
Andrey Hristov [Mon, 21 Dec 2009 16:52:10 +0000 (16:52 +0000)]
Move this function to MYSQLND_NET as it works on the
php stream

15 years agomagic numbers to macros
Andrey Hristov [Mon, 21 Dec 2009 16:17:31 +0000 (16:17 +0000)]
magic numbers to macros

15 years agoMove compression and decompression code to separate functions
Andrey Hristov [Mon, 21 Dec 2009 16:09:13 +0000 (16:09 +0000)]
Move compression and decompression code to separate functions
which can be overloaded on purpose.

15 years ago- Sync (and KEEP it synced!)
Jani Taskinen [Mon, 21 Dec 2009 15:44:58 +0000 (15:44 +0000)]
- Sync (and KEEP it synced!)

15 years ago- Tune the fix for bug #50508 and make it work with MacOSX, bug #50541.
Jani Taskinen [Mon, 21 Dec 2009 15:22:40 +0000 (15:22 +0000)]
- Tune the fix for bug #50508 and make it work with MacOSX, bug #50541.

15 years ago- New tests
Felipe Pena [Sun, 20 Dec 2009 22:04:55 +0000 (22:04 +0000)]
- New tests

15 years agoFixed bug #50196 stream_copy_to_stream() produces warning when source is not file
Stanislav Malyshev [Sat, 19 Dec 2009 01:15:30 +0000 (01:15 +0000)]
Fixed bug #50196 stream_copy_to_stream() produces warning when source is not file

15 years agofix bug #50196
Stanislav Malyshev [Sat, 19 Dec 2009 01:13:33 +0000 (01:13 +0000)]
fix bug #50196

15 years agoFixed bug #50394 (Reference argument converted to value in __call)
Stanislav Malyshev [Fri, 18 Dec 2009 19:20:33 +0000 (19:20 +0000)]
Fixed bug #50394 (Reference argument converted to value in __call)

15 years agofix regression bug #50394: Reference argument converted to value in __call
Stanislav Malyshev [Fri, 18 Dec 2009 19:12:11 +0000 (19:12 +0000)]
fix regression bug #50394: Reference argument converted to value in __call

15 years agotouch
Jani Taskinen [Fri, 18 Dec 2009 12:48:59 +0000 (12:48 +0000)]
touch

15 years ago- Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
Jani Taskinen [Fri, 18 Dec 2009 11:02:07 +0000 (11:02 +0000)]
- Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
# NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed

15 years ago- [DOC] add INTERNALDATE to imap_append (will merge to trunk later)
Pierre Joye [Thu, 17 Dec 2009 17:28:26 +0000 (17:28 +0000)]
- [DOC] add INTERNALDATE to imap_append (will merge to trunk later)

15 years ago- These are 2 separate sections..
Jani Taskinen [Thu, 17 Dec 2009 16:10:53 +0000 (16:10 +0000)]
- These are 2 separate sections..

15 years agoTest for what Andrey has found with 16M packets
Ulf Wendel [Thu, 17 Dec 2009 14:15:28 +0000 (14:15 +0000)]
Test for what Andrey has found with 16M packets

15 years agorefactoring : move more network related functions to
Andrey Hristov [Thu, 17 Dec 2009 13:29:46 +0000 (13:29 +0000)]
refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)

15 years agoDuring refactoring of the function mysqlnd_stream_write_w_header() it was
Andrey Hristov [Thu, 17 Dec 2009 12:30:58 +0000 (12:30 +0000)]
During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length 16777214. The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'

15 years ago- Fix NEWS for bug #50496
Sriram Natarajan [Wed, 16 Dec 2009 21:33:20 +0000 (21:33 +0000)]
- Fix NEWS for bug #50496
# Update NEWS to keep resolved bugs in decreasing order (Christopher Jones)

15 years ago- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
Sriram Natarajan [Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)]
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)

15 years agocall free_contents in every case, in case something is not freed
Andrey Hristov [Wed, 16 Dec 2009 14:38:30 +0000 (14:38 +0000)]
call free_contents in every case, in case something is not freed
by the calling code

15 years agoRemove unneeded dereferences
Andrey Hristov [Wed, 16 Dec 2009 14:06:09 +0000 (14:06 +0000)]
Remove unneeded dereferences
(oops, committed the trunk changes from a wrong directory, which splitted
this commit).

15 years agomove MYSQLND_NET code to a separate file.
Andrey Hristov [Wed, 16 Dec 2009 12:59:38 +0000 (12:59 +0000)]
move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer

15 years ago- add a test case and update the skip clause
Pierre Joye [Wed, 16 Dec 2009 10:09:34 +0000 (10:09 +0000)]
- add a test case and update the skip clause

15 years agoremove duplicated code
Andrey Hristov [Tue, 15 Dec 2009 17:39:30 +0000 (17:39 +0000)]
remove duplicated code

15 years agoMove code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Andrey Hristov [Tue, 15 Dec 2009 17:33:06 +0000 (17:33 +0000)]
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.

15 years agoremove C++ comments
Andrey Hristov [Tue, 15 Dec 2009 14:48:24 +0000 (14:48 +0000)]
remove C++ comments

15 years agoexport this function
Andrey Hristov [Tue, 15 Dec 2009 14:26:24 +0000 (14:26 +0000)]
export this function

15 years agorefactor: move code that belongs to MYSQLND_NET out of MYSQLND
Andrey Hristov [Tue, 15 Dec 2009 13:13:51 +0000 (13:13 +0000)]
refactor: move code that belongs to MYSQLND_NET out of MYSQLND

15 years agoFixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character)
Ilia Alshanetsky [Tue, 15 Dec 2009 12:34:12 +0000 (12:34 +0000)]
Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character)

15 years ago- Make $sbindir be usable in C code as well (like $bindir and co.)
Jani Taskinen [Tue, 15 Dec 2009 11:17:47 +0000 (11:17 +0000)]
- Make $sbindir be usable in C code as well (like $bindir and co.)

15 years ago- Allow using $sbindir as well
Jani Taskinen [Tue, 15 Dec 2009 10:55:27 +0000 (10:55 +0000)]
- Allow using $sbindir as well

15 years ago- Added SKIPIF
Felipe Pena [Tue, 15 Dec 2009 00:37:43 +0000 (00:37 +0000)]
- Added SKIPIF

15 years ago- Fixed memory leak when E_STRICT message is getted
Felipe Pena [Mon, 14 Dec 2009 21:44:56 +0000 (21:44 +0000)]
- Fixed memory leak when E_STRICT message is getted

15 years ago- Fix test
Jani Taskinen [Mon, 14 Dec 2009 09:42:55 +0000 (09:42 +0000)]
- Fix test

15 years ago- Fix test
Jani Taskinen [Mon, 14 Dec 2009 09:26:49 +0000 (09:26 +0000)]
- Fix test

15 years ago- Fixed bug #50469 (Fixed typo in imagepsencodefont error string).
Pierrick Charron [Mon, 14 Dec 2009 04:09:18 +0000 (04:09 +0000)]
- Fixed bug #50469 (Fixed typo in imagepsencodefont error string).

15 years ago- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)
Pierrick Charron [Mon, 14 Dec 2009 03:44:33 +0000 (03:44 +0000)]
- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)

15 years ago- Improved the bug#49174 entry summary
Felipe Pena [Sun, 13 Dec 2009 20:51:15 +0000 (20:51 +0000)]
- Improved the bug#49174 entry summary

15 years ago- Completing the phrase
Felipe Pena [Sun, 13 Dec 2009 20:04:44 +0000 (20:04 +0000)]
- Completing the phrase

15 years ago- Fixed bug #49174 (crash on queryString set)
Felipe Pena [Sun, 13 Dec 2009 19:53:44 +0000 (19:53 +0000)]
- Fixed bug #49174 (crash on queryString set)

15 years ago- Fixed bug #50209 (Compiling with libedit cannot find readline.h)
Felipe Pena [Sun, 13 Dec 2009 17:06:47 +0000 (17:06 +0000)]
- Fixed bug #50209 (Compiling with libedit cannot find readline.h)
  (patch by tcallawa at redhat dot com)

15 years ago- Fixed tests for when running using libedit
Felipe Pena [Sun, 13 Dec 2009 16:53:24 +0000 (16:53 +0000)]
- Fixed tests for when running using libedit

15 years agoFixed bug #50451 (http wrapper breaks on 2048 char long headers)
Ilia Alshanetsky [Sun, 13 Dec 2009 15:44:22 +0000 (15:44 +0000)]
Fixed bug #50451 (http wrapper breaks on 2048 char long headers)

# Improvement on the fix for bug #49851

15 years ago- Fixed bug #50464 (declare encoding doesn't work with)
Felipe Pena [Sun, 13 Dec 2009 15:18:58 +0000 (15:18 +0000)]
- Fixed bug #50464 (declare encoding doesn't work with)
# The bug (BC) only happens in this branch.

15 years ago- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg...
Felipe Pena [Fri, 11 Dec 2009 22:30:46 +0000 (22:30 +0000)]
- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
  (Original patch by davbrown4 at yahoo dot com)

15 years ago- fix build, come on, it is not that hard to test before commit, is it?
Pierre Joye [Fri, 11 Dec 2009 16:35:42 +0000 (16:35 +0000)]
- fix build, come on, it is not that hard to test before commit, is it?

15 years ago- #50334, add sha support for VC6 too, not merged in trunk as we don't support vc6...
Pierre Joye [Fri, 11 Dec 2009 16:07:57 +0000 (16:07 +0000)]
- #50334, add sha support for VC6 too, not merged in trunk as we don't support vc6 there

15 years ago- #50334, use our own implementations of stpncpy and mempcy, avoiding weird behaviors...
Pierre Joye [Fri, 11 Dec 2009 15:57:01 +0000 (15:57 +0000)]
- #50334, use our own implementations of stpncpy and mempcy, avoiding weird behaviors on certain platforms like solaris

15 years ago- Fix test
Jani Taskinen [Fri, 11 Dec 2009 15:38:15 +0000 (15:38 +0000)]
- Fix test

15 years agofix test
Jani Taskinen [Fri, 11 Dec 2009 15:06:50 +0000 (15:06 +0000)]
fix test

15 years agoMake MYSQLND_NET dynamically allocated structure with allocator
Andrey Hristov [Fri, 11 Dec 2009 11:58:57 +0000 (11:58 +0000)]
Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.

15 years agoFix test
Jani Taskinen [Fri, 11 Dec 2009 10:55:56 +0000 (10:55 +0000)]
Fix test

15 years agoremove stale comment
Andrey Hristov [Fri, 11 Dec 2009 10:21:34 +0000 (10:21 +0000)]
remove stale comment

15 years agoMove two functions which are used in the extension as methods of
Andrey Hristov [Fri, 11 Dec 2009 10:18:00 +0000 (10:18 +0000)]
Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.

15 years ago- Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.)
Jani Taskinen [Fri, 11 Dec 2009 07:34:06 +0000 (07:34 +0000)]
- Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.)

15 years agoAdd new 'fetch' test and make several small test fixes
Christopher Jones [Thu, 10 Dec 2009 19:07:08 +0000 (19:07 +0000)]
Add new 'fetch' test and make several small test fixes

15 years agoRemove text recently merged to online doc
Christopher Jones [Thu, 10 Dec 2009 17:28:19 +0000 (17:28 +0000)]
Remove text recently merged to online doc

15 years ago- #50334, add define on win as well
Pierre Joye [Thu, 10 Dec 2009 14:08:19 +0000 (14:08 +0000)]
- #50334, add define on win as well

15 years agobump version number
Andrey Hristov [Thu, 10 Dec 2009 11:59:14 +0000 (11:59 +0000)]
bump version number

15 years agoAdd plugin storage for MYSQLND_STMT too
Andrey Hristov [Thu, 10 Dec 2009 11:18:05 +0000 (11:18 +0000)]
Add plugin storage for MYSQLND_STMT too

15 years agoFix pdo build, forgot to remove the zval caching from pdo-mysql
Andrey Hristov [Thu, 10 Dec 2009 09:35:10 +0000 (09:35 +0000)]
Fix pdo build, forgot to remove the zval caching from pdo-mysql

15 years ago- not needed anymore
Jani Taskinen [Thu, 10 Dec 2009 09:23:06 +0000 (09:23 +0000)]
- not needed anymore

15 years ago- Fix test mess (testing the deprecated ini option is pointless when using the func...
Jani Taskinen [Thu, 10 Dec 2009 09:22:54 +0000 (09:22 +0000)]
- Fix test mess (testing the deprecated ini option is pointless when using the func does same thing)

15 years agoFixed bug #49851 (http wrapper breaks on 1024 char long headers).
Ilia Alshanetsky [Thu, 10 Dec 2009 03:23:05 +0000 (03:23 +0000)]
Fixed bug #49851 (http wrapper breaks on 1024 char long headers).

15 years ago- [DOC] expose MPIR version when mpir is used instead of gmp
Pierre Joye [Thu, 10 Dec 2009 02:25:47 +0000 (02:25 +0000)]
- [DOC] expose MPIR version when mpir is used instead of gmp

15 years agoRemove stub code which never actually was used for anything.
Andrey Hristov [Wed, 9 Dec 2009 20:38:11 +0000 (20:38 +0000)]
Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.

15 years agoRemove the zval caching from mysqlnd. It was disabled versions ago
Andrey Hristov [Wed, 9 Dec 2009 20:21:05 +0000 (20:21 +0000)]
Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have
code that is disabled not in the core.

15 years agoFix compilation warnings
Andrey Hristov [Wed, 9 Dec 2009 18:11:03 +0000 (18:11 +0000)]
Fix compilation warnings

15 years ago- #50334, fix build for platform without endian.h (like solaris)
Pierre Joye [Wed, 9 Dec 2009 17:40:19 +0000 (17:40 +0000)]
- #50334, fix build for platform without endian.h (like solaris)

15 years agoRemove disabled code - threaded fetching. This can be implemented
Andrey Hristov [Wed, 9 Dec 2009 16:57:03 +0000 (16:57 +0000)]
Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.

15 years ago- Add one test from HEAD
Jani Taskinen [Wed, 9 Dec 2009 13:25:10 +0000 (13:25 +0000)]
- Add one test from HEAD

15 years agoAdapting tests to accept actual behaviour found in 5.2, 5.3 and 6.0. The behaviour...
Ulf Wendel [Wed, 9 Dec 2009 12:06:10 +0000 (12:06 +0000)]
Adapting tests to accept actual behaviour found in 5.2, 5.3 and 6.0. The behaviour is wrong according to the documentation: mysqli_connect_error() should return an empty string (not NULL), if there is no error. However, changing this would break BC and most users will not notice the difference between NULL and empty string anyway.

15 years ago- #50334, add missing file
Pierre Joye [Wed, 9 Dec 2009 10:39:03 +0000 (10:39 +0000)]
- #50334, add missing file

15 years agoFIFO
Jani Taskinen [Wed, 9 Dec 2009 10:15:34 +0000 (10:15 +0000)]
FIFO

15 years ago- #50334, add CRYPT_SHA* constants and tests [DOC]
Pierre Joye [Wed, 9 Dec 2009 01:43:23 +0000 (01:43 +0000)]
- #50334, add CRYPT_SHA* constants and tests [DOC]

15 years ago- update
Pierre Joye [Wed, 9 Dec 2009 00:35:30 +0000 (00:35 +0000)]
- update

15 years ago- drop non used code and fix warning
Pierre Joye [Wed, 9 Dec 2009 00:32:14 +0000 (00:32 +0000)]
- drop non used code and fix warning

15 years ago- #50334, crypt ignores sha512 and add support for sha256/512 to php's crypt [DOC]
Pierre Joye [Wed, 9 Dec 2009 00:20:14 +0000 (00:20 +0000)]
- #50334, crypt ignores sha512 and add support for sha256/512 to php's crypt [DOC]

15 years agoBackported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests
William Martin [Tue, 8 Dec 2009 19:51:56 +0000 (19:51 +0000)]
Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests

15 years agoMFH: static before const
Jani Taskinen [Tue, 8 Dec 2009 17:30:22 +0000 (17:30 +0000)]
MFH: static before const

15 years agoUpgraded to Sqlite 3.6.21
Ilia Alshanetsky [Tue, 8 Dec 2009 13:24:27 +0000 (13:24 +0000)]
Upgraded to Sqlite 3.6.21

15 years ago- Forgotten patch for trunk
Dmitry Stogov [Tue, 8 Dec 2009 10:16:38 +0000 (10:16 +0000)]
- Forgotten patch for trunk
- Fixed stdin filename in error messages

15 years agoFIFO
Jani Taskinen [Tue, 8 Dec 2009 06:19:56 +0000 (06:19 +0000)]
FIFO

15 years ago- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
Felipe Pena [Tue, 8 Dec 2009 01:57:37 +0000 (01:57 +0000)]
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro

15 years agoouch, that ZTS
Stanislav Malyshev [Tue, 8 Dec 2009 01:57:16 +0000 (01:57 +0000)]
ouch, that ZTS

15 years agowin32 should have different test
Stanislav Malyshev [Tue, 8 Dec 2009 01:52:57 +0000 (01:52 +0000)]
win32 should have different test