]> granicus.if.org Git - php/log
php
13 years agoFixed #55450 (Built in web server not accepting file uploads), which might break...
Xinchen Hui [Fri, 19 Aug 2011 08:30:26 +0000 (08:30 +0000)]
Fixed #55450 (Built in web server not accepting file uploads), which might break #55121 fixing(r313677)
Reopened #55121 to let somebody redone the fixing(as I can't reproduce 55121 in redhat 64-bit).

13 years agoFixed #55457 for 5.4 branch
Xinchen Hui [Fri, 19 Aug 2011 07:40:51 +0000 (07:40 +0000)]
Fixed #55457 for 5.4 branch
Use ssize_t instead of long (as pierre suggestion)

13 years ago- do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual...
Pierre Joye [Thu, 18 Aug 2011 09:16:04 +0000 (09:16 +0000)]
- do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual possible values are 32bit or lower only

13 years agoUse php.ini parameter instead of GC() entry
Christopher Jones [Wed, 17 Aug 2011 23:55:25 +0000 (23:55 +0000)]
Use php.ini parameter instead of GC() entry

13 years agoFix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
Etienne Kneuss [Wed, 17 Aug 2011 23:50:04 +0000 (23:50 +0000)]
Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)

13 years agoOnce is generally enough
Hannes Magnusson [Wed, 17 Aug 2011 12:26:43 +0000 (12:26 +0000)]
Once is generally enough

13 years ago- WS
Pierre Joye [Wed, 17 Aug 2011 11:59:39 +0000 (11:59 +0000)]
- WS

13 years ago- use provided stdint.h and avoid double definitions
Pierre Joye [Wed, 17 Aug 2011 11:56:04 +0000 (11:56 +0000)]
- use provided stdint.h and avoid double definitions

13 years agocompile out when PHP_DEBUG is not present
Andrey Hristov [Wed, 17 Aug 2011 11:15:55 +0000 (11:15 +0000)]
compile out when PHP_DEBUG is not present

13 years agodocref_root is now required for html_errors to do anything
Hannes Magnusson [Tue, 16 Aug 2011 14:52:54 +0000 (14:52 +0000)]
docref_root is now required for html_errors to do anything

13 years agoFix news entry to look&feel like all others
Hannes Magnusson [Tue, 16 Aug 2011 13:30:31 +0000 (13:30 +0000)]
Fix news entry to look&feel like all others

13 years ago- Drop T_SCALAR_CAST
Felipe Pena [Tue, 16 Aug 2011 12:13:35 +0000 (12:13 +0000)]
- Drop T_SCALAR_CAST

13 years ago- Fixed ZTS build
Felipe Pena [Tue, 16 Aug 2011 12:01:36 +0000 (12:01 +0000)]
- Fixed ZTS build

13 years agoImprove errormessage on wrong use statements
Hannes Magnusson [Tue, 16 Aug 2011 10:46:49 +0000 (10:46 +0000)]
Improve errormessage on wrong use statements

13 years agoCallable typehint following the rules of is_callable($arg, false);
Hannes Magnusson [Tue, 16 Aug 2011 10:44:47 +0000 (10:44 +0000)]
Callable typehint following the rules of is_callable($arg, false);

13 years agoBug #55424 Fatal error when calling a method from a trait that is defined in parent...
Stefan Marr [Mon, 15 Aug 2011 22:16:58 +0000 (22:16 +0000)]
Bug #55424 Fatal error when calling a method from a trait that is defined in parent class and required by using an abstract method in the trait.
# The method got unconditionally deleted from the class, since it was assumed that we override it, but we did not in case of abstract methods coming from a trait. Thus, dont delete when we try to merge in an abstract method.

13 years agoFixed Bug #55355: Inheritance chain was not regarded when checking whether the abstra...
Stefan Marr [Mon, 15 Aug 2011 11:16:18 +0000 (11:16 +0000)]
Fixed Bug #55355: Inheritance chain was not regarded when checking whether the abstract method of a trait is satisfied.

13 years agoFixed Bug #55372 Incorrect handling of literals led to memory corruption.
Stefan Marr [Mon, 15 Aug 2011 09:54:06 +0000 (09:54 +0000)]
Fixed Bug #55372 Incorrect handling of literals led to memory corruption.
# Dmitry you might want to review this patch, since I split up zend_add_literal
# and added a version for post-pass_two() usage.

13 years agoAddendum for patch to bug #55214: Class name was freed before method literal referrin...
Stefan Marr [Mon, 15 Aug 2011 08:29:48 +0000 (08:29 +0000)]
Addendum for patch to bug #55214: Class name was freed before method literal referring to it.
# Thanks to Felipe for catching this.
# The fix duplicates the name into the literal to avoid the dependency

13 years agoMFH: NEWS update for mbstring.
Rui Hirokawa [Sun, 14 Aug 2011 14:11:49 +0000 (14:11 +0000)]
MFH: NEWS update for mbstring.

13 years agoMFH: added gb18030 encoding to mbstring/libmbfl.~
Rui Hirokawa [Sun, 14 Aug 2011 14:11:29 +0000 (14:11 +0000)]
MFH: added gb18030 encoding to mbstring/libmbfl.~

13 years agoMFH:
Rui Hirokawa [Sat, 13 Aug 2011 13:19:18 +0000 (13:19 +0000)]
MFH:

13 years agoMore test portability fixes mostly for gcov.php.net
Christopher Jones [Sat, 13 Aug 2011 00:43:34 +0000 (00:43 +0000)]
More test portability fixes mostly for gcov.php.net

13 years agoFix CID 593 Mark the missing break by an explicit comment, we DO intend to fall throu...
Etienne Kneuss [Fri, 12 Aug 2011 22:20:35 +0000 (22:20 +0000)]
Fix CID 593 Mark the missing break by an explicit comment, we DO intend to fall through here

13 years agoFix CID 538/539, explicitely check for something that should never occur
Etienne Kneuss [Fri, 12 Aug 2011 22:05:10 +0000 (22:05 +0000)]
Fix CID 538/539, explicitely check for something that should never occur

13 years agoFix CID 547, make static analyzer happy
Etienne Kneuss [Fri, 12 Aug 2011 21:57:54 +0000 (21:57 +0000)]
Fix CID 547, make static analyzer happy

13 years agoFix CID 1211, unused intern variable
Etienne Kneuss [Fri, 12 Aug 2011 21:46:40 +0000 (21:46 +0000)]
Fix CID 1211, unused intern variable

13 years agoprevent a crash if cs is NULL, which can happen with MS and lazy connections
Andrey Hristov [Fri, 12 Aug 2011 14:55:00 +0000 (14:55 +0000)]
prevent a crash if cs is NULL, which can happen with MS and lazy connections

13 years agoMySQL 5.6 fractional seconds and PS
Ulf Wendel [Fri, 12 Aug 2011 11:51:44 +0000 (11:51 +0000)]
MySQL 5.6 fractional seconds and PS

13 years agoAndrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really...
Ulf Wendel [Fri, 12 Aug 2011 11:23:36 +0000 (11:23 +0000)]
Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed?

13 years agoAndrey, please have a look. This should not cause errors.
Ulf Wendel [Fri, 12 Aug 2011 11:23:16 +0000 (11:23 +0000)]
Andrey, please have a look. This should not cause errors.

13 years agoOmitted GCC warning "comparison is always false"
Xinchen Hui [Fri, 12 Aug 2011 07:47:03 +0000 (07:47 +0000)]
Omitted GCC warning "comparison is always false"

13 years agoBug #55403: Don't set $_SERVER['HTTPS'] on unsecure connection
Uwe Schindler [Thu, 11 Aug 2011 20:25:24 +0000 (20:25 +0000)]
Bug #55403: Don't set $_SERVER['HTTPS'] on unsecure connection

13 years agoMissing file relating to previous commit
Ilia Alshanetsky [Thu, 11 Aug 2011 13:02:16 +0000 (13:02 +0000)]
Missing file relating to previous commit

13 years agoFixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)
Ilia Alshanetsky [Thu, 11 Aug 2011 13:01:52 +0000 (13:01 +0000)]
Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)

13 years ago- fix build (introduce by r314641)
Pierre Joye [Thu, 11 Aug 2011 07:11:39 +0000 (07:11 +0000)]
- fix build (introduce by r314641)

13 years agoFixed possible memory leak
Dmitry Stogov [Thu, 11 Aug 2011 06:38:42 +0000 (06:38 +0000)]
Fixed possible memory leak

13 years agoUse HOST_NAME_MAX constant here instead for the gethostname() func
Rasmus Lerdorf [Wed, 10 Aug 2011 17:40:56 +0000 (17:40 +0000)]
Use HOST_NAME_MAX constant here instead for the gethostname() func

13 years ago- Getting rid of the BOM.
Derick Rethans [Wed, 10 Aug 2011 16:34:39 +0000 (16:34 +0000)]
- Getting rid of the BOM.

13 years ago- Turn on html_errors by default again in php.ini-production like it was in
Derick Rethans [Wed, 10 Aug 2011 16:31:29 +0000 (16:31 +0000)]
- Turn on html_errors by default again in php.ini-production like it was in
  PHP 5.3, but only generate docref links when the docref_root INI setting is
  not empty.

13 years agoFix win32 build
Ilia Alshanetsky [Wed, 10 Aug 2011 15:59:32 +0000 (15:59 +0000)]
Fix win32 build

13 years agoFixed memset usage (identified by coverity)
Ilia Alshanetsky [Wed, 10 Aug 2011 15:30:07 +0000 (15:30 +0000)]
Fixed memset usage (identified by coverity)

13 years agorelax constraint
Andrey Hristov [Wed, 10 Aug 2011 14:12:24 +0000 (14:12 +0000)]
relax constraint

13 years agoFixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains...
Dmitry Stogov [Wed, 10 Aug 2011 13:44:48 +0000 (13:44 +0000)]
Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself)

13 years agoEliminated compiler's warnings
Xinchen Hui [Wed, 10 Aug 2011 11:59:11 +0000 (11:59 +0000)]
Eliminated compiler's warnings

13 years agofix coverity issue 1054: missing break/return
Michael Wallner [Wed, 10 Aug 2011 11:01:09 +0000 (11:01 +0000)]
fix coverity issue 1054: missing break/return

13 years agoRemove unused variable
Pierrick Charron [Wed, 10 Aug 2011 01:12:52 +0000 (01:12 +0000)]
Remove unused variable

13 years agoterminate timeouting processes with SIGKILL (9)
Nuno Lopes [Tue, 9 Aug 2011 21:53:44 +0000 (21:53 +0000)]
terminate timeouting processes with SIGKILL (9)

13 years agoFix building of pure C++ extensions as static
Scott MacVicar [Tue, 9 Aug 2011 18:12:06 +0000 (18:12 +0000)]
Fix building of pure C++ extensions as static

13 years agoFix typos in UPGRADING
Scott MacVicar [Tue, 9 Aug 2011 15:27:25 +0000 (15:27 +0000)]
Fix typos in UPGRADING

13 years agoMFH: update the news.
Rui Hirokawa [Tue, 9 Aug 2011 15:11:51 +0000 (15:11 +0000)]
MFH: update the news.

13 years agoMake static analyzers happy
Ilia Alshanetsky [Tue, 9 Aug 2011 14:11:56 +0000 (14:11 +0000)]
Make static analyzers happy

13 years agoMinimize stack usage and added missing dtors
Ilia Alshanetsky [Tue, 9 Aug 2011 13:10:57 +0000 (13:10 +0000)]
Minimize stack usage and added missing dtors

13 years agoAvoiding strcpy, strcat, sprintf usage to make static analyzer happy
Xinchen Hui [Tue, 9 Aug 2011 12:16:58 +0000 (12:16 +0000)]
Avoiding strcpy, strcat, sprintf usage to make static analyzer happy

13 years agoAvoiding strcpy usage, Make static analyzer happy
Xinchen Hui [Tue, 9 Aug 2011 09:35:42 +0000 (09:35 +0000)]
Avoiding strcpy usage, Make static analyzer happy

13 years agoUpdate SQLite3 to the latest version
Scott MacVicar [Tue, 9 Aug 2011 07:31:34 +0000 (07:31 +0000)]
Update SQLite3 to the latest version

13 years agoEliminated compiler's warnings and make static analyzer silent
Xinchen Hui [Tue, 9 Aug 2011 05:11:19 +0000 (05:11 +0000)]
Eliminated compiler's warnings and make static analyzer silent

13 years agoRemove unused variable
Pierrick Charron [Tue, 9 Aug 2011 02:42:25 +0000 (02:42 +0000)]
Remove unused variable

13 years agoRemove unused variable
Pierrick Charron [Tue, 9 Aug 2011 02:37:02 +0000 (02:37 +0000)]
Remove unused variable

13 years ago- Elided unused argument in internal linkage function.
Gustavo André dos Santos Lopes [Tue, 9 Aug 2011 00:40:45 +0000 (00:40 +0000)]
- Elided unused argument in internal linkage function.

13 years agoRemove unnecessary(no sense) memset and making the static analyzer silent
Xinchen Hui [Mon, 8 Aug 2011 16:57:46 +0000 (16:57 +0000)]
Remove unnecessary(no sense) memset and making the static analyzer silent

13 years agoAnother build fix relating to previous DOM commit
Ilia Alshanetsky [Mon, 8 Aug 2011 16:49:43 +0000 (16:49 +0000)]
Another build fix relating to previous DOM commit

13 years agoMFH: reduced memory footprint for codepages.
Rui Hirokawa [Mon, 8 Aug 2011 16:15:39 +0000 (16:15 +0000)]
MFH: reduced memory footprint for codepages.

13 years agoFixed build
Ilia Alshanetsky [Mon, 8 Aug 2011 16:06:40 +0000 (16:06 +0000)]
Fixed build

13 years agoFix typo
Etienne Kneuss [Mon, 8 Aug 2011 14:54:50 +0000 (14:54 +0000)]
Fix typo

13 years agoRemoval of deadcode identified by coverity
Ilia Alshanetsky [Mon, 8 Aug 2011 13:45:18 +0000 (13:45 +0000)]
Removal of deadcode identified by coverity

13 years agoRemoved deadcode
Ilia Alshanetsky [Mon, 8 Aug 2011 12:14:58 +0000 (12:14 +0000)]
Removed deadcode

13 years agoMake static analyzers happy
Ilia Alshanetsky [Mon, 8 Aug 2011 12:10:27 +0000 (12:10 +0000)]
Make static analyzers happy

13 years agoFix typo
Pierrick Charron [Mon, 8 Aug 2011 11:30:56 +0000 (11:30 +0000)]
Fix typo

13 years agoUse snprintf to make the static analyzers happy
Pierrick Charron [Mon, 8 Aug 2011 11:19:49 +0000 (11:19 +0000)]
Use snprintf to make the static analyzers happy

13 years agoSizeof mismatch
Xinchen Hui [Mon, 8 Aug 2011 08:49:55 +0000 (08:49 +0000)]
Sizeof mismatch

13 years ago- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.
Derick Rethans [Mon, 8 Aug 2011 07:42:58 +0000 (07:42 +0000)]
- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.

13 years agoPrevented the warning about truncate int to char
Xinchen Hui [Mon, 8 Aug 2011 07:12:12 +0000 (07:12 +0000)]
Prevented the warning about truncate int to char

13 years agoMake codes more clearly, and make the static analyzer silent..
Xinchen Hui [Mon, 8 Aug 2011 06:49:17 +0000 (06:49 +0000)]
Make codes more clearly, and make the static analyzer silent..

13 years agoUse snprintf and strncat to make the static analyzers happy
Pierrick Charron [Mon, 8 Aug 2011 03:08:59 +0000 (03:08 +0000)]
Use snprintf and strncat to make the static analyzers happy

13 years agoWrong sizeof
Xinchen Hui [Mon, 8 Aug 2011 02:33:03 +0000 (02:33 +0000)]
Wrong sizeof

13 years agoRemove no sense statements
Xinchen Hui [Mon, 8 Aug 2011 00:47:40 +0000 (00:47 +0000)]
Remove no sense statements

13 years agoAvoid strcpy() usage
Ilia Alshanetsky [Mon, 8 Aug 2011 00:07:54 +0000 (00:07 +0000)]
Avoid strcpy() usage

13 years agoFixes for variety of issues identified by coverity scan
Ilia Alshanetsky [Sun, 7 Aug 2011 23:46:00 +0000 (23:46 +0000)]
Fixes for variety of issues identified by coverity scan

13 years agopossible use without init fixed
Gwynne Raskind [Sun, 7 Aug 2011 18:12:52 +0000 (18:12 +0000)]
possible use without init fixed

13 years ago- Fixed bug #55378: binary number literal returns float number though its value
Derick Rethans [Sun, 7 Aug 2011 17:36:31 +0000 (17:36 +0000)]
- Fixed bug #55378: binary number literal returns float number though its value
  is enough small

13 years agoFor 5.4, fix C++-style comments. For trunk, forward-port build fix.
Gwynne Raskind [Sun, 7 Aug 2011 16:31:21 +0000 (16:31 +0000)]
For 5.4, fix C++-style comments. For trunk, forward-port build fix.

13 years agoFix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
Rasmus Lerdorf [Sun, 7 Aug 2011 16:10:34 +0000 (16:10 +0000)]
Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies

13 years agoSigned 1-bit bitfields make no sense
Rasmus Lerdorf [Sun, 7 Aug 2011 15:52:46 +0000 (15:52 +0000)]
Signed 1-bit bitfields make no sense

13 years agoNot an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
Rasmus Lerdorf [Sun, 7 Aug 2011 15:45:18 +0000 (15:45 +0000)]
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.

13 years agoMake static analyzers happy
Rasmus Lerdorf [Sun, 7 Aug 2011 15:38:36 +0000 (15:38 +0000)]
Make static analyzers happy

13 years agoFixes build issues with ext/intl. This appears to be related to bug #55019, but since...
Gwynne Raskind [Sun, 7 Aug 2011 15:12:34 +0000 (15:12 +0000)]
Fixes build issues with ext/intl. This appears to be related to bug #55019, but since the functions in question are used elsewhere, the solution is to de-inline rather than to make them static inline.

13 years agofix for bug #55019
Gwynne Raskind [Sun, 7 Aug 2011 15:09:42 +0000 (15:09 +0000)]
fix for bug #55019

13 years agoAdd missing php.h include
Gwynne Raskind [Sun, 7 Aug 2011 15:07:53 +0000 (15:07 +0000)]
Add missing php.h include

13 years agorevert -r314422
Xinchen Hui [Sun, 7 Aug 2011 14:25:30 +0000 (14:25 +0000)]
revert -r314422

No need to check erealloc's return

13 years agoFixed bug that may dereferenced NULL pointer before checking
Xinchen Hui [Sun, 7 Aug 2011 13:19:04 +0000 (13:19 +0000)]
Fixed bug that may dereferenced NULL pointer before checking

13 years ago- Revert r314387
Felipe Pena [Sun, 7 Aug 2011 13:04:02 +0000 (13:04 +0000)]
- Revert r314387
  (property_info.name has the mangled name)

13 years agoInitialize variable with fixed value for avoiding compile warnings
Xinchen Hui [Sun, 7 Aug 2011 11:13:27 +0000 (11:13 +0000)]
Initialize variable with fixed value for avoiding compile warnings

13 years agoRemove unused variables
Pierrick Charron [Sun, 7 Aug 2011 06:37:22 +0000 (06:37 +0000)]
Remove unused variables

13 years agofunction_name cannot be false
Pierrick Charron [Sun, 7 Aug 2011 06:19:43 +0000 (06:19 +0000)]
function_name cannot be false

13 years agoclass entry is never used
Pierrick Charron [Sun, 7 Aug 2011 06:04:11 +0000 (06:04 +0000)]
class entry is never used

13 years agoPointer returned is never used
Pierrick Charron [Sun, 7 Aug 2011 05:46:31 +0000 (05:46 +0000)]
Pointer returned is never used

13 years agoFix build under Clang 2.9 - see LLVM bug #9164 (http://llvm.org/bugs/show_bug.cgi...
Gwynne Raskind [Sun, 7 Aug 2011 05:20:49 +0000 (05:20 +0000)]
Fix build under Clang 2.9 - see LLVM bug #9164 (http://llvm.org/bugs/show_bug.cgi?id=9164). Tested with GCC and Clang on Darwin and Ubuntu.

13 years agoGood catch Coverity
Rasmus Lerdorf [Sun, 7 Aug 2011 03:25:19 +0000 (03:25 +0000)]
Good catch Coverity

13 years agoSince we have fci_cache = &fci_cache_local inside that block
Rasmus Lerdorf [Sun, 7 Aug 2011 00:50:46 +0000 (00:50 +0000)]
Since we have fci_cache = &fci_cache_local inside that block
and fci_cache is then later used outside the block, fci_cache_local
can't be block-scoped here