Changeset 562 in svn for trunk


Ignore:
Timestamp:
2008-08-17T12:52:42+02:00 (7 years ago)
Author:
Xuefer
Message:

5.3 support, merge news from 1.2

Location:
trunk
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r500 r562  
    66ChangeLog
    77========
     8 * fixed #102: segv when var cacher is too small
     9 * fixed #55: segv php tokenizer on certain special situation
    810 * 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
     141.3.0 2008-?-?
     15== ChangeLog ==
     16 * PHP 5.3 support
     17
     181.2.2 2007-12-29
     19== ChangeLog ==
    920 * added module dependency
    1021 * live with wrong system time: allow caching files with mtime in further
    1122 * 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
     271.2.1 2007-07-01
     28== Ini Settings Changes ==
     29 * new: xcache.admin.enable_auth = On
     30
     31== ChangeLog ==
    1532 * #86: remove/edit variable in admin page
    16  * fixed #102: segv when var cacher is too small
    17  * fixed #55: segv php tokenizer on certain special situation
    1833 * fixed #109: fast inc/dec was trying to break ro protection
    1934 * fixed #101, #105: Fixed compatibility issue for apache 1.x
     
    2136 * fixed #92: Zend Optimizer compatibility issue
    2237 * fixed #77: hits/misses was not updated
     38 * fixed #59: pass by reference for internal function was broken
    2339 * fixed #56: xcache_set segfaults when xcache.var_size=0
    2440
  • trunk/NEWS

    r451 r562  
    112.0.0 2007-?-?
     2== ChangeLog ==
     3
     41.3.0 2008-?-?
     5== ChangeLog ==
     6 * PHP 5.3 support
     7
     81.2.2 2007-12-29
    29========
     10 * live with wrong system time: allow caching files with mtime in further
    311 * bug fix for compatibility with Zend Optimizer and other non-cachable
    412 * a rare segv bug with token_get_all
     13 * minor bug fixes
     14
     151.2.1 2007-07-01
     16========
    517 * compatibility fix for apache 1.x, which init XCache module correctly
    618 * full Zend Optimizer compatibility
     19 * ini settings changed
     20 * other bug fixes
    721
    8221.2.0 2006-12-10
  • trunk/const_string.c

    r508 r562  
    6464#if PHP_MAJOR_VERSION >= 6
    6565#   include "const_string_opcodes_php6.x.h"
    66 #elif defined(ZEND_ENGINE_2_3)
    67 #   include "const_string_opcodes_php5.3.h"
    6866#elif defined(ZEND_ENGINE_2_1)
    6967#   include "const_string_opcodes_php5.1.h"
  • trunk/const_string_opcodes_php5.1.h

    r393 r562  
    1 /* size = 150 */
     1/* size = 153 */
    22static const char *const xc_opcode_names[] = {
    33/* 0 */ "NOP",
     
    7070/* 67 */    "SEND_REF",
    7171/* 68 */    "NEW",
    72 /* 69 */    "UNDEF",
     72/* 69 */    "INIT_NS_FCALL_BY_NAME",
    7373/* 70 */    "FREE",
    7474/* 71 */    "INIT_ARRAY",
     
    101101/* 98 */    "FETCH_DIM_TMP_VAR",
    102102/* 99 */    "FETCH_CONSTANT",
    103 /* 100 */   "UNDEF",
     103/* 100 */   "GOTO",
    104104/* 101 */   "EXT_STMT",
    105105/* 102 */   "EXT_FCALL_BEGIN",
     
    144144/* 141 */   "DECLARE_FUNCTION",
    145145/* 142 */   "RAISE_ABSTRACT_ERROR",
    146 /* 143 */   "UNDEF",
     146/* 143 */   "DECLARE_CONST",
    147147/* 144 */   "ADD_INTERFACE",
    148 /* 145 */   "UNDEF",
     148/* 145 */   "DECLARE_INHERITED_CLASS_DELAYED",
    149149/* 146 */   "VERIFY_ABSTRACT_CLASS",
    150150/* 147 */   "ASSIGN_DIM",
    151151/* 148 */   "ISSET_ISEMPTY_PROP_OBJ",
    152152/* 149 */   "HANDLE_EXCEPTION",
    153 /* 150 */   "USER_OPCODE"
     153/* 150 */   "USER_OPCODE",
     154/* 151 */   "UNDEF",
     155/* 152 */   "JMP_SET",
     156/* 153 */   "DECLARE_LAMBDA_FUNCTION"
    154157};
  • trunk/const_string_opcodes_php6.x.h

    r510 r562  
    1 /* size = 152 */
     1/* size = 153 */
    22static const char *const xc_opcode_names[] = {
    33/* 0 */ "NOP",
     
    146146/* 143 */   "DECLARE_CONST",
    147147/* 144 */   "ADD_INTERFACE",
    148 /* 145 */   "UNDEF",
     148/* 145 */   "DECLARE_INHERITED_CLASS_DELAYED",
    149149/* 146 */   "VERIFY_ABSTRACT_CLASS",
    150150/* 147 */   "ASSIGN_DIM",
     
    153153/* 150 */   "USER_OPCODE",
    154154/* 151 */   "U_NORMALIZE",
    155 /* 152 */   "JMP_SET"
     155/* 152 */   "JMP_SET",
     156/* 153 */   "DECLARE_LAMBDA_FUNCTION"
    156157};
  • trunk/prepare.devel

    r485 r562  
    2828    make_const_string_opcodes_php5.0.h
    2929    make_const_string_opcodes_php5.1.h
    30     make_const_string_opcodes_php5.3.h
    3130    make_const_string_opcodes_php6.x.h
    3231}
     
    4746make_const_string_opcodes_php5.1.h() {
    4847    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"
    5348}
    5449
  • trunk/processor/processor.m4

    r548 r562  
    618618    COPY(start_op)
    619619    DISPATCH(int, backpatch_count)
     620#ifdef ZEND_ENGINE_2_3
     621    DISPATCH(zend_uint, this_var)
     622#endif
    620623
    621624    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)
    623627    DISPATCH(zend_bool, uses_this)
    624628#endif
  • trunk/xcache.h

    r550 r562  
    5252#endif
    5353#ifndef Z_SET_ISREF
    54 #   define Z_SET_ISREF(z) (z).is_ref = 1;
     54#   define Z_SET_ISREF(z) (z).is_ref = 1
    5555#endif
    5656#ifndef Z_UNSET_ISREF
    57 #   define Z_UNSET_ISREF(z) (z).is_ref = 0;
     57#   define Z_UNSET_ISREF(z) (z).is_ref = 0
    5858#endif
    5959#ifndef Z_SET_REFCOUNT
    60 #   define Z_SET_REFCOUNT(z, rc) (z).refcount = rc;
     60#   define Z_SET_REFCOUNT(z, rc) (z).refcount = rc
    6161#endif
    6262#ifndef IS_CONSTANT_TYPE_MASK
Note: See TracChangeset for help on using the changeset viewer.