Commit Graph

373 Commits

Author SHA1 Message Date
Dmitry Stogov
10f6cd5cb0 Fixed compilation on some systems (Wez) 2007-11-20 10:19:11 +00:00
Jani Taskinen
b489251177 - MFH from HEAD:
. Folding tags
  . Parameter parsing
  . SPL debug info
  . array function improvements (not all yet)
  . Improvements to function calling with call_user_* functions
  . Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +00:00
Dmitry Stogov
f10766f1fb Reimplemented support for namespaces in indexes id constant arrays (removed zval.idx_type) 2007-11-02 10:11:42 +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
220641af70 Fixed bug #42819 (namespaces in indexes of constant arrays) 2007-10-02 08:26:50 +00:00
Dmitry Stogov
72d0454bf6 Added support for __callstatic() magic method (missing part). (Sara) 2007-09-29 09:34:24 +00:00
Dmitry Stogov
b20ed0d2e0 Added support for __callstatic() magic method. (Sara) 2007-09-29 08:52:40 +00:00
Dmitry Stogov
f32ffe9b43 Namespaces 2007-09-28 19:52:53 +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
Sebastian Bergmann
a748ada212 Bump version. 2007-09-27 05:24:50 +00:00
Jani Taskinen
c9f6d5941e MFH: - Fixed buf #42071 (ini scanner allows using NULL as option name).
MFH: Use Z_* macros to access the zvals.
2007-07-23 16:17:10 +00:00
Antony Dovgal
3c6d2617e7 MFH: fix build on Tru64 2007-04-26 19:08:58 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Dmitry Stogov
806bc4e164 Reinamed variables to avoid name conflicts 2006-09-14 10:32:45 +00:00
Dmitry Stogov
f5543a428d Fixed bug #38287 (static variables mess up global vars) 2006-08-07 15:15:22 +00:00
Ilia Alshanetsky
f1fb77d1aa Make zend_print_zval_r_ex() use the write callback function. 2006-06-11 16:28:24 +00:00
Dmitry Stogov
14f6b9149d Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:09:15 +00:00
Sebastian Bergmann
ec7b8e2b1c Bump version. 2006-05-12 05:36:09 +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
Antony Dovgal
0fab5aacce fix compilation on AIX 2006-03-30 21:39:01 +00:00
Dmitry Stogov
9d6e4964a1 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:00 +00:00
Andi Gutmans
61e93ccfe8 - Update copyright notices to 2006 2006-01-04 23:53:05 +00:00
Marcus Boerger
eb99c74567 - MFH move zend_object_Value definition to zend_types.h 2005-12-20 21:37:52 +00:00
Dmitry Stogov
0a5d10a5b9 Fixed bug #35373 (HP-UX "alias not allowed in this configuration") 2005-11-30 10:29:44 +00:00
Ilia Alshanetsky
0b9f9de012 No longer dev 2005-11-26 21:03:44 +00:00
Antony Dovgal
350aec954e MFH: ICC doesn't support __attribute__ for pointers 2005-11-25 12:25:05 +00:00
Dmitry Stogov
64931b62cc Allow recursive calls to __get/__set for different properties 2005-11-15 13:35:23 +00:00
Dmitry Stogov
248345d920 Support for class constants and static members for internal classes 2005-09-01 10:05:32 +00:00
Andi Gutmans
eeecc8a015 - No release today. Found a critical bug... 2005-08-09 05:40:56 +00:00
Andi Gutmans
01d8e59d3b - RC1 2005-08-09 05:08:59 +00:00
foobar
916815b779 Bump up the year 2005-08-03 13:30:58 +00:00
Andi Gutmans
bdf2753ee8 - Back to -dev 2005-07-14 14:01:02 +00:00
Andi Gutmans
a007ddb190 - Beta 3 2005-07-14 13:44:03 +00:00
Andi Gutmans
f030fe2f3a - Back to -dev 2005-07-12 20:25:28 +00:00
Andi Gutmans
897818e1a0 - Beta 3 2005-07-12 19:59:52 +00:00
Dmitry Stogov
345e0255b5 Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods) 2005-07-07 16:07:09 +00:00
Andi Gutmans
ec92bb884e - Back to -dev 2005-06-23 04:20:49 +00:00
Andi Gutmans
fe238490f9 - Beta 2 2005-06-23 03:56:37 +00:00
Andi Gutmans
da201c1be8 - Back to -dev. Guys (n' Girls), give at least 1 hour before you start
- complaining about not going back to -dev. I like checking the tarball
- before I change it back.
2005-06-21 16:31:19 +00:00
Andi Gutmans
9bf68ef6c5 - Take #3 :) 2005-06-21 15:44:50 +00:00
Andi Gutmans
cf0c7a9f5a - Back to -dev 2005-06-20 22:34:57 +00:00
Andi Gutmans
fd3d8e9537 - Beta 2 2005-06-20 20:49:56 +00:00
Dmitry Stogov
aedbdb087d Allowed return by refrence from internal functions 2005-06-16 14:56:13 +00:00
Dmitry Stogov
47676bc067 Fixed OS X compatibility 2005-06-15 19:05:55 +00:00
Dmitry Stogov
cec2347c96 Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol 'zend_error').
The fix is not tested on Solaris and DARWIN!
2005-06-13 11:22:59 +00:00
Andi Gutmans
16bbd70cd5 - Back to -dev 2005-06-11 17:03:42 +00:00
Andi Gutmans
e0787f3d24 - b2 (will post it to internals@) 2005-06-11 16:59:24 +00:00
Andi Gutmans
0638c657e1 - Back to -dev 2005-06-10 18:29:10 +00:00
Andi Gutmans
3b1f8e9ad7 - Go with 5.1.0b1 2005-06-10 18:06:43 +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
Stanislav Malyshev
5b98a09219 Custom object serializer infrastructure
# The detailed announce on the list will follow
2005-02-23 11:15:51 +00:00
Anantha Kesari H Y
8eb3b715d1 NetWare can include autoconf generated config headers 2005-02-22 08:48:33 +00:00
Dmitry Stogov
fd4fe1c8d3 Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name). 2005-02-02 07:19:22 +00:00
foobar
601140cbe9 New versions of glibc support a RTLD_DEEPBIND flag to dlopen. The
effect of this flag when loading a "foo.so" with undefined symbols is
that the search that symbol starts at foo.so and its dependencies
*before* the loading process' global symbol table.

This is an effective workaround for symbol namespace collisions between
various modules and the libraries on which they depend (where fixing the
respective modules or libraries is not possible e.g. due to API
constraints).

(By: Joe Orton)
2005-01-25 13:08:05 +00:00
foobar
2c65e09a4b - Revert the weird change of ZEND_STRS() macro and use the correct
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
Rasmus Lerdorf
2a3ca10a61 Fix OSX DL_UNLOAD macro and actually use it to make shared extensions
work on OSX.
2005-01-10 21:57:30 +00:00
foobar
a139dbf9cc - Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Moriyoshi Koizumi
ae78d7d4bf - Checks for Darwin'ish systems that uses Mach-O, which apparently doesn't
support weak symbol aliasing at this time.
2004-11-03 23:05:18 +00:00
Marcus Boerger
4b10a2562a Bump version (as discussed with Andi) 2004-10-30 22:56:59 +00:00
Marcus Boerger
e0ec7c981e - Fix build 2004-09-26 22:19:57 +00:00
Andi Gutmans
f17aa81edc - Apply Thies and Sterling's patch which doesn't call ctor/dtor functions
- for types which don't require it (BOOL/NULL/LONG/DOUBLE)
- Breaks serialization!!!
2004-09-26 20:03:54 +00:00
Anantha Kesari H Y
ff40ceab56 defined ZEND_PATHS_SEPERATOR to semicolon for NetWare 2004-09-22 12:49:08 +00:00
Zeev Suraski
85a36e2bc3 Fix reverse dependency 2004-09-05 22:40:35 +00:00
Andi Gutmans
7d80f82e70 - Fix MAC OSX to always use native DSO loading 2004-07-28 19:05:40 +00:00
Marcus Boerger
0cd2da0309 - Execute destructors earlier (Florian Schaper, fschaper at intux org) 2004-07-25 07:14:49 +00:00
Andi Gutmans
56f8195fe5 - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
  STR_FREE() and zval_dtor() always have to check for it and it slows down
  the general case. In addition, it seems that empty_string has been abused
  quite a lot, and was used not only for setting zval's but generally in
  PHP code instead of "", which wasn't the intention. Last but not least,
  nuking empty_string should improve stability as I doubt every place
  correctly checked if they are not mistakenly erealloc()'ing it or
  calling efree() on it.
  NOTE: Some code is probably broken. Each extension maintainer should
  check and see that my changes are OK. Also, I haven't had time to touch
  PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Andi Gutmans
c18badbfbf - 5.0.1-dev 2004-07-13 19:56:49 +00:00
Andi Gutmans
399e2ca69f - Roll PHP 5.0.0 2004-07-13 19:05:31 +00:00
Andi Gutmans
0bdbbd379e - Go back to -dev (Shouldn't need another RC) 2004-06-07 18:57:34 +00:00
Andi Gutmans
6f47156228 - Roll RC3 2004-06-07 14:23:45 +00:00
Andi Gutmans
02032ccf9f - Prepare for RC3RC2 2004-06-03 08:17:15 +00:00
Andi Gutmans
e51105c6a6 - Back to RC3-dev until we roll final 2004-05-27 15:03:46 +00:00
Andi Gutmans
5a9d648f1f - RC3RC1 2004-05-27 11:39:35 +00:00
Andi Gutmans
87a9f7bdbb - RC3-dev 2004-04-25 10:13:08 +00:00
Andi Gutmans
94c44ea9eb - RC2 2004-04-25 08:32:50 +00:00
Andi Gutmans
206f0da25a - RC2-dev 2004-04-21 10:34:27 +00:00
Andi Gutmans
40c20d3d72 - Prepare for RC2RC2 (if everything is OK especially Zeev's interface
- patch I'll roll RC2 tomorrow).
2004-04-21 09:59:52 +00:00
Andi Gutmans
245dd7367d - RC2-dev 2004-04-14 11:24:17 +00:00
Andi Gutmans
acc4cd17ce - RC2RC1 2004-04-14 11:03:47 +00:00
Andi Gutmans
1c7cfe739d - Nuke code which hasn't been in use for ages. 2004-04-03 11:09:39 +00:00
Marcus Boerger
5230321731 - Fix Reflection class names
- Add ability to get the extension an internal class was defined in
# This is the patch Andi and me used to search for underscrores...
2004-03-30 18:36:53 +00:00
Andi Gutmans
814000305a - Back to RC2-dev 2004-03-18 15:27:28 +00:00
Zeev Suraski
aac5c1f6c5 Prepare to roll RC1 2004-03-18 14:12:27 +00:00
Derick Rethans
6535933f7c - Replaced the exec_finished hook by the zend_post_deactive hook for
extensions. The new hook will be run after the symbol table and destructors
  are run. (Derick)
2004-03-16 22:27:26 +00:00
Sascha Schumann
b74128db59 Enable ptr format check for GCC 3.1 and higher 2004-03-16 17:35:57 +00:00
Ilia Alshanetsky
365f0120fe Do not allow 3.0.4 for __attribute__. 2004-03-16 16:42:12 +00:00
Ilia Alshanetsky
fa5f52718a Fixed bug #27600 (GCC 3.0.4 does not like __attribute__ directive) 2004-03-16 16:36:54 +00:00
foobar
97f81830b8 - Fixed bug #24582 (extensions can not be loaded dynamically in Solaris/iPlanet) 2004-03-15 16:06:29 +00:00
Marcus Boerger
494d8207fe No longer needed 2004-03-09 15:53:42 +00:00
Hartmut Holzgraefe
1727c6a2bb more EXTERN_C wrapping of ZEND_API prototypes 2004-02-20 08:03:27 +00:00
Hartmut Holzgraefe
3a3f95a399 wrap ZEND_API prototypes into BEGIN_EXTERN_C/END_EXTERN_C
for C++ extension support
2004-02-18 22:44:40 +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
Zeev Suraski
e94e3e1775 Some cleanup 2003-12-14 12:32:02 +00:00
Ilia Alshanetsky
e2012609d6 Fixed extra byte allocation for TRUE/FALSE/ZEND_THREAD_SAFE/NULL constants. 2003-12-11 23:50:13 +00:00
Marcus Boerger
3c62b3b5ac Expand Interface C API.
In short: zend_class_entry->interface_gets_implemented()  allows to modify
the class entry of a class when an interface gets implemented.
2003-10-22 19:59:58 +00:00
Marcus Boerger
b0b82541e8 Fix class/iterator relationship & handling 2003-10-18 18:43:31 +00:00
Marcus Boerger
25aa8b715e Added c-api for iterators
# After 4 Month work and endless discussions...
2003-10-17 17:19:44 +00:00
Moriyoshi Koizumi
149f786025 Bug #25738 (alloca() related problems on the Darwin platform) 2003-10-03 22:02:55 +00:00
Marcus Boerger
1c86e53204 Bugfix #25528 (by Ard Biesheuvel) 2003-09-14 01:20:25 +00:00
Marcus Boerger
d45fd8a1b1 Make vspprintf available as zend utility function. Use it in exception output. 2003-08-31 09:35:54 +00:00