]>
granicus.if.org Git - php/log
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:27:54 +0000 (13:27 +0200)]
Merge branch '5.4'
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:27:21 +0000 (13:27 +0200)]
Merge branch '5.3' into 5.4
Conflicts:
sapi/fpm/fpm/fpm_main.c
Gustavo André dos Santos Lopes [Wed, 23 May 2012 10:09:27 +0000 (12:09 +0200)]
Fixed bug #6208: memory leak in grapheme_extract()
Gustavo André dos Santos Lopes [Wed, 23 May 2012 10:44:44 +0000 (12:44 +0200)]
Fixed bug #62082
This was a buffer overflow in internal function
get_icu_disp_value_src_php().
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:03:55 +0000 (13:03 +0200)]
Fixed bug #62081
Constructor of IntlDateFormatter would leak if called twice.
Made calling it more than once error out before starting
using resources.
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:22:06 +0000 (13:22 +0200)]
Fixed bug #62070
Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.
Jerome Loyet [Wed, 23 May 2012 09:53:20 +0000 (11:53 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fixed bug #61026 (FPM pools can listen on the same address)
Jerome Loyet [Wed, 23 May 2012 09:53:04 +0000 (11:53 +0200)]
- Fixed bug #61026 (FPM pools can listen on the same address)
Jerome Loyet [Wed, 23 May 2012 09:52:04 +0000 (11:52 +0200)]
- Fixed bug #61026 (FPM pools can listen on the same address)
Jerome Loyet [Wed, 23 May 2012 09:41:29 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src:
Fix bug #62112: number_format() is not binary safe
Jerome Loyet [Wed, 23 May 2012 09:40:59 +0000 (11:40 +0200)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Fix bug #62112: number_format() is not binary safe
Jerome Loyet [Wed, 23 May 2012 09:40:36 +0000 (11:40 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
Jerome Loyet [Wed, 23 May 2012 09:40:22 +0000 (11:40 +0200)]
- Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
Gustavo André dos Santos Lopes [Wed, 23 May 2012 09:37:45 +0000 (11:37 +0200)]
Merge branch '5.4'
Gustavo André dos Santos Lopes [Wed, 23 May 2012 08:56:57 +0000 (10:56 +0200)]
Fix bug #62112: number_format() is not binary safe
The bug report actually urges PHP 5.3's behavior to be
reinstated -- that is, make "\0", when used as a separator,
be the same as no separator at all. I believe that is not a
proper course of action and that "\0" being interpreted as
no seperator was a bug in PHP 5.3.
Using "" for no separator, in both 5.3 and 5.4, before and
after this change, causes no separator to be used, so
there is no functionality loss.
Jerome Loyet [Wed, 23 May 2012 09:32:02 +0000 (11:32 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
Jerome Loyet [Wed, 23 May 2012 09:31:33 +0000 (11:31 +0200)]
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
Jerome Loyet [Wed, 23 May 2012 09:30:27 +0000 (11:30 +0200)]
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
Jerome Loyet [Wed, 23 May 2012 08:37:36 +0000 (10:37 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- fix help message for '-R'
- Fixed bug #61835 (php-fpm is not allowed to run as root)
Jerome Loyet [Wed, 23 May 2012 08:36:45 +0000 (10:36 +0200)]
- Fix help message for '-R'
Jerome Loyet [Wed, 23 May 2012 08:35:37 +0000 (10:35 +0200)]
- fix help message for '-R'
Jerome Loyet [Wed, 23 May 2012 08:34:16 +0000 (10:34 +0200)]
- add missing help message for '-R'
Jerome Loyet [Wed, 23 May 2012 08:32:42 +0000 (10:32 +0200)]
- Fixed bug #61835 (php-fpm is not allowed to run as root)
Jerome Loyet [Wed, 23 May 2012 07:49:13 +0000 (09:49 +0200)]
- Fixed bug #61835 (php-fpm is not allowed to run as root)
Xinchen Hui [Wed, 23 May 2012 05:53:25 +0000 (13:53 +0800)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Revert NEWS
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
Fix typo while resolving conflicts
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
Xinchen Hui [Wed, 23 May 2012 05:52:36 +0000 (13:52 +0800)]
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 23 May 2012 05:52:18 +0000 (13:52 +0800)]
Revert NEWS
Xinchen Hui [Wed, 23 May 2012 05:50:12 +0000 (13:50 +0800)]
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
This reverts commit
054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74 .
See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.
Conflicts:
ext/reflection/php_reflection.c
Xinchen Hui [Wed, 23 May 2012 05:43:49 +0000 (13:43 +0800)]
Fix typo while resolving conflicts
Xinchen Hui [Wed, 23 May 2012 05:39:00 +0000 (13:39 +0800)]
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
This reverts commit
054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74 .
See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.
Conflicts:
ext/reflection/php_reflection.c
Anatoliy Belsky [Tue, 22 May 2012 16:52:37 +0000 (18:52 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Fix bug #62109 tests\basic\bug46313-win.phpt fails
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
add news for new pg_ functions
Conflicts:
UPGRADING
Anatoliy Belsky [Tue, 22 May 2012 16:43:10 +0000 (18:43 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fix bug #62109 tests\basic\bug46313-win.phpt fails
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
Anatoliy Belsky [Tue, 22 May 2012 16:41:03 +0000 (18:41 +0200)]
Fix bug #62109 tests\basic\bug46313-win.phpt fails
Jerome Loyet [Tue, 22 May 2012 06:47:40 +0000 (08:47 +0200)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src:
add news for new pg_ functions
Jerome Loyet [Tue, 22 May 2012 06:42:17 +0000 (08:42 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
- fix NEWS for bug #61812
Jerome Loyet [Tue, 22 May 2012 06:40:37 +0000 (08:40 +0200)]
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
Jerome Loyet [Tue, 22 May 2012 06:38:09 +0000 (08:38 +0200)]
- fix NEWS for bug #61812
Jerome Loyet [Tue, 22 May 2012 06:34:27 +0000 (08:34 +0200)]
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
Stanislav Malyshev [Mon, 21 May 2012 23:12:38 +0000 (16:12 -0700)]
add news for new pg_ functions
Felipe Pena [Mon, 21 May 2012 11:55:05 +0000 (08:55 -0300)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fix the fix (typo s/AIX/_AIX/g)
Felipe Pena [Mon, 21 May 2012 11:54:59 +0000 (08:54 -0300)]
- Fix the fix (typo s/AIX/_AIX/g)
Xinchen Hui [Mon, 21 May 2012 11:06:50 +0000 (19:06 +0800)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Use free instead of efree
Xinchen Hui [Mon, 21 May 2012 11:02:45 +0000 (19:02 +0800)]
Use free instead of efree
Xinchen Hui [Mon, 21 May 2012 10:59:16 +0000 (18:59 +0800)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Use emalloc instead of malloc
Xinchen Hui [Mon, 21 May 2012 10:58:19 +0000 (18:58 +0800)]
Use emalloc instead of malloc
Anatoliy Belsky [Mon, 21 May 2012 10:52:33 +0000 (12:52 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
Anatoliy Belsky [Mon, 21 May 2012 10:52:10 +0000 (12:52 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
Matt Ficken [Mon, 21 May 2012 10:51:24 +0000 (12:51 +0200)]
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
Anatoliy Belsky [Mon, 21 May 2012 10:38:43 +0000 (12:38 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Fixed bug #62068 Test bug - gmp_nextprime and 022
Fix: 62067 Moved comments to FILE section
- BFN
Anatoliy Belsky [Mon, 21 May 2012 10:37:59 +0000 (12:37 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed bug #62068 Test bug - gmp_nextprime and 022
Fix: 62067 Moved comments to FILE section
- BFN
Conflicts:
NEWS
Matt Ficken [Mon, 21 May 2012 10:31:16 +0000 (12:31 +0200)]
Fixed bug #62068 Test bug - gmp_nextprime and 022
Dmitry Stogov [Mon, 21 May 2012 10:04:33 +0000 (14:04 +0400)]
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
Dmitry Stogov [Mon, 21 May 2012 09:57:41 +0000 (13:57 +0400)]
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
Dmitry Stogov [Mon, 21 May 2012 09:46:07 +0000 (13:46 +0400)]
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
Dmitry Stogov [Mon, 21 May 2012 08:53:21 +0000 (12:53 +0400)]
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
Felipe Pena [Sun, 20 May 2012 22:41:15 +0000 (19:41 -0300)]
- BFN
Felipe Pena [Sun, 20 May 2012 22:39:54 +0000 (19:39 -0300)]
- Fixed bug #62025 (__ss_family was changed on AIX 5.3)
Felipe Pena [Sun, 20 May 2012 22:37:20 +0000 (19:37 -0300)]
- Fixed bug #62025 (__ss_family was changed on AIX 5.3)
Felipe Pena [Sun, 20 May 2012 19:17:17 +0000 (16:17 -0300)]
- Fixed build using g++ (which complains about jump that crosses initialization)
Gustavo André dos Santos Lopes [Sun, 20 May 2012 18:57:06 +0000 (19:57 +0100)]
Note recent changes to ext/intl in UPGRADING
Gustavo André dos Santos Lopes [Sun, 20 May 2012 18:50:17 +0000 (19:50 +0100)]
Merge remote branch 'github/intl_calendar'
zoe slattery [Sat, 19 May 2012 15:13:25 +0000 (16:13 +0100)]
Fix: 62067 Moved comments to FILE section
zoe slattery [Sat, 19 May 2012 15:13:25 +0000 (16:13 +0100)]
Fix: 62067 Moved comments to FILE section
zoe slattery [Sat, 19 May 2012 15:13:25 +0000 (16:13 +0100)]
Fix: 62067 Moved comments to FILE section
Felipe Pena [Sat, 19 May 2012 00:26:24 +0000 (21:26 -0300)]
- BFN
Felipe Pena [Fri, 18 May 2012 22:38:52 +0000 (19:38 -0300)]
Merge branch 'master' of git.php.net:php-src
Felipe Pena [Fri, 18 May 2012 22:38:02 +0000 (19:38 -0300)]
- BFN
Felipe Pena [Fri, 18 May 2012 22:34:39 +0000 (19:34 -0300)]
- Fixed bug #62064 (memory leak in the XML Writer module)
Felipe Pena [Fri, 18 May 2012 22:23:42 +0000 (19:23 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
- Fixed bug #62064 (memory leak in the XML Writer module)
Felipe Pena [Fri, 18 May 2012 22:23:29 +0000 (19:23 -0300)]
- Fixed bug #62064 (memory leak in the XML Writer module)
Gustavo André dos Santos Lopes [Thu, 17 May 2012 21:18:51 +0000 (23:18 +0200)]
Added IntlCalendar::toDateTime()
Gustavo André dos Santos Lopes [Thu, 17 May 2012 21:17:00 +0000 (23:17 +0200)]
Fixed a couple of memory leaks
Gustavo André dos Santos Lopes [Thu, 17 May 2012 16:16:54 +0000 (18:16 +0200)]
Fixed bad DateTime construction state check
Gustavo André dos Santos Lopes [Thu, 17 May 2012 15:45:15 +0000 (17:45 +0200)]
MessageFormatter accepts IntlCalendar arguments
Now MessageFormatter::format() accepts IntlCalendar objects to be used in
arguments of type Format::kDate.
Gustavo André dos Santos Lopes [Thu, 17 May 2012 15:57:22 +0000 (17:57 +0200)]
Merge branch 'intl_format_tz' into intl_calendar
Gustavo André dos Santos Lopes [Wed, 16 May 2012 15:33:12 +0000 (17:33 +0200)]
Bug #58756: w.r.t MessageFormatter (partial fix)
I don't think the current ICU API allows this bug to be completely fixed.
Right now, the code cannot control the time zone used in date/time formats
that appear inside complex subformats. See the comment inside
umsg_set_timezone().
Gustavo André dos Santos Lopes [Mon, 30 Apr 2012 13:29:36 +0000 (15:29 +0200)]
Handle bogus string in intl_charFromString().
Gustavo André dos Santos Lopes [Mon, 30 Apr 2012 13:28:41 +0000 (15:28 +0200)]
Whitespace.
Gustavo André dos Santos Lopes [Mon, 30 Apr 2012 13:15:09 +0000 (15:15 +0200)]
Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone.
IntlTimeZone::fromDateTimeZone(DateTimeZone $dtz) converts from an
ext/date TimeZone to an IntlTimeZone. The conversion is done by feeding
the time zone name (essentially what would be given by
DateTimeZone::getName()) to ICU's TimeZone::createTimeZone except if it's
an offset time zone. In that case, the offset is read from the ext/date
time zone object structure and an appopriate id (of the form
GMT<+|-><HH:MM>) is given to ICU's TimeZone::createTimeZone. Not all
ext/date time zones are recognized for ICU. For instance, WEST is not.
Note that these kind of abbreviations, as far as I can tell, can only be
created via ext/date DateTime, not directly through DateTimeZone's
constructor.
For IntlTimeZone::toDateTimeZone(), the behavior is symmetrical.
We instantiate a DateTimeZone and then call its constructor if we don't
have an offset time zone, otherwise we mess with its structure. If the
timezone is not valid for ext/date, then we allow the exception of
DateTimeZone constructor to propagate.
Gustavo André dos Santos Lopes [Fri, 6 Apr 2012 20:04:14 +0000 (22:04 +0200)]
Fixed two IntlCalendar::setTimeZone() tests.
Gustavo André dos Santos Lopes [Fri, 6 Apr 2012 19:52:43 +0000 (21:52 +0200)]
Added IntlCalendar::fromDateTime()
IntlCalendar::fromDateTime(DateTime|string $dateTime[, string $locale)
intlcal_from_date_time(...)
If a string is given as the first argument, the method will try to
instantiate a new DateTime object and use that instead.
Gustavo André dos Santos Lopes [Fri, 6 Apr 2012 19:50:08 +0000 (21:50 +0200)]
Accept DateTimeZone where time zones are expected.
Also unified timezone handling in IntlCalendar::setTimeZone()
to that in the IntlCalendar and IntlGregorianCalendar constructors.
Christopher Jones [Wed, 16 May 2012 17:13:34 +0000 (10:13 -0700)]
Dummy (whitespace) change so Dan Brown can verify snap generation from git
PHP snapshots were still pulling from SVN and were out of date. This
is a dummy PHP 5.4-only commit so Dan can verify what he's updated for
git in the backend.
Johannes Schlüter [Wed, 16 May 2012 14:50:57 +0000 (16:50 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
PHP 5.3.15-dev
Johannes Schlüter [Wed, 16 May 2012 14:50:33 +0000 (16:50 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
PHP 5.3.15-dev
Conflicts:
configure.in
main/php_version.h
Johannes Schlüter [Wed, 16 May 2012 14:49:35 +0000 (16:49 +0200)]
PHP 5.3.15-dev
Johannes Schlüter [Wed, 16 May 2012 14:46:08 +0000 (16:46 +0200)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:/php-src:
Fix for bug#62046
Johannes Schlüter [Wed, 16 May 2012 14:41:23 +0000 (16:41 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
fd fix
fix bug #61065 (cherry picked from commit
a10e778bfb7ce9caa1f91666ddf2705db7982d68 )
Johannes Schlüter [Wed, 16 May 2012 14:40:29 +0000 (16:40 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
fd fix
fix bug #61065 (cherry picked from commit
a10e778bfb7ce9caa1f91666ddf2705db7982d68 )
Stanislav Malyshev [Wed, 16 May 2012 05:35:43 +0000 (22:35 -0700)]
fd fix
Stanislav Malyshev [Wed, 16 May 2012 05:34:34 +0000 (22:34 -0700)]
fix bug #61065
(cherry picked from commit
a10e778bfb7ce9caa1f91666ddf2705db7982d68 )
andrey [Wed, 16 May 2012 14:00:17 +0000 (16:00 +0200)]
Merge branch 'PHP-5.4'
andrey [Wed, 16 May 2012 13:59:39 +0000 (15:59 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4
Conflicts:
ext/mysqlnd/mysqlnd_ps.c
merge fix for bug#62046
andrey [Wed, 16 May 2012 12:28:55 +0000 (14:28 +0200)]
Fix for bug#62046
Bug#62046 mysqli@mysqlnd can't iterate over stored sets after call to
mysqli_stmt_reset().
Stmt's state was changed to STMT_PREPARED and leads the driver to think
that the stmt was just prepared. Because result set exist also for only
prepared but not executed sets, the check for stmt->result isn't any good.
There is a result set, because as response for COM_PREPARE the server sends
metadata and metadata is part of a result set. After COM_EXECUTE the server
sends metadata again, which could be different and in this case more correct.
Felipe Pena [Wed, 16 May 2012 11:40:53 +0000 (08:40 -0300)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fixed bug #55299 (multiple null pointer in win32/registry.c)
Felipe Pena [Wed, 16 May 2012 11:40:45 +0000 (08:40 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
- Fixed bug #55299 (multiple null pointer in win32/registry.c)
Felipe Pena [Wed, 16 May 2012 11:40:12 +0000 (08:40 -0300)]
- Fixed bug #55299 (multiple null pointer in win32/registry.c)
Stanislav Malyshev [Wed, 16 May 2012 06:30:34 +0000 (23:30 -0700)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Revert "Update test to fix breakage caused by the previous commit."
fix test
to 5.4.5-dev
Stanislav Malyshev [Wed, 16 May 2012 06:25:06 +0000 (23:25 -0700)]
Revert "Update test to fix breakage caused by the previous commit."
This reverts commit
05c8d4766c272e101b5279f0ec432e1b16e74637 .
Connected to revert
7bbd5521d28ee77c5a8df80174f52dad0112e872 .
Stanislav Malyshev [Wed, 16 May 2012 06:09:46 +0000 (23:09 -0700)]
fix test