]> granicus.if.org Git - php/log
php
12 years agoCleanup whitespace issues
Anthony Ferrara [Thu, 5 Jul 2012 21:58:19 +0000 (17:58 -0400)]
Cleanup whitespace issues

12 years agoImplement password_get_info() function
Anthony Ferrara [Thu, 5 Jul 2012 21:46:33 +0000 (17:46 -0400)]
Implement password_get_info() function

12 years agoFix issue with int vs long parameter
Anthony Ferrara [Thu, 5 Jul 2012 21:31:40 +0000 (17:31 -0400)]
Fix issue with int vs long parameter

12 years agoImplement password_needs_rehash() function
Anthony Ferrara [Thu, 5 Jul 2012 20:22:49 +0000 (16:22 -0400)]
Implement password_needs_rehash() function

12 years agoUpdate signature info for changing algo to an ordinal
Anthony Ferrara [Tue, 3 Jul 2012 12:26:50 +0000 (08:26 -0400)]
Update signature info for changing algo to an ordinal

12 years agoSome more refactoring, make algo no longer optional
Anthony Ferrara [Tue, 3 Jul 2012 12:24:31 +0000 (08:24 -0400)]
Some more refactoring, make algo no longer optional

12 years agoRemove php.ini setting for default bcrypt cost
Anthony Ferrara [Tue, 3 Jul 2012 11:33:55 +0000 (07:33 -0400)]
Remove php.ini setting for default bcrypt cost

12 years agoUpdate password.c to use safe_emalloc in sensitive places
Anthony Ferrara [Fri, 29 Jun 2012 15:37:39 +0000 (11:37 -0400)]
Update password.c to use safe_emalloc in sensitive places

12 years agoMore refactoring of crypt into php_crypt, and fixing memory allocation
Anthony Ferrara [Fri, 29 Jun 2012 15:32:25 +0000 (11:32 -0400)]
More refactoring of crypt into php_crypt, and fixing memory allocation

12 years agoMerge remote branch 'upstream/master' into hash_password
Anthony Ferrara [Fri, 29 Jun 2012 14:29:58 +0000 (10:29 -0400)]
Merge remote branch 'upstream/master' into hash_password

Conflicts:
ext/standard/crypt.c

12 years agomerge
andrey [Fri, 29 Jun 2012 13:58:53 +0000 (16:58 +0300)]
merge

12 years agoMerge branch 'master' of ssh://git.php.net/php-src
andrey [Fri, 29 Jun 2012 11:39:47 +0000 (14:39 +0300)]
Merge branch 'master' of ssh://git.php.net/php-src

12 years agoMerge branch 'PHP-5.4'
Nikita Popov [Fri, 29 Jun 2012 11:15:53 +0000 (13:15 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix some lengths in crypt()

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Fri, 29 Jun 2012 11:15:35 +0000 (13:15 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix some lengths in crypt()

Conflicts:
ext/standard/crypt.c

12 years agoFix some lengths in crypt()
Nikita Popov [Fri, 29 Jun 2012 10:47:37 +0000 (12:47 +0200)]
Fix some lengths in crypt()

Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too
much memory will be allocated.

sha512 has a 86 character checksum, not 43. That probably was a copy&paste
from the sha256 code which indeed has 43.

The allocation also was using sizeof(char *), thus allocating 4 or 8 times
as much memory as necessary. The sizeof(char *) was removed in the 5.4
branch in b7a92c9 but forgotten on 5.3.

The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the
output buffer and thus not zeroing out everything. Use the size of the
output buffer (needed) instead.

12 years agoMerge branch 'master' of ssh://git.php.net/php-src
andrey [Fri, 29 Jun 2012 09:44:49 +0000 (12:44 +0300)]
Merge branch 'master' of ssh://git.php.net/php-src

12 years agoMerge branch 'PHP-5.4'
andrey [Fri, 29 Jun 2012 09:43:41 +0000 (12:43 +0300)]
Merge branch 'PHP-5.4'

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
andrey [Fri, 29 Jun 2012 09:43:14 +0000 (12:43 +0300)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agonew charsets
andrey [Fri, 29 Jun 2012 09:42:54 +0000 (12:42 +0300)]
new charsets

12 years agoRestore old NEWS file, and re-add new entry.
Anthony Ferrara [Fri, 29 Jun 2012 02:43:59 +0000 (22:43 -0400)]
Restore old NEWS file, and re-add new entry.

This fixes a merge artifact where the 5.4 NEWS
file was accidentally brought in.

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Fri, 29 Jun 2012 01:09:04 +0000 (18:09 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fix NEWS order

12 years agofix NEWS order
Stanislav Malyshev [Fri, 29 Jun 2012 01:08:11 +0000 (18:08 -0700)]
fix NEWS order

12 years agoMerge branch 'PHP-5.4'
Anthony Ferrara [Fri, 29 Jun 2012 00:38:31 +0000 (20:38 -0400)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anthony Ferrara [Fri, 29 Jun 2012 00:36:21 +0000 (20:36 -0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

12 years agoFixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
Anthony Ferrara [Fri, 29 Jun 2012 00:00:03 +0000 (20:00 -0400)]
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.

12 years agoMerge branch 'PHP-5.4'
Nikita Popov [Thu, 28 Jun 2012 22:22:45 +0000 (00:22 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Add json_last_error_msg() function

12 years agoRefactor password.c a bit, add different error checking
Anthony Ferrara [Thu, 28 Jun 2012 19:29:40 +0000 (15:29 -0400)]
Refactor password.c a bit, add different error checking

12 years agoRefactor crypt to use an external working function
Anthony Ferrara [Thu, 28 Jun 2012 18:44:04 +0000 (14:44 -0400)]
Refactor crypt to use an external working function

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Thu, 28 Jun 2012 18:18:19 +0000 (20:18 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Add json_last_error_msg() function

12 years agoAdd json_last_error_msg() function
Nikita Popov [Thu, 28 Jun 2012 18:09:47 +0000 (20:09 +0200)]
Add json_last_error_msg() function

This replaces json_last_error(true) and is consistent with other custom
error handling functions.

12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Wed, 27 Jun 2012 21:35:57 +0000 (23:35 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix #62432 ReflectionMethod random corrupt memory on high concurrent

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 27 Jun 2012 21:35:07 +0000 (23:35 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix #62432 ReflectionMethod random corrupt memory on high concurrent

Conflicts:
ext/date/php_date.c
ext/fileinfo/fileinfo.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/reflection/php_reflection.c
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/spl/spl_dllist.c
ext/spl/spl_fixedarray.c
ext/spl/spl_heap.c
ext/spl/spl_iterators.c
ext/spl/spl_observer.c
ext/sqlite/sqlite.c
ext/sqlite3/sqlite3.c
ext/tidy/tidy.c
ext/xmlreader/php_xmlreader.c
ext/xmlwriter/php_xmlwriter.c
ext/xsl/php_xsl.c
ext/zip/php_zip.c

12 years agoFix #62432 ReflectionMethod random corrupt memory on high concurrent
Johannes Schlüter [Wed, 27 Jun 2012 21:26:33 +0000 (23:26 +0200)]
Fix #62432 ReflectionMethod random corrupt memory on high concurrent

This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()

12 years agoFix formatting issues in password.c
Anthony Ferrara [Wed, 27 Jun 2012 15:04:41 +0000 (11:04 -0400)]
Fix formatting issues in password.c

12 years agoMerge branch 'master' of http://git.php.net/repository/php-src
andrey [Wed, 27 Jun 2012 13:51:35 +0000 (16:51 +0300)]
Merge branch 'master' of http://git.php.net/repository/php-src

12 years agotrace allocations in a file
andrey [Wed, 27 Jun 2012 13:51:07 +0000 (16:51 +0300)]
trace allocations in a file

12 years ago- Fixed build
Felipe Pena [Wed, 27 Jun 2012 12:01:02 +0000 (09:01 -0300)]
- Fixed build

12 years agoMerge branch 'PHP-5.4'
Nikita Popov [Wed, 27 Jun 2012 10:32:20 +0000 (12:32 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Improve JSON error handling

Conflicts:
main/php_version.h

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Wed, 27 Jun 2012 10:28:55 +0000 (12:28 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Improve JSON error handling

Conflicts:
ext/json/tests/bug54058.phpt
ext/json/tests/bug61537.phpt

12 years agoImprove JSON error handling
Nikita Popov [Wed, 27 Jun 2012 10:19:41 +0000 (12:19 +0200)]
Improve JSON error handling

json_encode() no longer throws warnings. Instead only the error code for
json_last_error() is set.

As it is hard to debug the error from just an error code an optional
$as_string parameter was added to json_last_error(), which returns an
error message instead of an error code.

12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Wed, 27 Jun 2012 09:48:05 +0000 (11:48 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix memleak in CLI

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 27 Jun 2012 09:46:57 +0000 (11:46 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix memleak in CLI

Conflicts:
sapi/cli/php_cli.c

12 years agoFix memleak in CLI
Johannes Schlüter [Wed, 27 Jun 2012 09:42:43 +0000 (11:42 +0200)]
Fix memleak in CLI

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 27 Jun 2012 04:56:27 +0000 (21:56 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  update NEWS

12 years agoupdate NEWS
Stanislav Malyshev [Wed, 27 Jun 2012 04:56:11 +0000 (21:56 -0700)]
update NEWS

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 27 Jun 2012 04:53:55 +0000 (21:53 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  ws fix
  BFN
  Fix bug #62373 (serialize() generates wrong reference to the object)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Wed, 27 Jun 2012 04:53:40 +0000 (21:53 -0700)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  ws fix
  BFN
  Fix bug #62373 (serialize() generates wrong reference to the object)

Conflicts:
php.ini-development
php.ini-production

12 years agoAdd tests and error checking for large salt requested values to prevent overflow...
Anthony Ferrara [Wed, 27 Jun 2012 03:09:08 +0000 (23:09 -0400)]
Add tests and error checking for large salt requested values to prevent overflow on allocation

12 years agoUpdate tests to check ini setting
Anthony Ferrara [Wed, 27 Jun 2012 02:13:51 +0000 (22:13 -0400)]
Update tests to check ini setting

12 years agoAdd tests for password hashing
Anthony Ferrara [Wed, 27 Jun 2012 02:05:25 +0000 (22:05 -0400)]
Add tests for password hashing

12 years agoImplement php.ini setting password.bcrypt_cost
Anthony Ferrara [Wed, 27 Jun 2012 01:15:56 +0000 (21:15 -0400)]
Implement php.ini setting password.bcrypt_cost

12 years agows fix
Stanislav Malyshev [Tue, 26 Jun 2012 22:22:29 +0000 (15:22 -0700)]
ws fix

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Tue, 26 Jun 2012 10:50:52 +0000 (18:50 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).

12 years agoFixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
Xinchen Hui [Tue, 26 Jun 2012 10:42:33 +0000 (18:42 +0800)]
Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).

Any C library function may be a macro, We should avoid using ZEND_STRS(L) as their arguments

12 years agoMerge branch 'master' of git.php.net:/php-src
Johannes Schlüter [Tue, 26 Jun 2012 10:34:36 +0000 (12:34 +0200)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src: (22 commits)
  Fix bug #62373 (serialize() generates wrong reference to the object)
  Update UPGRADING given 7596445
  Fix typo in error message
  BreakIterator: fix compat with old ICU versions
  Fix build error one ext/intl
  Duplicate test for ICU 49
  Fix undeclared intl_locale_get_default()
  Fix memory allocation checks for base64 encode
  Improve json_encode error handling
  - BFN
  - BFN
  - Improved fix for #62384
  BreakIterator::getPartsIterator: new optional arg
  Added IntlCodePointBreakIterator.
  Add Intl prefix to BreakIterator/RuleBasedBI
  Remove trailing space
  Replaced zend_parse_method_params with plain zpp
  BreakIter: Removed getAvailableLocales/getHashCode
  Change in BreakIterator::getPartsIterator()
  BreakIterator: add rules status constants
  ...

12 years agoPass orig filename and line through to emalloc and friends
Johannes Schlüter [Tue, 26 Jun 2012 10:33:36 +0000 (12:33 +0200)]
Pass orig filename and line through to emalloc and friends

12 years agoRefactor salt generation, rename password_create to password_hash
Anthony Ferrara [Tue, 26 Jun 2012 01:22:16 +0000 (21:22 -0400)]
Refactor salt generation, rename password_create to password_hash

12 years agoImplement openssl support for make_salt
Anthony Ferrara [Mon, 25 Jun 2012 15:37:48 +0000 (11:37 -0400)]
Implement openssl support for make_salt

12 years agoMore error checking, and some cleaning up for password.c
Anthony Ferrara [Mon, 25 Jun 2012 12:50:39 +0000 (08:50 -0400)]
More error checking, and some cleaning up for password.c

12 years agoBasic random generator added to make_salt
Anthony Ferrara [Mon, 25 Jun 2012 12:15:17 +0000 (08:15 -0400)]
Basic random generator added to make_salt

12 years agoBFN
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:20:38 +0000 (19:20 +0900)]
BFN

12 years agoMerge branch 'PHP-5.4'
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:16:40 +0000 (19:16 +0900)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix bug #62373 (serialize() generates wrong reference to the object)

12 years agoFix bug #62373 (serialize() generates wrong reference to the object)
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:13:23 +0000 (19:13 +0900)]
Fix bug #62373 (serialize() generates wrong reference to the object)

12 years agoFix bug #62373 (serialize() generates wrong reference to the object)
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:13:23 +0000 (19:13 +0900)]
Fix bug #62373 (serialize() generates wrong reference to the object)

12 years agoUpdate UPGRADING given 7596445
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 10:12:22 +0000 (12:12 +0200)]
Update UPGRADING given 7596445

12 years agoMerge branch 'break_iterator'
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 10:11:49 +0000 (12:11 +0200)]
Merge branch 'break_iterator'

* break_iterator:
  Fix typo in error message
  BreakIterator: fix compat with old ICU versions
  Fix build error one ext/intl
  BreakIterator::getPartsIterator: new optional arg
  Added IntlCodePointBreakIterator.
  Add Intl prefix to BreakIterator/RuleBasedBI
  Remove trailing space
  Replaced zend_parse_method_params with plain zpp
  BreakIter: Removed getAvailableLocales/getHashCode
  Change in BreakIterator::getPartsIterator()
  BreakIterator: add rules status constants
  Tests for (RuleBased)BreakIterator.
  BreakIterator and RuleBasedBreakiterator added

12 years agoFix typo in error message
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 10:06:31 +0000 (12:06 +0200)]
Fix typo in error message

12 years agoBreakIterator: fix compat with old ICU versions
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 10:03:27 +0000 (12:03 +0200)]
BreakIterator: fix compat with old ICU versions

12 years agoFix build error one ext/intl
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 09:53:20 +0000 (11:53 +0200)]
Fix build error one ext/intl

12 years agoDuplicate test for ICU 49
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 09:13:23 +0000 (11:13 +0200)]
Duplicate test for ICU 49

The output in ICU < 49 actually seems wrong here; ICU 49 seems to
fix the data.

12 years agoFix undeclared intl_locale_get_default()
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 08:59:58 +0000 (10:59 +0200)]
Fix undeclared intl_locale_get_default()

This was causing segfaults at least in the resourcebundle
constructor.

Also moved intl_locale_get_default() to a more central location
and fixed a constness warning in resourcebundle_ctor().

12 years agoFix memory leak on branch
Anthony Ferrara [Mon, 25 Jun 2012 03:36:09 +0000 (23:36 -0400)]
Fix memory leak on branch

12 years agoImplement password_verify
Anthony Ferrara [Mon, 25 Jun 2012 03:35:26 +0000 (23:35 -0400)]
Implement password_verify

12 years agoActually complete password_create()
Anthony Ferrara [Mon, 25 Jun 2012 03:25:18 +0000 (23:25 -0400)]
Actually complete password_create()

12 years agoBase structure for passsword_create and password_make_salt
Anthony Ferrara [Mon, 25 Jun 2012 02:44:43 +0000 (22:44 -0400)]
Base structure for passsword_create and password_make_salt

12 years agoMerge branch 'PHP-5.4'
Nikita Popov [Sun, 24 Jun 2012 22:09:05 +0000 (00:09 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix memory allocation checks for base64 encode

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Sun, 24 Jun 2012 21:56:55 +0000 (23:56 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix memory allocation checks for base64 encode

12 years agoFix memory allocation checks for base64 encode
Nikita Popov [Sun, 24 Jun 2012 21:32:50 +0000 (23:32 +0200)]
Fix memory allocation checks for base64 encode

base64_encode used safe_emalloc, but one of the arguments was derived from a
multiplication, thus making the allocation unsafe again.

There was a size check in place, but it was off by a factor of two as it
didn't account for the signedness of the integer type.

The unsafe allocation is not exploitable, but still causes funny behavior
when the sized overflows into a negative number.

To fix the issue the *4 factor is moved into the size argument (where it is
known to be safe), so safe_emalloc can carry out the multiplication.

The size check is removed as it doesn't really make sense once safe_emalloc
works correctly. (Would only cause base64_encode to silently return false
instead of throwing an error. Also could cause problems with other uses of
the base64 encoding API, which all don't check for a NULL return value.)

Furthermore the (length + 2) < 0 check is replaced with just length < 0.
Allowing lengths -2 and -1 doesn't make sense semantically and also is not
honored in the following code (negative length would access unallocated
memory.)

Actually the length < 0 check doesn't make sense altogether, but I left it
there just to be safe.

12 years agoMerge branch 'PHP-5.4'
Nikita Popov [Sat, 23 Jun 2012 19:15:59 +0000 (21:15 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Improve json_encode error handling
  - BFN
  - BFN

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Sat, 23 Jun 2012 19:14:45 +0000 (21:14 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Improve json_encode error handling
  - BFN

Conflicts:
ext/json/json.c

12 years agoImprove json_encode error handling
Nikita Popov [Sat, 23 Jun 2012 18:46:27 +0000 (20:46 +0200)]
Improve json_encode error handling

json_encode() now returns bool(false) for all possible errors, throws the
respective warning and also sets the respective json_last_error() error
code. Three new error codes have been added:

  * JSON_ERROR_RECURSION
  * JSON_ERROR_INF_OR_NAN
  * JSON_ERROR_UNSUPPORTED_TYPE

To get a partial JSON output instead of bool(false) the option
JSON_PARTIAL_OUTPUT_ON_ERROR can be specified. In this case the invalid
segments will be replaced either by null (for recursion, unsupported type
and invalid JSON) or 0 (for Inf and NaN).

The warning for invalid UTF-8 stays intact and is thrown also with
display_errors = On. If this behavior is undesired this can be remedied
later.

12 years ago- BFN
Felipe Pena [Sat, 23 Jun 2012 18:21:32 +0000 (15:21 -0300)]
- BFN

12 years ago- BFN
Felipe Pena [Sat, 23 Jun 2012 18:21:20 +0000 (15:21 -0300)]
- BFN

12 years agoMerge branch 'PHP-5.4'
Felipe Pena [Sat, 23 Jun 2012 18:16:20 +0000 (15:16 -0300)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  - Improved fix for #62384

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Sat, 23 Jun 2012 18:16:13 +0000 (15:16 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Improved fix for #62384

12 years ago- Improved fix for #62384
Felipe Pena [Sat, 23 Jun 2012 18:10:47 +0000 (15:10 -0300)]
- Improved fix for #62384

12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Fri, 22 Jun 2012 18:01:27 +0000 (20:01 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Remove unneeded and outdated ChangeLog file

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Fri, 22 Jun 2012 18:01:06 +0000 (20:01 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Remove unneeded and outdated ChangeLog file

12 years agoRemove unneeded and outdated ChangeLog file
Johannes Schlüter [Fri, 22 Jun 2012 18:00:20 +0000 (20:00 +0200)]
Remove unneeded and outdated ChangeLog file

12 years agoBreakIterator::getPartsIterator: new optional arg
Gustavo André dos Santos Lopes [Fri, 22 Jun 2012 16:28:19 +0000 (18:28 +0200)]
BreakIterator::getPartsIterator: new optional arg

Can take one of:
* IntlPartsIterator::KEY_SEQUENTIAL (keys are 0, 1, ...)
* IntlPartsIterator::KEY_LEFT (keys are left boundaries)
* IntlPartsIterator::KEY_LEFT (keys are right boundaries)

The default is IntlPartsIterator::KEY_SEQUENTIAL (the previous behavior).

12 years agoAdded IntlCodePointBreakIterator.
Gustavo André dos Santos Lopes [Fri, 22 Jun 2012 16:19:54 +0000 (18:19 +0200)]
Added IntlCodePointBreakIterator.

Objects of this class can be instantiated with

IntlBreakIterator::createCodePointInstance()

The method does not take a locale, as it would not make sense in this
context.

This class has one additional method:

long IntlCodePointIterator::getLastCodePoint()

which returns either -1 or the last code point we moved over, if any
(and discounting any movement before the last call to
IntlBreakIterator::first() or IntlBreakIterator::last()).

12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Fri, 22 Jun 2012 15:33:38 +0000 (17:33 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Remove extra ;

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Fri, 22 Jun 2012 15:33:22 +0000 (17:33 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Remove extra ;

12 years agoRemove extra ;
Johannes Schlüter [Fri, 22 Jun 2012 15:32:46 +0000 (17:32 +0200)]
Remove extra ;

12 years agoMerge branch 'PHP-5.4'
Felipe Pena [Fri, 22 Jun 2012 15:06:05 +0000 (12:06 -0300)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  - Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Fri, 22 Jun 2012 15:05:55 +0000 (12:05 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)

12 years ago- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
Felipe Pena [Fri, 22 Jun 2012 15:05:29 +0000 (12:05 -0300)]
- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)

12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Fri, 22 Jun 2012 10:50:55 +0000 (12:50 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Improve check for :memory: pseudo-filename in SQlite

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Fri, 22 Jun 2012 10:50:30 +0000 (12:50 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Improve check for :memory: pseudo-filename in SQlite

Conflicts:
ext/sqlite3/sqlite3.c

12 years agoImprove check for :memory: pseudo-filename in SQlite
Johannes Schlüter [Fri, 22 Jun 2012 10:48:39 +0000 (12:48 +0200)]
Improve check for :memory: pseudo-filename in SQlite