]> granicus.if.org Git - php/log
php
11 years agoExport JsonSerializable Interface (bug #65753)
Julien Pauli [Mon, 17 Feb 2014 09:25:40 +0000 (10:25 +0100)]
Export JsonSerializable Interface (bug #65753)

11 years agosimplify the metadata part
Anatol Belski [Mon, 17 Feb 2014 09:20:36 +0000 (10:20 +0100)]
simplify the metadata part

11 years agoimagettftext() uses the last charactermap it found and not the one you want
Scott MacVicar [Mon, 17 Feb 2014 05:53:19 +0000 (21:53 -0800)]
imagettftext() uses the last charactermap it found and not the one you want

Summary:
This caused issues when you picked a font with multiple maps, it wouldn't
pick the unicode version but instead pick the last one it saw. Change so
we cache on a per encoding level. There was even a todo list item in the code.

In an ideal world we can probably iterate through at font write time.

Test Plan:
See said unit test, it's Apache Licensed font included

11 years ago[libxml] Unit test for libxml_disable_entity_loader()
Scott MacVicar [Sun, 5 Jan 2014 10:11:05 +0000 (02:11 -0800)]
[libxml] Unit test for libxml_disable_entity_loader()

Summary:
Test to make sure libxml_disable_entity_loader() is behaving.

11 years agoAdd pgsql related change information to NEWS and UPGRADING
Yasuo Ohgaki [Mon, 17 Feb 2014 00:59:58 +0000 (09:59 +0900)]
Add pgsql related change information to NEWS and UPGRADING

11 years agoImprement FR #25854 Return value for pg_insert should be resource instead of bool
Yasuo Ohgaki [Sun, 16 Feb 2014 21:36:54 +0000 (06:36 +0900)]
Imprement FR #25854 Return value for pg_insert should be resource instead of bool

11 years agoImplement FR #41146 - Add "description" with exteneded flag pg_meta_data().
Yasuo Ohgaki [Sun, 16 Feb 2014 21:19:47 +0000 (06:19 +0900)]
Implement FR #41146 - Add "description" with exteneded flag pg_meta_data().
pg_meta_data(resource $conn, string $table [, bool extended])
It also made pg_meta_data() return "is enum" always.

11 years agoupdated pgsql/config.w32
Anatol Belski [Sun, 16 Feb 2014 16:13:56 +0000 (17:13 +0100)]
updated pgsql/config.w32

keep track with the latest changes for postgles 9.3 compatibility

11 years agoTravis has old PostgreSQL server. Avoid test error.
Yasuo Ohgaki [Sun, 16 Feb 2014 09:08:50 +0000 (18:08 +0900)]
Travis has old PostgreSQL server. Avoid test error.

11 years agoIt seems travis needs ending >?
Yasuo Ohgaki [Sun, 16 Feb 2014 07:40:58 +0000 (16:40 +0900)]
It seems travis needs ending >?

11 years agoAdd PGSQL_DML_ESCPE
Yasuo Ohgaki [Sun, 16 Feb 2014 05:24:20 +0000 (14:24 +0900)]
Add PGSQL_DML_ESCPE

11 years agoUpdate NEWS and UPGRADING
Yasuo Ohgaki [Sun, 16 Feb 2014 05:21:05 +0000 (14:21 +0900)]
Update NEWS and UPGRADING

11 years agoEXPERIMENTAL flags for pg_select/pg_insert/pg_update/pg_delete are removed.
Yasuo Ohgaki [Sun, 16 Feb 2014 03:22:52 +0000 (12:22 +0900)]
EXPERIMENTAL flags for pg_select/pg_insert/pg_update/pg_delete are removed.

Use string escape for exotic types that allows to handle any data types. i.e. Array, JSON, JSONB, etc will work.
Add escape only query for better performance which removes meta data look up. Limitations forced by pg_convert() can be avoided with this. PGSQL_DML_ESCAPE constant is added for it.

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Yasuo Ohgaki [Sun, 16 Feb 2014 01:53:49 +0000 (10:53 +0900)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:php-src:
  Remove XFAIL from a test
  Declare a number of functions as variadic.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Yasuo Ohgaki [Sun, 16 Feb 2014 01:47:32 +0000 (10:47 +0900)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()

11 years agoUpdate NEWS
Yasuo Ohgaki [Sun, 16 Feb 2014 01:47:13 +0000 (10:47 +0900)]
Update NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Yasuo Ohgaki [Sun, 16 Feb 2014 01:45:50 +0000 (10:45 +0900)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()

11 years agoFixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()
Yasuo Ohgaki [Sun, 16 Feb 2014 01:45:15 +0000 (10:45 +0900)]
Fixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()

11 years agoRemove XFAIL from a test
Nikita Popov [Sat, 15 Feb 2014 23:02:51 +0000 (00:02 +0100)]
Remove XFAIL from a test

Everything looks to be working fine, the test is just wrong.
INF equals INF as per IEEE 754.

11 years agoDeclare a number of functions as variadic.
Rouven Weßling [Sat, 28 Dec 2013 22:08:50 +0000 (23:08 +0100)]
Declare a number of functions as variadic.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Yasuo Ohgaki [Sat, 15 Feb 2014 22:52:00 +0000 (07:52 +0900)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Refactor build_tablename()

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Yasuo Ohgaki [Sat, 15 Feb 2014 22:51:50 +0000 (07:51 +0900)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Refactor build_tablename()

11 years agoRefactor build_tablename()
Yasuo Ohgaki [Sat, 15 Feb 2014 22:49:07 +0000 (07:49 +0900)]
Refactor build_tablename()

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Yasuo Ohgaki [Sat, 15 Feb 2014 21:25:15 +0000 (06:25 +0900)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Revise encoding blacklist

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Yasuo Ohgaki [Sat, 15 Feb 2014 21:25:01 +0000 (06:25 +0900)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Revise encoding blacklist

11 years agoRevise encoding blacklist
Yasuo Ohgaki [Sat, 15 Feb 2014 21:21:39 +0000 (06:21 +0900)]
Revise encoding blacklist

11 years agoMove static functions further up so they are delared efore being used.
Johannes Schlüter [Sat, 15 Feb 2014 19:05:46 +0000 (20:05 +0100)]
Move static functions further up so they are delared efore being used.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Felipe Pena [Sat, 15 Feb 2014 13:05:25 +0000 (11:05 -0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  - Fix ZTS build when HAVE_PQESCAPELITERAL is not set
  Update NEWS
  Update NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Felipe Pena [Sat, 15 Feb 2014 13:05:08 +0000 (11:05 -0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  - Fix ZTS build when HAVE_PQESCAPELITERAL is not set
  Update NEWS

11 years ago- Fix ZTS build when HAVE_PQESCAPELITERAL is not set
Felipe Pena [Sat, 15 Feb 2014 13:04:49 +0000 (11:04 -0200)]
- Fix ZTS build when HAVE_PQESCAPELITERAL is not set

11 years agoUpdate NEWS
Yasuo Ohgaki [Sat, 15 Feb 2014 10:21:54 +0000 (19:21 +0900)]
Update NEWS

11 years agoUpdate NEWS
Yasuo Ohgaki [Sat, 15 Feb 2014 10:20:34 +0000 (19:20 +0900)]
Update NEWS

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Yasuo Ohgaki [Sat, 15 Feb 2014 09:30:11 +0000 (18:30 +0900)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Yasuo Ohgaki [Sat, 15 Feb 2014 09:29:36 +0000 (18:29 +0900)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoRefactor and cleanup. WS is cleaned up. Use -b if it is needed.
Yasuo Ohgaki [Sat, 15 Feb 2014 07:31:43 +0000 (16:31 +0900)]
Refactor and cleanup. WS is cleaned up. Use -b if it is needed.
Added compatibility macros, PQescapeStringConn, PGSQLescapeLiteral/Identifier, PGSQLfree.

11 years agoUpdate NEWS
Daniel Lowrey [Sat, 15 Feb 2014 04:44:05 +0000 (21:44 -0700)]
Update NEWS

11 years agoUpdate NEWS
Daniel Lowrey [Sat, 15 Feb 2014 04:42:36 +0000 (21:42 -0700)]
Update NEWS

11 years agoUpdate NEWS
Daniel Lowrey [Sat, 15 Feb 2014 04:41:18 +0000 (21:41 -0700)]
Update NEWS

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Daniel Lowrey [Sat, 15 Feb 2014 01:20:01 +0000 (18:20 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix for bug66501 - "key type not supported in this PHP build"

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Daniel Lowrey [Sat, 15 Feb 2014 01:15:24 +0000 (18:15 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix for bug66501 - "key type not supported in this PHP build"

11 years agoFix for bug66501 - "key type not supported in this PHP build"
mk-j [Wed, 22 Jan 2014 19:58:44 +0000 (12:58 -0700)]
Fix for bug66501 - "key type not supported in this PHP build"

11 years agoMerge branch 'bug-47030' of https://github.com/rdlowrey/php-src into PHP-5.6
Daniel Lowrey [Fri, 14 Feb 2014 22:37:49 +0000 (15:37 -0700)]
Merge branch 'bug-47030' of https://github.com/rdlowrey/php-src into PHP-5.6

* 'bug-47030' of https://github.com/rdlowrey/php-src:
  Bug #47030 (separate host and peer verification)

11 years agoBug #47030 (separate host and peer verification)
Daniel Lowrey [Fri, 14 Feb 2014 22:17:30 +0000 (15:17 -0700)]
Bug #47030 (separate host and peer verification)

11 years agoFix test broken if openssl is compiled without sslv2
Daniel Lowrey [Fri, 14 Feb 2014 20:39:02 +0000 (13:39 -0700)]
Fix test broken if openssl is compiled without sslv2

11 years agoUpdated NEWS
Daniel Lowrey [Fri, 14 Feb 2014 17:26:42 +0000 (10:26 -0700)]
Updated NEWS

11 years agoFix segfault accessing context when no context assigned
Daniel Lowrey [Fri, 14 Feb 2014 17:20:44 +0000 (10:20 -0700)]
Fix segfault accessing context when no context assigned

11 years agoa few typofixes
Veres Lajos [Fri, 14 Feb 2014 15:16:17 +0000 (17:16 +0200)]
a few typofixes

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Lior Kaplan [Fri, 14 Feb 2014 15:15:35 +0000 (17:15 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoa few typofixes
Veres Lajos [Fri, 14 Feb 2014 15:12:52 +0000 (17:12 +0200)]
a few typofixes

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Lior Kaplan [Fri, 14 Feb 2014 13:30:00 +0000 (15:30 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoa few typofixes
Veres Lajos [Fri, 14 Feb 2014 12:51:10 +0000 (14:51 +0200)]
a few typofixes

11 years agoUpdate NEWS and UPGRADING
Yasuo Ohgaki [Thu, 13 Feb 2014 23:56:21 +0000 (08:56 +0900)]
Update NEWS and UPGRADING

11 years agomove the peer verification NEWS entry to the alpha2 block, as it was pushed after...
Ferenc Kovacs [Thu, 13 Feb 2014 23:22:31 +0000 (00:22 +0100)]
move the peer verification NEWS entry to the alpha2 block, as it was pushed after alpha1

11 years agomention ldap_modify_batch()
Ferenc Kovacs [Thu, 13 Feb 2014 22:21:28 +0000 (23:21 +0100)]
mention ldap_modify_batch()

11 years agoImplement RFC https://wiki.php.net/rfc/default_encoding
Yasuo Ohgaki [Thu, 13 Feb 2014 02:54:52 +0000 (11:54 +0900)]
Implement RFC https://wiki.php.net/rfc/default_encoding

11 years agoupdate the alpha2 release date
Ferenc Kovacs [Wed, 12 Feb 2014 05:39:10 +0000 (06:39 +0100)]
update the alpha2 release date

11 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Derick Rethans [Tue, 11 Feb 2014 11:31:57 +0000 (11:31 +0000)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Tue, 11 Feb 2014 11:31:06 +0000 (11:31 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoFixed ZTS and added fix to NEWS.
Derick Rethans [Tue, 11 Feb 2014 11:27:01 +0000 (11:27 +0000)]
Fixed ZTS and added fix to NEWS.

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Sun, 9 Feb 2014 20:57:43 +0000 (15:57 -0500)]
Merge branch 'PHP-5.5' into PHP-5.6

11 years agoImplemented feature #45528: Allow the DateTimeZone constructor to accept timezones...
Derick Rethans [Thu, 6 Feb 2014 02:00:13 +0000 (21:00 -0500)]
Implemented feature #45528: Allow the DateTimeZone constructor to accept timezones per offset too.

11 years agoRename timelib_get_zone to timelib_parse_zone and export.
Derick Rethans [Thu, 6 Feb 2014 01:59:10 +0000 (20:59 -0500)]
Rename timelib_get_zone to timelib_parse_zone and export.

11 years agoReplace old SVN references to Git
Mats Lindh [Sun, 9 Feb 2014 19:17:26 +0000 (21:17 +0200)]
Replace old SVN references to Git

11 years agofix regex to detect valgrind version
Nuno Lopes [Sat, 8 Feb 2014 11:54:27 +0000 (06:54 -0500)]
fix regex to detect valgrind version
New PCRE version got stricter

11 years agofix regex to detect valgrind version
Nuno Lopes [Sat, 8 Feb 2014 11:54:27 +0000 (06:54 -0500)]
fix regex to detect valgrind version
New PCRE version got stricter

11 years agoFixed memory leak in pow operator
Bob Weinand [Thu, 6 Feb 2014 20:31:40 +0000 (21:31 +0100)]
Fixed memory leak in pow operator

11 years ago5.5.9 now released
Julien Pauli [Thu, 6 Feb 2014 14:16:16 +0000 (15:16 +0100)]
5.5.9 now released

11 years agoAdded information in NEWS and UPGRADING
Bob Weinand [Thu, 6 Feb 2014 13:45:22 +0000 (14:45 +0100)]
Added information in NEWS and UPGRADING

11 years agoadd T_POW (**) operator
datibbaw [Tue, 19 Nov 2013 07:36:06 +0000 (15:36 +0800)]
add T_POW (**) operator

Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, but always a float

Yanked code from pow() implementation.

Should not handle negative long as exponent ourselves

Added test cases from pow()

Moved precedence higher than '~'

Added GMP operator overloading

Added ZEND_ASSIGN_POW (**=) operator.

Added pow() as a language construct.

Adjusted test cases for changed precedence.

Reduced pow() to shell function around ZEND_API pow_function()

Reduced test case to only contain edge cases
Added overloading test case

Moved unary minus above T_POW

Revert "Added pow() as a language construct."

Bad bad bad idea.

This reverts commit f60b98cf7a8371233d800a6faa286ddba4432d02.

Reverted unary minus behaviour due to previous revert.
Convert arrays to int(0)
Exponent with array as a base becomes int(0)

Rebase against master

Fixed tokenizer test case

11 years agoadd NEWS block for 5.6.0alpha3
Ferenc Kovacs [Thu, 6 Feb 2014 12:48:57 +0000 (13:48 +0100)]
add NEWS block for 5.6.0alpha3

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 6 Feb 2014 08:17:54 +0000 (09:17 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated libs_version.txt
  update libs_version.txt

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Thu, 6 Feb 2014 08:17:29 +0000 (09:17 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update libs_version.txt

Conflicts:
win32/build/libs_version.txt

11 years agoupdated libs_version.txt
Anatol Belski [Thu, 6 Feb 2014 08:15:28 +0000 (09:15 +0100)]
updated libs_version.txt

11 years agoupdated libs_version.txt
Anatol Belski [Thu, 6 Feb 2014 08:14:30 +0000 (09:14 +0100)]
updated libs_version.txt

11 years agoupdate libs_version.txt
Anatol Belski [Thu, 6 Feb 2014 08:13:05 +0000 (09:13 +0100)]
update libs_version.txt

11 years agomore tests for ICU >= 52.1 compat
Anatol Belski [Wed, 5 Feb 2014 19:13:48 +0000 (20:13 +0100)]
more tests for ICU >= 52.1 compat

11 years agofix tests for ICU >= 52.1
Anatol Belski [Wed, 5 Feb 2014 18:16:14 +0000 (19:16 +0100)]
fix tests for ICU >= 52.1

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Hannes Magnusson [Wed, 5 Feb 2014 18:17:49 +0000 (10:17 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix year

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Hannes Magnusson [Wed, 5 Feb 2014 18:15:50 +0000 (10:15 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix year

11 years agoFix year
Hannes Magnusson [Wed, 5 Feb 2014 18:15:11 +0000 (10:15 -0800)]
Fix year

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 5 Feb 2014 14:17:30 +0000 (15:17 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  adapt test to curl 7.35.0 upgrade

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 5 Feb 2014 14:16:57 +0000 (15:16 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  adapt test to curl 7.35.0 upgrade

11 years agoadapt test to curl 7.35.0 upgrade
Anatol Belski [Wed, 5 Feb 2014 14:15:34 +0000 (15:15 +0100)]
adapt test to curl 7.35.0 upgrade

which is a security one and should be performed as in
http://curl.haxx.se/docs/adv_20140129.html

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 5 Feb 2014 09:52:00 +0000 (10:52 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  move the NEWS entry into the right section

11 years agomove the NEWS entry into the right section
Anatol Belski [Wed, 5 Feb 2014 09:51:08 +0000 (10:51 +0100)]
move the NEWS entry into the right section

11 years agoFixed SNI failure from missing Z_STRVAL_PP
Daniel Lowrey [Wed, 5 Feb 2014 02:11:56 +0000 (19:11 -0700)]
Fixed SNI failure from missing Z_STRVAL_PP

11 years agoupdated NEWS
Anatol Belski [Tue, 4 Feb 2014 09:39:18 +0000 (10:39 +0100)]
updated NEWS

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 4 Feb 2014 09:38:46 +0000 (10:38 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated NEWS

11 years agoupdated NEWS
Anatol Belski [Tue, 4 Feb 2014 09:38:17 +0000 (10:38 +0100)]
updated NEWS

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 4 Feb 2014 09:34:51 +0000 (10:34 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  pcre tests go with 8.34 upgrade

11 years agopcre tests go with 8.34 upgrade
Anatol Belski [Tue, 4 Feb 2014 09:34:11 +0000 (10:34 +0100)]
pcre tests go with 8.34 upgrade

11 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 4 Feb 2014 09:31:52 +0000 (10:31 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  pcre upgraded to 8.34

11 years agopcre upgraded to 8.34
Anatol Belski [Tue, 4 Feb 2014 09:31:07 +0000 (10:31 +0100)]
pcre upgraded to 8.34

11 years agomention the openssl SPKAC functions commited to master before branching out 5.6....
Ferenc Kovacs [Mon, 3 Feb 2014 03:20:16 +0000 (04:20 +0100)]
mention the openssl SPKAC functions commited to master before branching out 5.6. see https://github.com/php/php-src/pull/267

11 years agowindows
krakjoe [Sun, 2 Feb 2014 15:14:25 +0000 (15:14 +0000)]
windows

11 years agoclean symbols
krakjoe [Sun, 2 Feb 2014 15:10:17 +0000 (15:10 +0000)]
clean symbols

11 years agoanother patch from upstream
krakjoe [Sun, 2 Feb 2014 14:58:39 +0000 (14:58 +0000)]
another patch from upstream

11 years agowoops
krakjoe [Sun, 2 Feb 2014 14:50:32 +0000 (14:50 +0000)]
woops

11 years agobetter use of tmpnam/mkstemp
krakjoe [Sun, 2 Feb 2014 14:42:31 +0000 (14:42 +0000)]
better use of tmpnam/mkstemp

11 years agoupdate version
krakjoe [Sun, 2 Feb 2014 14:04:47 +0000 (14:04 +0000)]
update version