Commit Graph

59 Commits

Author SHA1 Message Date
Etienne Kneuss
191b52d272 Remove trailing dots 2010-02-02 04:49:02 +00:00
Etienne Kneuss
cca05f1403 Fix #48667 (Implementing Iterator and IteratorAggregate is now restricted in both orders) 2010-02-01 13:45:57 +00:00
Sebastian Bergmann
d2281d1dff sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php 2010-01-05 20:46:53 +00:00
Dmitry Stogov
4a4d739e49 Fixed bug #47699 (autoload and late static binding) 2009-03-25 10:39:26 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Etienne Kneuss
f48d22afa1 MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 14:11:49 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Etienne Kneuss
cc9a8ee528 MFH:
- Copy custom callback to the child class if any
- Prevent overwriting valid parent callbacks when implementing Serializable
- Export zend_user_(un)serialize to be available for custom callbacks
2008-08-24 18:22:33 +00:00
Dmitry Stogov
feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Dmitry Stogov
d90ebc65a6 Fixed comilation warnings 2008-01-24 18:07:45 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
23eaae2211 MFH 2007-05-30 16:32:02 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
f7ba7232d8 MFH: fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method) 2006-08-28 10:27:58 +00:00
Antony Dovgal
80d7ac0e9e there is no %v in 5.2 2006-05-18 21:24:04 +00:00
Marcus Boerger
7a5240e846 - MFH missing bits and pieces of the partial sync with head
# This time i added:
# ZEND_FE_RESET_VARIABLE
# ZEND_FE_RESET_REFERENCE
# and dapted parser,compiler,executor,interfaces to handle these flags
# their purpose is to be able to pass whetehr foreach is done by ref to
# the current() handler so that it can error out in case it is not capable
# to comply to the requested return signature/protocol/semantics (weyp).
2006-05-11 21:07:39 +00:00
Marcus Boerger
637a40423c - MFH as discussed
. zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D)
  . zend_get_error_exception()   -> zend_get_error_exception(TSRMLS_D)
  . added E_RECOVERABLE_ERROR
  . added ZEND_TOSTRING_FUNC_NAME
  . added __tostring function cache to zend_class_entry
  . added ZEND_NAMED_ME
  . modified ZEND_ME_MAPPING to support method flags
  . added ZEND_MN
  . method entries now use prefix "zim_" instead of "zif_"
  . drop EG(ze1_compatibility_mode)
  . changed cast handler, now without (int should_free):
    typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
  . changed get_iterator, now receives whether value is by ref:
    zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
  . added zend_objects_store_add_ref_by_handle
  . added zend_objects_store_del_ref_by_handle
  . convert_to_explicit_type(pzv, type)
2006-05-09 23:53:23 +00:00
Marcus Boerger
6c89fd2d63 - MFH Coverity fix 49 2006-04-10 22:49:29 +00:00
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57:00 +00:00
Andi Gutmans
61e93ccfe8 - Update copyright notices to 2006 2006-01-04 23:53:05 +00:00
Marcus Boerger
48d9adc3f0 - MFH Allow uncached global functions 2005-10-03 12:36:36 +00:00
foobar
916815b779 Bump up the year 2005-08-03 13:30:58 +00:00
Marcus Boerger
897090c01e - Dont't warn in case an exception is pending - in this case it'd superflous 2005-07-19 19:46:21 +00:00
Marcus Boerger
d77945ef78 - Just return FAILURE & allow NULL without emmidiate error 2005-04-05 09:16:27 +00:00
Andi Gutmans
e9dbeabd38 - Fix typos 2005-03-19 01:11:48 +00:00
Marcus Boerger
c6e39471de - More exact signatures (even though complete correct not possible atm) 2005-03-13 16:34:37 +00:00
Marcus Boerger
757da1eed5 - New Interface Serializeable
- Change signature of unserialize() callback to ease inheritance and
  support code reuse of handlers
2005-03-07 22:23:14 +00:00
Marcus Boerger
0b3ed59fb6 - Support statuc methods/functions 2005-03-01 23:41:49 +00:00
Marcus Boerger
72c1baa9d8 - Allow to convert Traversable into Aggregate 2005-02-23 01:09:10 +00:00
Marcus Boerger
82193adc09 - Bugfix #26229 (getIterator() segfaults when it returns arrays or scalars) 2005-01-25 10:40:51 +00:00
Marcus Boerger
5206e9c9cf - Allow getIterator() to fail 2005-01-24 19:18:37 +00:00
Marcus Boerger
01af2c3f73 Fix warnign 2004-09-27 08:33:11 +00:00
Stanislav Malyshev
46455027fc quick fix for #29382 2004-07-26 17:12:17 +00:00
Marcus Boerger
11ce65aeaf - Fix warnings 2004-04-27 15:47:55 +00:00
Marcus Boerger
e1cd098925 - no unneccessary retval initialization
- new c-level iterator handler invalidate_current that is optionally
  used to clear internal caching like in implementation of Iterator
2004-04-27 15:38:07 +00:00
Marcus Boerger
c5abb9b24c Capture potential problem by error message 2004-04-25 11:25:25 +00:00
Stanislav Malyshev
1cc4a69bbe preserve ZEND_API in definition 2004-03-28 14:32:32 +00:00
Marcus Boerger
50ee116f08 Clearify the different method/class flags (as discussed with Andi). 2004-03-09 16:38:37 +00:00
Marcus Boerger
6b0f57ee50 Rename hasMore() to valid() as discussed. (Part II) 2004-03-08 18:05:41 +00:00
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Zeev Suraski
e7e0f7d4b4 - Check return-by-reference bit when implementing interface prototypes
- Add infrastructure for built-in functions to hint whether they
  return by reference or not.  It is NOT currently used for anything,
  except for interface prototypes (you can use it to request that the
  function that implements your prototype returns by reference or
  doesn't return by reference).
  For downwards compatibility - by default, interface prototypes are
  agnostic as to whether the function that implements them returns
  by reference or not.  Use ZEND_BEGIN_ARG_INFO_EX() with
  ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that.
- Fix ArrayAccess::getOffset() to conduct additional checks.
  If your getOffset() should work with multidimensional arrays - it
  must return by reference.
2004-02-12 13:49:55 +00:00
Marcus Boerger
6186617571 - Export struct zend_user_iterator
- Ad 'it' to function prefix to prevent naming clashes
- Export zend_user_it_free_current
2004-01-26 22:33:52 +00:00
Marcus Boerger
64c7645009 #where has my bracket been gone? 2004-01-17 16:50:54 +00:00
Marcus Boerger
3edabd01bb Fix inheritance rule for interface Traversable 2004-01-17 16:38:25 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00