]> granicus.if.org Git - php/log
php
10 years agoIndention fix
Reeze Xia [Sun, 14 Sep 2014 00:24:00 +0000 (08:24 +0800)]
Indention fix

indent with tab instead of spaces

10 years agouse the generator to produce the header
Anatol Belski [Sat, 13 Sep 2014 22:43:58 +0000 (00:43 +0200)]
use the generator to produce the header

10 years agoupdate the html table generator
Anatol Belski [Sat, 13 Sep 2014 22:42:48 +0000 (00:42 +0200)]
update the html table generator

10 years agoremoved the emalloc result check, out of memory will bailout
Anatol Belski [Sat, 13 Sep 2014 22:00:52 +0000 (00:00 +0200)]
removed the emalloc result check, out of memory will bailout

10 years agoreplaced the check with assert as it's kinda unusual case
Anatol Belski [Sat, 13 Sep 2014 21:57:53 +0000 (23:57 +0200)]
replaced the check with assert as it's kinda unusual case

10 years agoremoved extra 1 byte member, padding will be done anyway by the compiler
Anatol Belski [Sat, 13 Sep 2014 21:55:30 +0000 (23:55 +0200)]
removed extra 1 byte member, padding will be done anyway by the compiler

10 years agoreduce struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 21:34:08 +0000 (23:34 +0200)]
reduce struct size by 8 byte on 64 bit

10 years agoavoid usage of strlen() in the loop
Anatol Belski [Sat, 13 Sep 2014 19:44:40 +0000 (21:44 +0200)]
avoid usage of strlen() in the loop

10 years agoreduce struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 19:22:57 +0000 (21:22 +0200)]
reduce struct size by 8 byte on 64 bit

10 years agobetter align reduce the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 19:19:22 +0000 (21:19 +0200)]
better align reduce the struct size by 8 byte on 64 bit

10 years agoreduce the struct size (under circumstances) on 64 bit
Anatol Belski [Sat, 13 Sep 2014 18:47:59 +0000 (20:47 +0200)]
reduce the struct size (under circumstances) on 64 bit

10 years agocheck if the winver was indeed fetched
Anatol Belski [Sat, 13 Sep 2014 18:42:46 +0000 (20:42 +0200)]
check if the winver was indeed fetched

10 years agocheck emalloc() result
Anatol Belski [Sat, 13 Sep 2014 18:20:17 +0000 (20:20 +0200)]
check emalloc() result

10 years agobetter way to check for an empty string
Anatol Belski [Sat, 13 Sep 2014 18:12:21 +0000 (20:12 +0200)]
better way to check for an empty string

10 years agoreduce the union size from 24 to 16 bytes on 64 bit
Anatol Belski [Sat, 13 Sep 2014 18:02:49 +0000 (20:02 +0200)]
reduce the union size from 24 to 16 bytes on 64 bit

10 years agofix condition
Anatol Belski [Sat, 13 Sep 2014 16:20:24 +0000 (18:20 +0200)]
fix condition

comparsion of two unsigned

10 years agoavoid multiple strlen() usage
Anatol Belski [Sat, 13 Sep 2014 16:09:30 +0000 (18:09 +0200)]
avoid multiple strlen() usage

10 years agoavoid multiple strlen() calls for the same
Anatol Belski [Sat, 13 Sep 2014 15:58:47 +0000 (17:58 +0200)]
avoid multiple strlen() calls for the same

10 years agoreduced struct sizes by 8 byte each on 64 bit
Anatol Belski [Sat, 13 Sep 2014 15:47:42 +0000 (17:47 +0200)]
reduced struct sizes by 8 byte each on 64 bit

10 years agofix condition
Anatol Belski [Sat, 13 Sep 2014 15:35:59 +0000 (17:35 +0200)]
fix condition

substraction of two unsigned

10 years agoreduce struct sizes by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 12:26:59 +0000 (14:26 +0200)]
reduce struct sizes by 8 byte on 64 bit

10 years agoavoid strlen() usage in the loop
Anatol Belski [Sat, 13 Sep 2014 12:19:39 +0000 (14:19 +0200)]
avoid strlen() usage in the loop

10 years agoDrop superfluous opline for non-cv variables
Nikita Popov [Sat, 13 Sep 2014 20:25:58 +0000 (22:25 +0200)]
Drop superfluous opline for non-cv variables

10 years agoDrop dead assignments
Nikita Popov [Sat, 13 Sep 2014 20:21:35 +0000 (22:21 +0200)]
Drop dead assignments

10 years agoMake zend_llist_remove_tail a void function
Nikita Popov [Sat, 13 Sep 2014 20:05:37 +0000 (22:05 +0200)]
Make zend_llist_remove_tail a void function

The returned data is already dtored and freed at this point.

10 years agoUse more accurate sizeof
Nikita Popov [Sat, 13 Sep 2014 19:57:58 +0000 (21:57 +0200)]
Use more accurate sizeof

This is allocating an array of zval*s, not zval**s.

10 years agoAlso skip line-overwriting if SHOW_ONLY_GROUPS is used
Nikita Popov [Thu, 11 Sep 2014 21:21:40 +0000 (23:21 +0200)]
Also skip line-overwriting if SHOW_ONLY_GROUPS is used

10 years agoswitch to using mbrlen with VS
Anatol Belski [Sat, 13 Sep 2014 11:52:10 +0000 (13:52 +0200)]
switch to using mbrlen with VS

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 10:52:11 +0000 (12:52 +0200)]
reduce the struct size by 8 byte on 64 bit

this one looks like debug only, but still useful

10 years agoreduced the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 10:49:10 +0000 (12:49 +0200)]
reduced the struct size by 8 byte on 64 bit

10 years agofix condition
Anatol Belski [Fri, 12 Sep 2014 22:03:42 +0000 (00:03 +0200)]
fix condition

A char array like val[1] would always be valid when checking like
!val. Probably better were to check for ->len, but actually ->val[0]
is fine as the actual zend_string should have been initalized
before.

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 21:27:55 +0000 (23:27 +0200)]
reduce the struct size by 8 byte on 64 bit

10 years agoreduce the struct size by 8 bytes on 64 bit
Anatol Belski [Fri, 12 Sep 2014 21:10:56 +0000 (23:10 +0200)]
reduce the struct size by 8 bytes on 64 bit

10 years agoreduce the struct size by 8 byte on x64
Anatol Belski [Fri, 12 Sep 2014 21:08:09 +0000 (23:08 +0200)]
reduce the struct size by 8 byte on x64

10 years agofix possible null ptr deref
Anatol Belski [Fri, 12 Sep 2014 20:31:02 +0000 (22:31 +0200)]
fix possible null ptr deref

10 years agofix possible nullptr derefrence
Anatol Belski [Fri, 12 Sep 2014 20:18:06 +0000 (22:18 +0200)]
fix possible nullptr derefrence

10 years agoreduce size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 20:06:10 +0000 (22:06 +0200)]
reduce size by 8 byte on 64 bit

10 years agofix ZTS build
Anatol Belski [Fri, 12 Sep 2014 19:38:39 +0000 (21:38 +0200)]
fix ZTS build

10 years agobetter align and reduce size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 19:31:25 +0000 (21:31 +0200)]
better align and reduce size by 8 byte on 64 bit

10 years agofix test which fails if prevous run cleanup failed
Anatol Belski [Fri, 12 Sep 2014 15:01:53 +0000 (17:01 +0200)]
fix test which fails if prevous run cleanup failed

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:43:05 +0000 (16:43 +0200)]
fix type

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:39:09 +0000 (16:39 +0200)]
fix type

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:37:55 +0000 (16:37 +0200)]
fix type

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 14:23:24 +0000 (16:23 +0200)]
reduce the struct size by 8 byte on 64 bit

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:22:42 +0000 (16:22 +0200)]
fix type

10 years agobetter alignment, reduced the struct by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 13:59:54 +0000 (15:59 +0200)]
better alignment, reduced the struct by 8 byte on 64 bit

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 13:51:39 +0000 (15:51 +0200)]
fix type

10 years agoForget to commit this part...
Xinchen Hui [Fri, 12 Sep 2014 18:00:15 +0000 (02:00 +0800)]
Forget to commit this part...

10 years agoFinally!!! Fixed segfault in GC
Xinchen Hui [Fri, 12 Sep 2014 17:52:47 +0000 (01:52 +0800)]
Finally!!! Fixed segfault in GC

this must not be the final fix, but let's stop the segfault first and
use this to indicate where the problem is.

reproduced by phpspec

10 years agomake this test a bit more tolerant when checking sleep time
Anatol Belski [Fri, 12 Sep 2014 12:03:06 +0000 (14:03 +0200)]
make this test a bit more tolerant when checking sleep time

10 years agoremove extra semicolon
Anatol Belski [Thu, 11 Sep 2014 11:12:54 +0000 (13:12 +0200)]
remove extra semicolon

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 12 Sep 2014 12:37:54 +0000 (14:37 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fixed the cast and incompatible pointer warning

Conflicts:
sapi/cgi/fastcgi.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Fri, 12 Sep 2014 12:36:54 +0000 (14:36 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fixed the cast and incompatible pointer warning

10 years agofixed the cast and incompatible pointer warning
Anatol Belski [Fri, 12 Sep 2014 12:36:00 +0000 (14:36 +0200)]
fixed the cast and incompatible pointer warning

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 11 Sep 2014 21:33:12 +0000 (23:33 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
  5.6.2 now

Conflicts:
configure.in
main/php_version.h

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 11 Sep 2014 21:31:16 +0000 (23:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0

10 years agoreflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
Anatol Belski [Thu, 11 Sep 2014 21:30:01 +0000 (23:30 +0200)]
reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0

10 years ago5.6.2 now
Julien Pauli [Thu, 11 Sep 2014 16:37:25 +0000 (18:37 +0200)]
5.6.2 now

10 years agoFixed refcounting for references
Dmitry Stogov [Thu, 11 Sep 2014 15:12:12 +0000 (19:12 +0400)]
Fixed refcounting for references

10 years agoDon't show TEST line if SHOW_ONLY_GROUPS is used
Nikita Popov [Thu, 11 Sep 2014 14:27:53 +0000 (16:27 +0200)]
Don't show TEST line if SHOW_ONLY_GROUPS is used

10 years agoFix ext/dba ini handling
Nikita Popov [Thu, 11 Sep 2014 14:05:39 +0000 (16:05 +0200)]
Fix ext/dba ini handling

Doing this change blindly based on gcov output

10 years agoSimplify ASSIGN code
Dmitry Stogov [Thu, 11 Sep 2014 13:00:06 +0000 (17:00 +0400)]
Simplify ASSIGN code

10 years agoFix yy_limit computation after encoding switch
Nikita Popov [Thu, 11 Sep 2014 12:51:02 +0000 (14:51 +0200)]
Fix yy_limit computation after encoding switch

The three assignments above this line are still broken - they assume
that byte offsets in one encoding directly map to byte offsets in
another encoding.

I'm fixing the length here because it is the one causing out-of-bounds
reads and is easy to fix. For the others we'd have to actually compute
new offsets.

10 years agoRemove self-contradictory zend multibyte assertion
Nikita Popov [Thu, 11 Sep 2014 12:04:15 +0000 (14:04 +0200)]
Remove self-contradictory zend multibyte assertion

Code that explicitly exists to handle an incompatible internal
encoding should not assert that the internal encoding is compatible.

10 years agoRemoved ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly...
Dmitry Stogov [Thu, 11 Sep 2014 08:29:54 +0000 (12:29 +0400)]
Removed ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly the same as ZEND_QM_ASSIGN and ZEND_JMP_SET)

10 years agoRevert "Removing ext/ereg and dependencies"
Dmitry Stogov [Thu, 11 Sep 2014 07:06:57 +0000 (11:06 +0400)]
Revert "Removing ext/ereg and dependencies"

This reverts commit 86de7963fe69638431c0aa8f413d25e01bf99d68.

10 years agoRevert "Updated UPGRADING for ext/ereg removal"
Dmitry Stogov [Thu, 11 Sep 2014 07:06:47 +0000 (11:06 +0400)]
Revert "Updated UPGRADING for ext/ereg removal"

This reverts commit 610ef5d7ecadb26a491aa9fc8ec7439e4016a3fc.

10 years agoUpdated UPGRADING for ext/ereg removal
Tjerk Meesters [Wed, 10 Sep 2014 13:03:36 +0000 (21:03 +0800)]
Updated UPGRADING for ext/ereg removal

10 years agoRemoving ext/ereg and dependencies
Tjerk Meesters [Thu, 28 Aug 2014 08:41:38 +0000 (16:41 +0800)]
Removing ext/ereg and dependencies

Affected extensions:
- opcache (use pcre)
- mbstring (removed ereg functions overloading)
- pgsql (use pcre)
- reflection (test cases using 'ereg')

SAPI:
- apache (header only)
- apache_hooks (header only)

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Wed, 10 Sep 2014 17:32:25 +0000 (19:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix precision when fetching float through mysqlnd

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 10 Sep 2014 17:31:59 +0000 (19:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix precision when fetching float through mysqlnd

10 years agofix precision when fetching float through mysqlnd
Anatol Belski [Wed, 10 Sep 2014 17:29:11 +0000 (19:29 +0200)]
fix precision when fetching float through mysqlnd

fixes failing ext/mysqli/tests/010.phpt

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Wed, 10 Sep 2014 11:31:39 +0000 (13:31 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  make LTP version check a blacklist

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Wed, 10 Sep 2014 11:31:22 +0000 (13:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  make LTP version check a blacklist

10 years agomake LTP version check a blacklist
Michael Wallner [Wed, 10 Sep 2014 11:30:52 +0000 (13:30 +0200)]
make LTP version check a blacklist

10 years agoreplace zend_hash_find with zend_hash_str_find which fixes leaking the key
Anatol Belski [Wed, 10 Sep 2014 11:22:23 +0000 (13:22 +0200)]
replace zend_hash_find with zend_hash_str_find which fixes leaking the key

10 years agosecond big shot on porting ext/oci8
Anatol Belski [Wed, 10 Sep 2014 10:40:32 +0000 (12:40 +0200)]
second big shot on porting ext/oci8

still a lot to do, but most raw things done

10 years agofirst shot on fixing ext/oci8
Anatol Belski [Tue, 9 Sep 2014 19:50:26 +0000 (21:50 +0200)]
first shot on fixing ext/oci8

10 years agobasic datatype fixes for ext/oci8
Anatol Belski [Tue, 9 Sep 2014 11:12:26 +0000 (13:12 +0200)]
basic datatype fixes for ext/oci8

10 years agoDon't miss warning messages
Dmitry Stogov [Wed, 10 Sep 2014 09:02:01 +0000 (13:02 +0400)]
Don't miss warning messages

10 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Wed, 10 Sep 2014 05:32:36 +0000 (07:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  FR #67990 - Added nowait argument to sem_acquire

10 years agoFR #67990 - Added nowait argument to sem_acquire
Matteo Beccati [Fri, 25 Jul 2014 09:21:47 +0000 (11:21 +0200)]
FR #67990 - Added nowait argument to sem_acquire

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 9 Sep 2014 23:20:20 +0000 (16:20 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS

10 years agoupdate NEWS
Stanislav Malyshev [Tue, 9 Sep 2014 23:11:32 +0000 (16:11 -0700)]
update NEWS

10 years agoMerge branch 'PHP-5.6'
Daniel Lowrey [Tue, 9 Sep 2014 16:25:36 +0000 (10:25 -0600)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Daniel Lowrey [Tue, 9 Sep 2014 16:24:40 +0000 (10:24 -0600)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Daniel Lowrey [Tue, 9 Sep 2014 15:27:20 +0000 (09:27 -0600)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoBug #41631: Fix regression from first attempt (6569db8)
Daniel Lowrey [Tue, 9 Sep 2014 13:50:15 +0000 (07:50 -0600)]
Bug #41631: Fix regression from first attempt (6569db8)

10 years agoBug #67965: Fix blocking behavior in non-blocking crypto streams
Daniel Lowrey [Tue, 9 Sep 2014 13:37:57 +0000 (07:37 -0600)]
Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Tue, 9 Sep 2014 11:32:09 +0000 (19:32 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed #67985 - Incorrect last used array index copied to new array after unset

Conflicts:
Zend/zend_variables.c

10 years agoUpdated NEWS for #67985
Tjerk Meesters [Tue, 9 Sep 2014 10:04:09 +0000 (18:04 +0800)]
Updated NEWS for #67985

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Tue, 9 Sep 2014 10:03:10 +0000 (18:03 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed #67985 - Incorrect last used array index copied to new array after unset

10 years agoUpdated NEWS for #67985
Tjerk Meesters [Tue, 9 Sep 2014 10:02:45 +0000 (18:02 +0800)]
Updated NEWS for #67985

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Tjerk Meesters [Tue, 9 Sep 2014 10:00:49 +0000 (18:00 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed #67985 - Incorrect last used array index copied to new array after unset

10 years agoFixed #67985 - Incorrect last used array index copied to new array after unset
Tjerk Meesters [Tue, 9 Sep 2014 09:58:45 +0000 (17:58 +0800)]
Fixed #67985 - Incorrect last used array index copied to new array after unset

In master zend_array_dup() is used to do this properly; this is a workaround.

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Tue, 9 Sep 2014 04:56:33 +0000 (06:56 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  duplicate value's string for the SAPI filter
  Fine tuned the order of adding request variables.

10 years agoduplicate value's string for the SAPI filter
Michael Wallner [Tue, 9 Sep 2014 04:54:23 +0000 (06:54 +0200)]
duplicate value's string for the SAPI filter

reported by sesser; tyrael, do you take care of the bug/NEWS?

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.