]> granicus.if.org Git - php/log
php
10 years agoMerge branch 'PHP-5.6'
Yasuo Ohgaki [Thu, 6 Nov 2014 04:49:43 +0000 (13:49 +0900)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini
  Fixed 2 tests that expects bool retrun value from save handler.

Conflicts:
ext/session/session.c

10 years agoFixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini
Yasuo Ohgaki [Thu, 6 Nov 2014 04:06:29 +0000 (13:06 +0900)]
Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Wed, 5 Nov 2014 14:43:37 +0000 (15:43 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix dir separator in test

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 5 Nov 2014 14:43:13 +0000 (15:43 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix dir separator in test

10 years agofix dir separator in test
Anatol Belski [Wed, 5 Nov 2014 14:42:45 +0000 (15:42 +0100)]
fix dir separator in test

10 years agoFix bad merge
Bob Weinand [Tue, 4 Nov 2014 17:23:20 +0000 (18:23 +0100)]
Fix bad merge

10 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Bob Weinand [Tue, 4 Nov 2014 16:16:49 +0000 (17:16 +0100)]
Merge remote-tracking branch 'origin/PHP-5.6'

Conflicts:
ext/standard/file.c

10 years agoarg1-3 are not variable names to use; removed useless buffer variable
Bob Weinand [Tue, 4 Nov 2014 15:58:32 +0000 (16:58 +0100)]
arg1-3 are not variable names to use; removed useless buffer variable

10 years agoimproved the ZEND_FASTCALL convention for vc12+
Anatol Belski [Tue, 4 Nov 2014 09:07:44 +0000 (10:07 +0100)]
improved the ZEND_FASTCALL convention for vc12+

10 years agoRespect flags when fetching class by name
Andrea Faulds [Tue, 4 Nov 2014 00:15:26 +0000 (00:15 +0000)]
Respect flags when fetching class by name

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 3 Nov 2014 19:44:01 +0000 (11:44 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 3 Nov 2014 19:43:51 +0000 (11:43 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 3 Nov 2014 19:43:40 +0000 (11:43 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 3 Nov 2014 19:43:15 +0000 (11:43 -0800)]
update NEWS

10 years agoFix bug #63595 GMP memory management conflicts with other libraries using GMP
Remi Collet [Mon, 27 Oct 2014 06:45:34 +0000 (07:45 +0100)]
Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 3 Nov 2014 19:40:15 +0000 (11:40 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  set default response code to 200
  set default response code to 200
  fix NEWS & version
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib

Conflicts:
ext/pcre/php_pcre.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 3 Nov 2014 19:38:29 +0000 (11:38 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  set default response code to 200
  fix NEWS & version
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 3 Nov 2014 19:37:43 +0000 (11:37 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Initialize the offset table - PCRE may sometimes miss offsets
  set default response code to 200
  fix NEWS & version
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers
  Fix bug #68113 (Heap corruption in exif_thumbnail())
  Fix bug #68089 - do not accept options with embedded \0
  Fixed bug #68044: Integer overflow in unserialize() (32-bits only)
  Fix bug #68027 - fix date parsing in XMLRPC lib

Conflicts:
configure.in
ext/curl/interface.c
main/php_version.h

10 years agoInitialize the offset table - PCRE may sometimes miss offsets
Stanislav Malyshev [Mon, 3 Nov 2014 00:04:00 +0000 (16:04 -0800)]
Initialize the offset table - PCRE may sometimes miss offsets

10 years agoMerge branch 'master' of git.php.net:php-src
George Wang [Mon, 3 Nov 2014 16:44:35 +0000 (11:44 -0500)]
Merge branch 'master' of git.php.net:php-src

10 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
George Wang [Mon, 3 Nov 2014 16:44:13 +0000 (11:44 -0500)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
George Wang [Mon, 3 Nov 2014 16:43:43 +0000 (11:43 -0500)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Sat, 1 Nov 2014 18:21:38 +0000 (19:21 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #66584 Segmentation fault on statement deallocation

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Sat, 1 Nov 2014 18:20:43 +0000 (19:20 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #66584 Segmentation fault on statement deallocation

10 years agoFixed bug #66584 Segmentation fault on statement deallocation
Matteo Beccati [Sat, 1 Nov 2014 18:11:43 +0000 (19:11 +0100)]
Fixed bug #66584 Segmentation fault on statement deallocation

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Sat, 1 Nov 2014 14:30:22 +0000 (22:30 +0800)]
Merge branch 'PHP-5.6'

10 years agoAdd credit
Xinchen Hui [Sat, 1 Nov 2014 14:29:55 +0000 (22:29 +0800)]
Add credit

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 31 Oct 2014 18:53:59 +0000 (19:53 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix ZTS build

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Fri, 31 Oct 2014 18:53:39 +0000 (19:53 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix ZTS build

10 years agofix ZTS build
Anatol Belski [Fri, 31 Oct 2014 18:53:16 +0000 (19:53 +0100)]
fix ZTS build

10 years agofix datatype mismatches
Anatol Belski [Fri, 31 Oct 2014 18:35:51 +0000 (19:35 +0100)]
fix datatype mismatches

10 years agofix datatype mismatches
Anatol Belski [Fri, 31 Oct 2014 18:11:34 +0000 (19:11 +0100)]
fix datatype mismatches

10 years agofix warning not all control paths return a value
Anatol Belski [Fri, 31 Oct 2014 17:49:29 +0000 (18:49 +0100)]
fix warning not all control paths return a value

10 years agofix datatype mismatch warning
Anatol Belski [Fri, 31 Oct 2014 17:46:38 +0000 (18:46 +0100)]
fix datatype mismatch warning

10 years agofix datatype mismatch warnings
Anatol Belski [Fri, 31 Oct 2014 17:41:41 +0000 (18:41 +0100)]
fix datatype mismatch warnings

10 years agofix datatype mismatch warnings
Anatol Belski [Fri, 31 Oct 2014 17:35:55 +0000 (18:35 +0100)]
fix datatype mismatch warnings

10 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Fri, 31 Oct 2014 17:58:59 +0000 (18:58 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
  Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Fri, 31 Oct 2014 17:57:59 +0000 (18:57 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
  Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction

10 years agoAdded PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Matteo Beccati [Fri, 31 Oct 2014 17:54:16 +0000 (18:54 +0100)]
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests

10 years agoFixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not...
Matteo Beccati [Fri, 31 Oct 2014 17:10:01 +0000 (18:10 +0100)]
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction

10 years agoUpdate NEWS
Xinchen Hui [Fri, 31 Oct 2014 09:38:18 +0000 (17:38 +0800)]
Update NEWS

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Fri, 31 Oct 2014 09:37:56 +0000 (17:37 +0800)]
Merge branch 'PHP-5.6'

Conflicts:
Zend/zend_API.c

10 years agoMerge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
Xinchen Hui [Fri, 31 Oct 2014 09:35:19 +0000 (17:35 +0800)]
Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6

10 years agoFixed Bug #68104 (Segfault while pre-evaluating a disabled function)
Xinchen Hui [Fri, 31 Oct 2014 09:32:23 +0000 (17:32 +0800)]
Fixed Bug #68104 (Segfault while pre-evaluating a disabled function)

10 years agoFixed outof memory (length == -1)
Xinchen Hui [Fri, 31 Oct 2014 04:25:40 +0000 (12:25 +0800)]
Fixed outof memory (length == -1)

10 years agoUse DECLARE_CONST instruction instead of call to internal define() function when...
Dmitry Stogov [Thu, 30 Oct 2014 23:42:39 +0000 (16:42 -0700)]
Use DECLARE_CONST instruction instead of call to internal define() function when possible

10 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Bob Weinand [Thu, 30 Oct 2014 23:05:43 +0000 (00:05 +0100)]
Merge remote-tracking branch 'origin/PHP-5.6'
Ignore commit 113f1fd6d5eb286c50f6cca003d18f847bc202cb when merging

10 years agoAdded constant expression evaluation for "dirname(__FILE__)".
Dmitry Stogov [Thu, 30 Oct 2014 22:15:51 +0000 (15:15 -0700)]
Added constant expression evaluation for "dirname(__FILE__)".
Improved constant expression evaluation for function calls

10 years agoTemporarily disable wait/xml protocol...
Bob Weinand [Thu, 30 Oct 2014 22:09:57 +0000 (23:09 +0100)]
Temporarily disable wait/xml protocol...

10 years agofix datatype mismatches
Anatol Belski [Thu, 30 Oct 2014 19:06:12 +0000 (20:06 +0100)]
fix datatype mismatches

10 years agofix datatype mismatche warnings
Anatol Belski [Thu, 30 Oct 2014 19:04:14 +0000 (20:04 +0100)]
fix datatype mismatche warnings

10 years agofix datatype mismatches
Anatol Belski [Thu, 30 Oct 2014 17:37:56 +0000 (18:37 +0100)]
fix datatype mismatches

10 years agofix datatype mismatch warnings
Anatol Belski [Thu, 30 Oct 2014 17:07:58 +0000 (18:07 +0100)]
fix datatype mismatch warnings

10 years agofix datatype mismatch warnings
Anatol Belski [Thu, 30 Oct 2014 16:25:17 +0000 (17:25 +0100)]
fix datatype mismatch warnings

10 years agofix some datatype mismatches in ext/bz2
Anatol Belski [Thu, 30 Oct 2014 16:18:10 +0000 (17:18 +0100)]
fix some datatype mismatches in ext/bz2

Additionally, as bz2 read/write routines expect int for sizes, it could
overflow. So fixed the logic. Things in compress/decompress are more
complicated so they was left as they are yet.

10 years agofix datatype mismatch warnings
Anatol Belski [Thu, 30 Oct 2014 13:36:57 +0000 (14:36 +0100)]
fix datatype mismatch warnings

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Thu, 30 Oct 2014 17:19:48 +0000 (18:19 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  don't try to send in the test results until we restored qa.php.net
  Fix uninitialized value...
  Don't treat warnings as failures in the junit output

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Thu, 30 Oct 2014 17:14:37 +0000 (18:14 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  don't try to send in the test results until we restored qa.php.net
  Don't treat warnings as failures in the junit output

Conflicts:
.travis.yml

10 years agodon't try to send in the test results until we restored qa.php.net
Ferenc Kovacs [Thu, 30 Oct 2014 17:12:37 +0000 (18:12 +0100)]
don't try to send in the test results until we restored qa.php.net

10 years agoMerge phpdbg into PHP-5.6
Bob Weinand [Thu, 30 Oct 2014 12:17:58 +0000 (13:17 +0100)]
Merge phpdbg into PHP-5.6

10 years agoFix uninitialized value...
Bob Weinand [Thu, 30 Oct 2014 11:15:27 +0000 (12:15 +0100)]
Fix uninitialized value...

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 30 Oct 2014 09:28:05 +0000 (10:28 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  add DLL export to the output globals

10 years agoadd DLL export to the output globals
Anatol Belski [Thu, 30 Oct 2014 09:27:20 +0000 (10:27 +0100)]
add DLL export to the output globals

10 years agoSave memory allocating
Xinchen Hui [Thu, 30 Oct 2014 08:55:40 +0000 (16:55 +0800)]
Save memory allocating

10 years agoFixed memory leak in ZEND_JMPZ_EX (op1 and result may share same slot)
Xinchen Hui [Thu, 30 Oct 2014 08:00:08 +0000 (16:00 +0800)]
Fixed memory leak in ZEND_JMPZ_EX (op1 and result may share same slot)

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 30 Oct 2014 03:54:00 +0000 (11:54 +0800)]
Merge branch 'PHP-5.6'

10 years agoUse macro
Xinchen Hui [Thu, 30 Oct 2014 03:52:29 +0000 (11:52 +0800)]
Use macro

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 30 Oct 2014 03:42:40 +0000 (11:42 +0800)]
Merge branch 'PHP-5.6'

10 years agoFixed build.... (shouldn't it be zend_output_globals?)
Xinchen Hui [Thu, 30 Oct 2014 03:42:02 +0000 (11:42 +0800)]
Fixed build.... (shouldn't it be zend_output_globals?)

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Wed, 29 Oct 2014 19:04:56 +0000 (20:04 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix output globals importing
  export output globals
  use portable strndup implementation
  unix sockets aren't available on windows
  dll export APIs needed by phpdbg
  fix sapi/phpdbg/config.w32
  Don't treat warnings as failures in the junit output

10 years agofix output globals importing
Anatol Belski [Wed, 29 Oct 2014 19:03:28 +0000 (20:03 +0100)]
fix output globals importing

10 years agoexport output globals
Anatol Belski [Wed, 29 Oct 2014 19:02:41 +0000 (20:02 +0100)]
export output globals

needed by phpdbg

10 years agouse portable strndup implementation
Anatol Belski [Wed, 29 Oct 2014 18:49:20 +0000 (19:49 +0100)]
use portable strndup implementation

10 years agounix sockets aren't available on windows
Anatol Belski [Wed, 29 Oct 2014 18:39:46 +0000 (19:39 +0100)]
unix sockets aren't available on windows

10 years agodll export APIs needed by phpdbg
Anatol Belski [Wed, 29 Oct 2014 18:32:52 +0000 (19:32 +0100)]
dll export APIs needed by phpdbg

10 years agofix sapi/phpdbg/config.w32
Anatol Belski [Wed, 29 Oct 2014 18:28:21 +0000 (19:28 +0100)]
fix sapi/phpdbg/config.w32

10 years agofix datatype mismatches
Anatol Belski [Wed, 29 Oct 2014 13:33:50 +0000 (14:33 +0100)]
fix datatype mismatches

10 years agofix datatype mismatches
Anatol Belski [Wed, 29 Oct 2014 13:28:16 +0000 (14:28 +0100)]
fix datatype mismatches

sizeof(struct _string) doesn't increase.

10 years agofix datatype mismatch
Anatol Belski [Wed, 29 Oct 2014 13:09:30 +0000 (14:09 +0100)]
fix datatype mismatch

10 years agofix datatype mismatches
Anatol Belski [Wed, 29 Oct 2014 12:46:58 +0000 (13:46 +0100)]
fix datatype mismatches

especially spl_dual_it_object current.pos should have the same datatype as
limit.offset, also this doesn't increase the struct size.

10 years agofix datatype mismatches
Anatol Belski [Wed, 29 Oct 2014 12:36:10 +0000 (13:36 +0100)]
fix datatype mismatches

PCRE uses plain datatypes, no typedefs.

10 years agofix the comparison return value
Anatol Belski [Wed, 29 Oct 2014 10:48:29 +0000 (11:48 +0100)]
fix the comparison return value

10 years agofix datatype mismatch
Anatol Belski [Wed, 29 Oct 2014 10:39:54 +0000 (11:39 +0100)]
fix datatype mismatch

10 years agofix datatype mismatches
Anatol Belski [Tue, 28 Oct 2014 19:12:20 +0000 (20:12 +0100)]
fix datatype mismatches

10 years agofix datatype mismatch warning
Anatol Belski [Tue, 28 Oct 2014 19:11:53 +0000 (20:11 +0100)]
fix datatype mismatch warning

10 years agofix datatype mismatches
Anatol Belski [Tue, 28 Oct 2014 18:59:31 +0000 (19:59 +0100)]
fix datatype mismatches

10 years agofix datatype mismatch warnings
Anatol Belski [Tue, 28 Oct 2014 18:50:06 +0000 (19:50 +0100)]
fix datatype mismatch warnings

10 years agofix datatype mismatch warns
Anatol Belski [Tue, 28 Oct 2014 18:32:51 +0000 (19:32 +0100)]
fix datatype mismatch warns

10 years agofix datatype mismatch warn
Anatol Belski [Tue, 28 Oct 2014 18:29:07 +0000 (19:29 +0100)]
fix datatype mismatch warn

10 years agofix datatype mismatch warnings
Anatol Belski [Tue, 28 Oct 2014 18:25:55 +0000 (19:25 +0100)]
fix datatype mismatch warnings

10 years agofix "inconsistent dll linkage" warning caused by bison
Anatol Belski [Tue, 28 Oct 2014 18:18:47 +0000 (19:18 +0100)]
fix "inconsistent dll linkage" warning caused by bison

stdlib.h might not be always using _STDLIB_H, that will move bison
to redeclare the malloc/free prototypes.

10 years agofix datatype mismatch warnings
Anatol Belski [Tue, 28 Oct 2014 17:43:22 +0000 (18:43 +0100)]
fix datatype mismatch warnings

10 years agoDon't treat warnings as failures in the junit output
Matteo Beccati [Wed, 29 Oct 2014 13:32:41 +0000 (14:32 +0100)]
Don't treat warnings as failures in the junit output

This matches Travis and the actual return code.

10 years agoDon't treat warnings as failures in the junit output
Matteo Beccati [Wed, 29 Oct 2014 13:32:41 +0000 (14:32 +0100)]
Don't treat warnings as failures in the junit output

This matches Travis and the actual return code.

10 years agoDon't treat warnings as failures in the junit output
Matteo Beccati [Wed, 29 Oct 2014 13:32:41 +0000 (14:32 +0100)]
Don't treat warnings as failures in the junit output

This matches Travis and the actual return code.

10 years agoMerge remote-tracking branch 'origin/PHP-5.6'
Bob Weinand [Wed, 29 Oct 2014 10:44:46 +0000 (11:44 +0100)]
Merge remote-tracking branch 'origin/PHP-5.6'