Pierre Joye
d198853416
- revert last commit, breaks the build and needs test case(s)
2009-09-06 15:56:58 +00:00
Moriyoshi Koizumi
e3c94d503a
- Fix leaks.
2009-09-06 14:43:09 +00:00
Scott MacVicar
c54f6df978
Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code.
2009-08-06 01:33:54 +00:00
Rasmus Lerdorf
a7cc9e7274
Need the gcc version check here too
2009-06-17 08:55:23 +00:00
Rasmus Lerdorf
04f5d7c909
There is no always_inline attribute in gcc2
2009-06-05 22:14:21 +00:00
Nuno Lopes
95ef46c034
fix compiler warnings by moving all std includes after include of zend_config.h.
...
this also fixes the build with stricter compilers than gcc (like clang)
2009-06-01 17:51:53 +00:00
Arnaud Le Blanc
2403a58011
MFH: better fix for #48409 , #48428 , #48228
2009-06-01 15:07:42 +00:00
Matt Wilmas
6bb0ac9712
MFH: Fixed bug #45877 (Array key '2147483647' left as string)
2009-03-18 01:08:12 +00:00
Dmitry Stogov
d3d02fbc83
Fixed zend_print_zval_r_ex() to use the write callback function
2009-02-18 10:55:08 +00:00
Marcus Boerger
2faea53de2
- Sync with HEAD, no ability to not start builtin functions
2008-12-31 14:05:22 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Stanislav Malyshev
1b4134c07b
Namespace resolution streamlining patch
...
[DOC] new resolution rules should be documented soon
2008-11-11 19:45:29 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00
Marcus Boerger
106864bcbb
- MFH Fix memleak with new error handling stack'ing
2008-08-11 17:19:20 +00:00
Marcus Boerger
3f7a4b7e90
- MFH error handling, now with save, replace, restore
2008-08-08 17:47:31 +00:00
Dmitry Stogov
d5ef2f466c
Added support for lambda functions and closures
2008-07-14 09:49:03 +00:00
Stanislav Malyshev
148463ccd3
enable on MSVC too
2008-06-27 18:44:39 +00:00
Stanislav Malyshev
019fd806a0
allow deprecating engine functions
2008-06-27 00:01:25 +00:00
Dmitry Stogov
76a9a42ee2
- Removed direct executor recursion.
...
- Use fastcall calling convention in executor on x86.
2008-06-11 13:18:41 +00:00
Rasmus Lerdorf
10afe5d96b
Make the sigsetjmp change more robust. On systems that don't have
...
sigsetjmp use setjmp. Windows is of course weird in that it seems to
have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in
config.w32.h.in
2008-03-18 21:14:28 +00:00
Rasmus Lerdorf
c9e0781d2a
Use sigsetjmp and siglongjmp instead of setjmp/longjmp in order to be
...
consistent in how we deal with the signal mask. POSIX doesn't specify
what to do with the signal mask in setjmp/longjmp which has resulted in
the signal mask getting saved on *BSD and not getting saved on Linux.
Making the behaviour explicit via sigsetjmp/siglongjmp gives us
consistency and saves expensive sigprocmask() syscalls on *BSD.
2008-03-18 18:34:11 +00:00
Felipe Pena
fd0d44f0a7
User error handlers no longer catch supressed errors (patch by Etienne Kneuss)
2008-03-08 21:54:03 +00:00
Dmitry Stogov
ab232458c7
Optimized require_once() and include_once() by eliminationg open() syscall on second usage.
2008-03-05 13:34:12 +00:00
Dmitry Stogov
71592cec06
Added garbage collector
2008-01-22 09:27:48 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
70bf5468de
Fixed compilation on Windows
2007-11-23 15:03:03 +00:00
Dmitry Stogov
4ab8d46ddd
Fixed definitions
2007-11-23 13:38:32 +00:00
Dmitry Stogov
648fbe9d58
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:27:13 +00:00
Dmitry Stogov
caa15f0291
Macro definitions are moved to zend.h
2007-11-21 14:55:41 +00:00
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