Changeset 562
- Timestamp:
- 08/17/2008 10:52:42 AM (4 months ago)
- Location:
- trunk
- Files:
-
- 1 removed
- 8 modified
-
ChangeLog (modified) (2 diffs)
-
NEWS (modified) (1 diff)
-
const_string.c (modified) (1 diff)
-
const_string_opcodes_php5.1.h (modified) (4 diffs)
-
const_string_opcodes_php5.3.h (deleted)
-
const_string_opcodes_php6.x.h (modified) (3 diffs)
-
prepare.devel (modified) (2 diffs)
-
processor/processor.m4 (modified) (1 diff)
-
xcache.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r500 r562 6 6 ChangeLog 7 7 ======== 8 * fixed #102: segv when var cacher is too small 9 * fixed #55: segv php tokenizer on certain special situation 8 10 * compiler errors: all compiler warning (E_STRICT only currently) is now cached and is supported for user handler 11 * could not show module info in admin page when XCache is the last module 12 * wrong http auth realm 13 14 1.3.0 2008-?-? 15 == ChangeLog == 16 * PHP 5.3 support 17 18 1.2.2 2007-12-29 19 == ChangeLog == 9 20 * added module dependency 10 21 * live with wrong system time: allow caching files with mtime in further 11 22 * bug fix for compatibility with Zend Optimizer and other non-cachable 12 * new: xcache.stat = On 13 * could not show module info in admin page when XCache is the last module 14 * wrong http auth realm 23 * #59: Maximum execution time of 60 seconds exceeded 24 * #102: segv when var cacher is too small 25 * #55: segv php tokenizer on certain special situation 26 27 1.2.1 2007-07-01 28 == Ini Settings Changes == 29 * new: xcache.admin.enable_auth = On 30 31 == ChangeLog == 15 32 * #86: remove/edit variable in admin page 16 * fixed #102: segv when var cacher is too small17 * fixed #55: segv php tokenizer on certain special situation18 33 * fixed #109: fast inc/dec was trying to break ro protection 19 34 * fixed #101, #105: Fixed compatibility issue for apache 1.x … … 21 36 * fixed #92: Zend Optimizer compatibility issue 22 37 * fixed #77: hits/misses was not updated 38 * fixed #59: pass by reference for internal function was broken 23 39 * fixed #56: xcache_set segfaults when xcache.var_size=0 24 40 -
trunk/NEWS
r451 r562 1 1 2.0.0 2007-?-? 2 == ChangeLog == 3 4 1.3.0 2008-?-? 5 == ChangeLog == 6 * PHP 5.3 support 7 8 1.2.2 2007-12-29 2 9 ======== 10 * live with wrong system time: allow caching files with mtime in further 3 11 * bug fix for compatibility with Zend Optimizer and other non-cachable 4 12 * a rare segv bug with token_get_all 13 * minor bug fixes 14 15 1.2.1 2007-07-01 16 ======== 5 17 * compatibility fix for apache 1.x, which init XCache module correctly 6 18 * full Zend Optimizer compatibility 19 * ini settings changed 20 * other bug fixes 7 21 8 22 1.2.0 2006-12-10 -
trunk/const_string.c
r508 r562 64 64 #if PHP_MAJOR_VERSION >= 6 65 65 # include "const_string_opcodes_php6.x.h" 66 #elif defined(ZEND_ENGINE_2_3)67 # include "const_string_opcodes_php5.3.h"68 66 #elif defined(ZEND_ENGINE_2_1) 69 67 # include "const_string_opcodes_php5.1.h" -
trunk/const_string_opcodes_php5.1.h
r393 r562 1 /* size = 15 0*/1 /* size = 153 */ 2 2 static const char *const xc_opcode_names[] = { 3 3 /* 0 */ "NOP", … … 70 70 /* 67 */ "SEND_REF", 71 71 /* 68 */ "NEW", 72 /* 69 */ " UNDEF",72 /* 69 */ "INIT_NS_FCALL_BY_NAME", 73 73 /* 70 */ "FREE", 74 74 /* 71 */ "INIT_ARRAY", … … 101 101 /* 98 */ "FETCH_DIM_TMP_VAR", 102 102 /* 99 */ "FETCH_CONSTANT", 103 /* 100 */ " UNDEF",103 /* 100 */ "GOTO", 104 104 /* 101 */ "EXT_STMT", 105 105 /* 102 */ "EXT_FCALL_BEGIN", … … 144 144 /* 141 */ "DECLARE_FUNCTION", 145 145 /* 142 */ "RAISE_ABSTRACT_ERROR", 146 /* 143 */ " UNDEF",146 /* 143 */ "DECLARE_CONST", 147 147 /* 144 */ "ADD_INTERFACE", 148 /* 145 */ " UNDEF",148 /* 145 */ "DECLARE_INHERITED_CLASS_DELAYED", 149 149 /* 146 */ "VERIFY_ABSTRACT_CLASS", 150 150 /* 147 */ "ASSIGN_DIM", 151 151 /* 148 */ "ISSET_ISEMPTY_PROP_OBJ", 152 152 /* 149 */ "HANDLE_EXCEPTION", 153 /* 150 */ "USER_OPCODE" 153 /* 150 */ "USER_OPCODE", 154 /* 151 */ "UNDEF", 155 /* 152 */ "JMP_SET", 156 /* 153 */ "DECLARE_LAMBDA_FUNCTION" 154 157 }; -
trunk/const_string_opcodes_php6.x.h
r510 r562 1 /* size = 15 2*/1 /* size = 153 */ 2 2 static const char *const xc_opcode_names[] = { 3 3 /* 0 */ "NOP", … … 146 146 /* 143 */ "DECLARE_CONST", 147 147 /* 144 */ "ADD_INTERFACE", 148 /* 145 */ " UNDEF",148 /* 145 */ "DECLARE_INHERITED_CLASS_DELAYED", 149 149 /* 146 */ "VERIFY_ABSTRACT_CLASS", 150 150 /* 147 */ "ASSIGN_DIM", … … 153 153 /* 150 */ "USER_OPCODE", 154 154 /* 151 */ "U_NORMALIZE", 155 /* 152 */ "JMP_SET" 155 /* 152 */ "JMP_SET", 156 /* 153 */ "DECLARE_LAMBDA_FUNCTION" 156 157 }; -
trunk/prepare.devel
r485 r562 28 28 make_const_string_opcodes_php5.0.h 29 29 make_const_string_opcodes_php5.1.h 30 make_const_string_opcodes_php5.3.h31 30 make_const_string_opcodes_php6.x.h 32 31 } … … 47 46 make_const_string_opcodes_php5.1.h() { 48 47 precheck const_string_opcodes_php5.1.h "${PHP5_1_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O" 49 }50 51 make_const_string_opcodes_php5.3.h() {52 precheck const_string_opcodes_php5.3.h "${PHP5_3_DIR}/Zend/zend_vm_def.h" && "$AWK" -f ./mkopcode.awk < "$I" > "$O.tmp" && mv "$O.tmp" "$O"53 48 } 54 49 -
trunk/processor/processor.m4
r548 r562 618 618 COPY(start_op) 619 619 DISPATCH(int, backpatch_count) 620 #ifdef ZEND_ENGINE_2_3 621 DISPATCH(zend_uint, this_var) 622 #endif 620 623 621 624 DISPATCH(zend_bool, done_pass_two) 622 #ifdef ZEND_ENGINE_2 625 /* 5.0 <= ver < 5.3 */ 626 #if defined(ZEND_ENGINE_2) && !defined(ZEND_ENGINE_2_3) 623 627 DISPATCH(zend_bool, uses_this) 624 628 #endif -
trunk/xcache.h
r550 r562 52 52 #endif 53 53 #ifndef Z_SET_ISREF 54 # define Z_SET_ISREF(z) (z).is_ref = 1 ;54 # define Z_SET_ISREF(z) (z).is_ref = 1 55 55 #endif 56 56 #ifndef Z_UNSET_ISREF 57 # define Z_UNSET_ISREF(z) (z).is_ref = 0 ;57 # define Z_UNSET_ISREF(z) (z).is_ref = 0 58 58 #endif 59 59 #ifndef Z_SET_REFCOUNT 60 # define Z_SET_REFCOUNT(z, rc) (z).refcount = rc ;60 # define Z_SET_REFCOUNT(z, rc) (z).refcount = rc 61 61 #endif 62 62 #ifndef IS_CONSTANT_TYPE_MASK

