Commit Graph

362 Commits

Author SHA1 Message Date
Arnaud Le Blanc
08ec0b3146 Ported rfc1867 hooks to HEAD 2008-09-06 08:27:38 +00:00
Felipe Pena
2985b4f9e3 - Removed some TSRMLS_FETCH()s 2008-08-15 19:45:25 +00:00
Felipe Pena
a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Marcus Boerger
320c954402 - Fix memleak with new error handling stack'ing 2008-08-11 17:19:01 +00:00
Marcus Boerger
aea4ea120f - Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
  because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
  appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
  seems to be fine.
2008-08-10 21:52:05 +00:00
Marcus Boerger
034d2e5916 - Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
  to save/restore in the vm.
2008-08-08 17:10:49 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Stanislav Malyshev
3143e62b80 enable on MSVC too 2008-06-27 18:45:15 +00:00
Stanislav Malyshev
5e93e9164e MFB: allow to deprecate engine functions 2008-06-27 01:24:08 +00:00
Dmitry Stogov
b8d7c7e91d - Removed direct executor recursion.
- Use fastcall calling convention in executor on x86.
2008-06-11 13:19:14 +00:00
Rasmus Lerdorf
b911467d1d MFB
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Felipe Pena
3a3ebace1c MFB: User error handlers no longer catch supressed errors (patch by Etienne Kneuss) 2008-03-08 22:03:21 +00:00
Dmitry Stogov
c8b1dbff23 Optimized require_once() and include_once() by eliminationg open() syscall on se
cond usage.
2008-03-05 13:35:02 +00:00
Dmitry Stogov
6847c18150 Added garbage collector 2008-01-22 09:29:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
17c6007445 Fixed compilation on Windows 2007-11-23 15:02:50 +00:00
Dmitry Stogov
cfd49894f9 Fixed definitions 2007-11-23 13:38:44 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Dmitry Stogov
a5f9d8bad2 Macro definitions are moved to zend.h 2007-11-21 14:55:51 +00:00
Dmitry Stogov
ec999516f8 Fixed compilation on some systems (Wez) 2007-11-20 10:19:27 +00:00
Jani Taskinen
52ad681539 - WS + CS + use Z macros where possible 2007-11-02 15:59:58 +00:00
Dmitry Stogov
860fd6fd2b Reimplemented support for namespaces in indexes id constant arrays (removed zval.idx_type) 2007-11-02 10:11:59 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
19d7fed62d Fixed bug #42819 (namespaces in indexes of constant arrays) 2007-10-02 08:27:19 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Johannes Schlüter
4a19c90d4f - Allow binary strings as method name in $class::$method(), fixes
tests/lang/044.phpt (Etienne Kneuss)
2007-08-30 14:48:39 +00:00
Dmitry Stogov
611abb17fc Namespace constants 2007-08-24 13:50:52 +00:00
Sara Golemon
b1bc911cee Add support got zend_class_entry->get_static_method() and matching __callStatic() userspace method @doc 2007-07-21 05:27:07 +00:00
Antony Dovgal
5ff229034f fix build on Tru64 2007-04-26 19:08:24 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Marcus Boerger
7acd10fb2c - Make custom serializing work with zstr (as discussed with andrei) 2006-12-22 00:29:11 +00:00
Marcus Boerger
89496ce1e6 - Implement zend_zstrndup() 2006-12-20 20:12:11 +00:00
Andrei Zmievski
75c272440e Turn doc comments into zstr strings with corresponding adjustments. 2006-10-27 21:22:05 +00:00
Andrei Zmievski
6d38ea2988 Optimize ZEND_U_CASE_EQUAL() and move it to the header file. 2006-10-16 21:13:13 +00:00
Sara Golemon
d666c05427 PHP6 Update for get_included_files() and export of path decode for Zend 2006-10-03 16:28:02 +00:00
Dmitry Stogov
5adb0b309f Reinamed variables to avoid name conflicts 2006-09-14 10:32:57 +00:00
Dmitry Stogov
c021824fc1 Fixed bug #38287 (static variables mess up global vars) 2006-08-07 15:15:36 +00:00
Andrei Zmievski
8ee838b4ec It's not legacy - it's binary. 2006-07-21 23:37:15 +00:00
Andrei Zmievski
ed77c07a35 Commit Sara's patch for supporting filesystem enccoding in
include/require.
2006-07-12 17:04:13 +00:00
Andrei Zmievski
8eb6c59e10 Be more explicit. 2006-06-12 17:06:39 +00:00
Dmitry Stogov
ab9e070bbf Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:11:02 +00:00
Marcus Boerger
4bfc5ff54c - MFB WS/CS, zend_spprintf() must not be exported 2006-05-09 21:30:11 +00:00
Andrei Zmievski
d72d277d32 Oops again. 2006-05-04 21:29:21 +00:00
Andrei Zmievski
534cad7064 Add a global ASCII connverter, macros to return single codepoints
(UCHAR32), and zend_unicode_to_ascii() function.
2006-05-04 21:22:17 +00:00
Antony Dovgal
eea22a0ffa MF51: fix compilation on AIX 2006-03-30 21:39:15 +00:00
Dmitry Stogov
663ba73ca2 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:19 +00:00
Johannes Schlüter
1ed7db0e3b - Fix typo 2006-03-03 09:56:47 +00:00
Dmitry Stogov
3413d5df40 Fixed compilation on FreeBSD with gcc-3.2 2006-02-28 18:34:58 +00:00
Dmitry Stogov
e3b7f3fd0d Unicode support: MS Visual C compatibility 2006-02-26 11:57:14 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00