]>
granicus.if.org Git - php/log
Anatol Belski [Mon, 13 Oct 2014 09:40:22 +0000 (11:40 +0200)]
more signed/unsigned mismatch fix
Anatol Belski [Mon, 13 Oct 2014 09:37:03 +0000 (11:37 +0200)]
fix signed/unsigned mismatch warning
Anatol Belski [Mon, 13 Oct 2014 09:32:13 +0000 (11:32 +0200)]
fix signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 07:12:15 +0000 (09:12 +0200)]
fix some signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 06:16:22 +0000 (08:16 +0200)]
missing include for strlen proto
Nikita Popov [Mon, 13 Oct 2014 13:19:23 +0000 (15:19 +0200)]
More fixes for array/object casts with temporary variables
Nikita Popov [Mon, 13 Oct 2014 12:51:53 +0000 (14:51 +0200)]
Fix array/object cast of refcounted tmp var
Nikita Popov [Sun, 12 Oct 2014 20:01:09 +0000 (22:01 +0200)]
Deref right value for compound assign ops
Currently we do not support IS_REFERENCE operands for most of our
*_function's (should we?), so we need to deref here.
Dmitry Stogov [Mon, 13 Oct 2014 10:10:44 +0000 (14:10 +0400)]
Merge branch 'PHP-5.6'
* PHP-5.6:
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Conflicts:
ext/opcache/Optimizer/pass1_5.c
Dmitry Stogov [Mon, 13 Oct 2014 10:07:37 +0000 (14:07 +0400)]
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Nikita Popov [Sun, 12 Oct 2014 18:54:45 +0000 (20:54 +0200)]
Ensure __LINE__ is always accurate
Nikita Popov [Sun, 12 Oct 2014 18:39:07 +0000 (20:39 +0200)]
Fix incdec of referenced properties
I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first,
because incdec op supports reference variables. However this
violates the constraint that IS_TMP_VAR variables may not be
references (which is an issue if you use the result of the incdec
op).
Still need to fix the cases where read_property/write_property is
used.
Nikita Popov [Sun, 12 Oct 2014 18:11:57 +0000 (20:11 +0200)]
Fix ::jsonSerialize() failure message
Nikita Popov [Sun, 12 Oct 2014 17:01:45 +0000 (19:01 +0200)]
Fix invalid zend_string_frees in reflection
zend_lookup_class can share the name
Nikita Popov [Fri, 10 Oct 2014 13:32:04 +0000 (15:32 +0200)]
Remove retval member in spl_dllist
Seems pretty useless, unless I'm missing something?
Anatol Belski [Sun, 12 Oct 2014 17:22:40 +0000 (19:22 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
DLL export several APIs needed for phpdbg
Anatol Belski [Sun, 12 Oct 2014 17:22:03 +0000 (19:22 +0200)]
DLL export several APIs needed for phpdbg
Tjerk Meesters [Sun, 12 Oct 2014 04:55:24 +0000 (12:55 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
- use zend_long for offset
Conflicts:
ext/dom/php_dom.c
Tjerk Meesters [Sun, 12 Oct 2014 04:47:58 +0000 (12:47 +0800)]
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
Anatol Belski [Thu, 9 Oct 2014 08:53:28 +0000 (10:53 +0200)]
int to size_t where the underlaying API supports it
Anatol Belski [Thu, 9 Oct 2014 08:35:47 +0000 (10:35 +0200)]
use php_socket_t instead of int
Anatol Belski [Thu, 9 Oct 2014 07:03:37 +0000 (09:03 +0200)]
fix signed/unsigned mismatch warning
Anatol Belski [Thu, 9 Oct 2014 06:49:55 +0000 (08:49 +0200)]
fix compilation warning
Dmitry Stogov [Fri, 10 Oct 2014 12:36:12 +0000 (16:36 +0400)]
Improved specialisation $this variable accessed through IS_UNUSED operand must be IS_OBJECT, so we don't have to check for its type or perform dereference.
Nikita Popov [Fri, 10 Oct 2014 10:28:55 +0000 (12:28 +0200)]
Add notes about get_class_entry/get_class_name to UPGRADING
Nikita Popov [Fri, 10 Oct 2014 10:23:33 +0000 (12:23 +0200)]
Fix casts in GD
Using convert_to_* after ZVAL_COPY is unsafe.
Nikita Popov [Fri, 10 Oct 2014 10:14:26 +0000 (12:14 +0200)]
Drop redundant casting code from ext/filter
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:58 +0000 (11:45 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Ard Biesheuvel [Fri, 10 Oct 2014 09:46:18 +0000 (11:46 +0200)]
Merge branch 'PHP-5.6'
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:24 +0000 (11:45 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:52 +0000 (11:44 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:39 +0000 (11:44 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Ard Biesheuvel [Fri, 10 Oct 2014 09:41:10 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Fri, 10 Oct 2014 09:40:07 +0000 (11:40 +0200)]
update NEWS
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tjerk Meesters [Thu, 9 Oct 2014 23:33:06 +0000 (07:33 +0800)]
Added note to UPGRADING regarding 64-bit support in pack()/unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:20:10 +0000 (07:20 +0800)]
pack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
Tjerk Meesters [Thu, 9 Oct 2014 23:05:36 +0000 (07:05 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add 64 bit formats to pack() and unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:00:38 +0000 (07:00 +0800)]
RFC: 64 bit format codes for pack() and unpack()
Leigh [Mon, 8 Sep 2014 20:59:32 +0000 (21:59 +0100)]
Add 64 bit formats to pack() and unpack()
Dmitry Stogov [Thu, 9 Oct 2014 19:58:41 +0000 (23:58 +0400)]
Help to CPU branch predictor
Dmitry Stogov [Thu, 9 Oct 2014 19:38:39 +0000 (23:38 +0400)]
Removed unused EG(orig_error_reporting)
Nikita Popov [Thu, 9 Oct 2014 17:15:07 +0000 (19:15 +0200)]
Update get_class_name semantics
* get_class_name is now only used for displaying the class name
in debugging functions like var_dump, print_r, etc. It is no
longer used in get_class() etc.
* As it is no longer used in get_parent_class() the parent
argument is now gone. This also fixes incorrect parent classes
being reported in COM.
* get_class_name is now always required (previously some places
made it optional and some required it) and is also required
to return a non-NULL value.
* Remove zend_get_object_classname. This also fixes a number of
potential leaks due to incorrect usage of this function.
Nikita Popov [Thu, 9 Oct 2014 15:16:37 +0000 (17:16 +0200)]
Remove Z_OBJ_CLASS_NAME_P
Doesn't make much sense anymore, now that get_class_entry is
gone.
Dmitry Stogov [Thu, 9 Oct 2014 16:29:02 +0000 (20:29 +0400)]
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.
Tjerk Meesters [Thu, 9 Oct 2014 15:32:19 +0000 (23:32 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Refactored DOMNodeList array dereferencing implementation
Conflicts:
ext/dom/nodelist.c
ext/dom/php_dom.c
Tjerk Meesters [Thu, 9 Oct 2014 15:07:12 +0000 (23:07 +0800)]
Refactored DOMNodeList array dereferencing implementation
Dmitry Stogov [Thu, 9 Oct 2014 14:34:19 +0000 (18:34 +0400)]
zval must not be converted in place without duplication
Nikita Popov [Thu, 9 Oct 2014 13:23:14 +0000 (15:23 +0200)]
Remove PDORow get_class_entry handler
Nikita Popov [Thu, 9 Oct 2014 12:42:56 +0000 (14:42 +0200)]
Remove get_class_entry handlers in COM
Nikita Popov [Thu, 9 Oct 2014 12:17:30 +0000 (14:17 +0200)]
Remove zend_get_class_entry function
Nikita Popov [Thu, 9 Oct 2014 12:08:10 +0000 (14:08 +0200)]
Remove get_class_entry object handler
Nikita Popov [Thu, 9 Oct 2014 12:01:08 +0000 (14:01 +0200)]
Remove proxy object implementation
Nikita Popov [Thu, 9 Oct 2014 11:58:14 +0000 (13:58 +0200)]
Remove support for classes without class entries
get_class_entry must be non-NULL and return non-NULL.
Nikita Popov [Thu, 9 Oct 2014 10:51:05 +0000 (12:51 +0200)]
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages
Nikita Popov [Thu, 9 Oct 2014 10:02:42 +0000 (12:02 +0200)]
Fix bug #68191: Broken reference across objects
Nikita Popov [Tue, 7 Oct 2014 14:43:50 +0000 (16:43 +0200)]
Directly use zend_string for php_implode/php_explode
Also drop some unnecessary zval separations and copies
Dmitry Stogov [Thu, 9 Oct 2014 10:01:19 +0000 (14:01 +0400)]
Copy all the arena allocated data from SHM to process memory at once
Tjerk Meesters [Thu, 9 Oct 2014 08:55:15 +0000 (16:55 +0800)]
Merge branch 'PHP-5.6'
Conflicts:
ext/dom/dom_properties.h
ext/dom/nodelist.c
ext/dom/php_dom.c
Tjerk Meesters [Thu, 9 Oct 2014 08:18:14 +0000 (16:18 +0800)]
Updated NEWS for #67949
Tjerk Meesters [Thu, 9 Oct 2014 07:55:10 +0000 (15:55 +0800)]
Merge branch 'pr/846' into PHP-5.6
* pr/846:
DOMNodeList elements are accessible through array notation
Tjerk Meesters [Thu, 9 Oct 2014 00:24:58 +0000 (08:24 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS for #68129
Updated NEWS for #68129
Fixed bug #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:24:30 +0000 (08:24 +0800)]
Updated NEWS for #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:24:05 +0000 (08:24 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS for #68129
Fixed bug #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:23:42 +0000 (08:23 +0800)]
Updated NEWS for #68129
Tjerk Meesters [Sun, 5 Oct 2014 23:27:05 +0000 (07:27 +0800)]
Fixed bug #68129
Empty usernames and passwords are now treated differently from no username or password
For example, empty password:
ftp://user:@example.org
Empty username:
ftp://:password@example.org
Empty username and empty password
ftp://:@example.org
Dmitry Stogov [Wed, 8 Oct 2014 17:54:05 +0000 (21:54 +0400)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Added info about ext/opcache
Conflicts:
EXTENSIONS
Dmitry Stogov [Wed, 8 Oct 2014 17:49:53 +0000 (21:49 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Added info about ext/opcache
Dmitry Stogov [Wed, 8 Oct 2014 17:48:44 +0000 (21:48 +0400)]
Added info about ext/opcache
Dmitry Stogov [Wed, 8 Oct 2014 12:08:26 +0000 (16:08 +0400)]
Exposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()
Anatol Belski [Wed, 8 Oct 2014 09:14:23 +0000 (11:14 +0200)]
let phpize profit from /mp as well
Anatol Belski [Wed, 8 Oct 2014 09:01:15 +0000 (11:01 +0200)]
fix phpize for /mp and more
Anatol Belski [Wed, 8 Oct 2014 08:59:15 +0000 (10:59 +0200)]
fix /mp usage for VC++
Anatol Belski [Wed, 8 Oct 2014 07:01:46 +0000 (09:01 +0200)]
fix wording
Keyur Govande [Tue, 7 Oct 2014 21:23:04 +0000 (21:23 +0000)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add to NEWS
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
Keyur Govande [Tue, 7 Oct 2014 21:22:54 +0000 (21:22 +0000)]
Add to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:22:07 +0000 (21:22 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
Keyur Govande [Tue, 7 Oct 2014 21:21:23 +0000 (21:21 +0000)]
Add to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:17:36 +0000 (21:17 +0000)]
Fix for bug #68087 (ODBC not reading DATE columns correctly)
Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.
Keyur Govande [Tue, 7 Oct 2014 21:09:57 +0000 (21:09 +0000)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:09:47 +0000 (21:09 +0000)]
Add to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:08:33 +0000 (21:08 +0000)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
Keyur Govande [Tue, 7 Oct 2014 21:08:18 +0000 (21:08 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
Keyur Govande [Tue, 7 Oct 2014 21:07:19 +0000 (21:07 +0000)]
Add to NEWS
Keyur Govande [Tue, 7 Oct 2014 20:58:43 +0000 (20:58 +0000)]
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.
Dmitry Stogov [Tue, 7 Oct 2014 19:48:55 +0000 (23:48 +0400)]
Micro optimization
Dmitry Stogov [Tue, 7 Oct 2014 18:38:37 +0000 (22:38 +0400)]
Improved return by reference handling
Dmitry Stogov [Tue, 7 Oct 2014 14:12:09 +0000 (18:12 +0400)]
Reorder fields for better alignment on both 32-bit and 64-bit systems
Dmitry Stogov [Tue, 7 Oct 2014 13:54:24 +0000 (17:54 +0400)]
Remove useless parts of EX(old_error_reporting)
Dmitry Stogov [Tue, 7 Oct 2014 13:12:12 +0000 (17:12 +0400)]
Merged EX(frame_kind) and EX(flags) into single word
Nikita Popov [Mon, 6 Oct 2014 18:38:05 +0000 (20:38 +0200)]
Fix bug #68162: isset($$varname) always true
Nikita Popov [Mon, 6 Oct 2014 18:14:30 +0000 (20:14 +0200)]
Drop convert_to usage in zend_exceptions
To make everything work correctly with refs.
I'm unsure whether the GET_PROPERTY_SILENT distinction is really
necessary, because the choice seemed pretty random, but kept it
around.
Nikita Popov [Mon, 6 Oct 2014 16:56:23 +0000 (18:56 +0200)]
Fix isset/unset on by-ref names as well
Nikita Popov [Mon, 6 Oct 2014 16:45:08 +0000 (18:45 +0200)]
Fix bug #68163
Anatol Belski [Mon, 6 Oct 2014 13:51:57 +0000 (15:51 +0200)]
bring back the correct php_version.h
Anatol Belski [Mon, 6 Oct 2014 13:44:43 +0000 (15:44 +0200)]
fix the empty_strings SAPI shutdown leak in TS build
still the NTS variant is somewhat different as it needs
zend_new_interned_string_int because the normal callbacks might
be not initialized, but at least no leaks anymore and some more
structure
Dmitry Stogov [Mon, 6 Oct 2014 12:32:15 +0000 (16:32 +0400)]
Use fastcall calling convention for heap functions
Anatol Belski [Mon, 6 Oct 2014 11:38:13 +0000 (13:38 +0200)]
fix leaking the empty_string in TS builds
Anatol Belski [Mon, 6 Oct 2014 09:45:23 +0000 (11:45 +0200)]
remove successive assignment
Timm Friebe [Sun, 5 Oct 2014 12:27:21 +0000 (14:27 +0200)]
Add tests verifying calls work inside echo, concatenation and array access
Tjerk Meesters [Sun, 5 Oct 2014 21:54:32 +0000 (05:54 +0800)]
Updated NEWS and UPGRADING
PHP RFC: Catchable "call to a member function of a non-object"