1
0
Fork 0
Commit Graph

297 Commits (638209cbf9a5dcf1184481e5e6579601474ecff3)

Author SHA1 Message Date
Xuefer 90b1153d9e revert opt out of included_files handling. still required by require()/include(). make it work for new sandbox handling
11 years ago
Xuefer 0ff7cf4906 fixed #283: XCache admin APIs (admin page) cause SEGV if XCache failed to initize
11 years ago
Xuefer 358a4427c1 adds to open_files whenever old_compile_file is not called
11 years ago
Xuefer dabdfe1dc5 <=PHP_5_2 duplicate error message failed to include file
11 years ago
Xuefer 5689b6b09c fix assert for !__DIR__
11 years ago
Xuefer 831bc07e2d restore open_files handling, it is required. disable included_files which is real EG since PHP 5_2
11 years ago
Xuefer fe16be2053 stat on resolved path
11 years ago
Xuefer 0a6b7b83af BC refcount for now
11 years ago
Xuefer 3bdc023bcf no need to add to open_files
11 years ago
Xuefer f5672a77eb finished sandbox rewrite
11 years ago
Xuefer ac328888f0 still WIP: rewrite sandbox to use callback
11 years ago
Xuefer 0731922a6e change misses to updates. misses is kept for compatibility reason but deprecated
11 years ago
Xuefer 8de45373f4 refcount is no longer available for var cache
11 years ago
Xuefer 072acc9da1 xc_resolve_path for better name. call util/coverager destroy first
11 years ago
Xuefer bb6bf2ba54 uses MiniDumpWithIndirectlyReferencedMemory
11 years ago
Xuefer b99fe43f25 fix version stuff
11 years ago
Xuefer 7871ef9b77 kill sign mismatch warning
11 years ago
Xuefer e1075d12e9 collect more info in minidump
11 years ago
Xuefer 6ae47f3a02 fix version string in core dump filename
11 years ago
Xuefer e650948e58 fix dbghelp version check
11 years ago
Xuefer 282834a775 kill sign/const warning
11 years ago
Xuefer ec7f54687d fix coredump path should be xcache.coredump_directory
11 years ago
Xuefer eefa931598 code clean up
11 years ago
Xuefer 8f07263463 crash dump support for windows
11 years ago
Xuefer a8046018da fixed #281: changing zend_error may left unclean set up when timeout occur; zend_error is not thread local
11 years ago
Xuefer dd0f96a141 fixed #279: segv on cache full
11 years ago
Xuefer 89d82663c1 adds xcache.admin.enable_auth
11 years ago
Xuefer 9c4d0397d8 tsrmls fix
11 years ago
Xuefer 538b695ce9 use _unlocked suffix for function name instead of _dmz
11 years ago
Xuefer c6bfabcad7 use _unlocked suffix for function name instead of _dmz
11 years ago
Xuefer f4df9ff62c fix warning
11 years ago
Xuefer 8e1a1e6895 missing zero terminator for filename
11 years ago
Xuefer 547432694c get :// include_path right or dont cache
11 years ago
Xuefer 24bb20e3dc fix opened_path for when stat=1
11 years ago
Xuefer c82a4d43d5 include path lookup in cache
11 years ago
Xuefer 539fb947e4 is non-unicode only; prepare for handling include_path + stat=0; project state is now unstable
11 years ago
Xuefer 47d4c8a968 xce->entry rename
11 years ago
Xuefer a51bea945b handle opened_path in 1 place
11 years ago
Xuefer fa14a446a1 fix previous wrong change on is_autoglobal
11 years ago
Xuefer 0a419538bf add is_autoglobal test
11 years ago
Xuefer e5d9c15063 kill warnings
11 years ago
Xuefer 4bd9441522 expand_path for __DIR__ __FILE__ support
11 years ago
Xuefer 65664ce97e var set/get/inc/dec tests
11 years ago
Xuefer 6159ca6aba fix trace
11 years ago
Xuefer 06f64aa1eb store entry_var_t
11 years ago
Xuefer 64de704dbf remove type/cache/hvalue from cached copy to reduce memory usage a little bit
11 years ago
Xuefer e391b0f205 more readability cache property. reduce memory footprint for data caching
11 years ago
Xuefer bfb351bc56 fix md5 digest
11 years ago
Xuefer 9579c77164 fix build for <=PHP_5_2, optimize dirname call
11 years ago
Xuefer e5943a11f7 kill most const warning
11 years ago
Xuefer 2ccf0e5dbf copy md5 digest correctly in notmemcpy mode
11 years ago
Xuefer 02fd7e8f97 fix __DIR__ __FILE__ handling in literal. path resolve is still in todo
11 years ago
Xuefer 6fbbefbafc avoid zend_alter_ini_entry which is execute time
11 years ago
Xuefer 79015d6a30 fix build: ISREF undefined in <=PHP_5_2
12 years ago
Xuefer 90ccdadc54 Decompiler: handle closure use()
12 years ago
Xuefer b5ecc94497 prepare for use()
12 years ago
Xuefer fcf274966f check return value to avoid gcc warning
12 years ago
Xuefer 6e7edfd240 30 seconds timeout for clog checking
12 years ago
Xuefer e2a871ec76 PHP_6: prepared in literal way for __FILE__ __DIR__ fix up
12 years ago
Xuefer 4271653af9 PHP 6: initial catch up with php 6 literals and trait
12 years ago
Xuefer 7471acdf96 disassembler: refix previous partial
12 years ago
Xuefer 75435ff3aa fix --disable-xcache-constant
12 years ago
Xuefer d6415196ef fix segv on shutdown when ionCube Loader is loaded
12 years ago
Xuefer f1143e68cb update op_array->filename for hard link restoring
14 years ago
Xuefer 8162dbddd8 initize file/dir path
14 years ago
Xuefer 71b947670f remove debug code
14 years ago
Xuefer 6aaae80e38 the logic of implemenation of dir/file path fixing was wrong. file/dir path should be cached before hardlink
14 years ago
Xuefer 5ae2aa9167 avoid crash by dirpath/filepath on parser error
14 years ago
Xuefer 15d74bace5 remove superfluous code about auto_globals
14 years ago
Xuefer e5286342a9 closes #225, unset by prefix
14 years ago
Xuefer d525f2b070 fix #224, support more than 2G on 64bit arch
14 years ago
Xuefer 315914c5d4 move and add back compatibile function to utils.c
14 years ago
Xuefer e573fb3161 fix build for win32
14 years ago
Xuefer 86ca8105aa use XCACHE_ERROR_CACHING macro to simplify ifdefs
14 years ago
Xuefer 38569c559e back patch !__FILE__ and !__DIR__ on cache restore
14 years ago
Xuefer 2426df47f4 fix stat() for relative file not in include_path but in current executing file directory (only for when inode available)
14 years ago
Xuefer 4f1ec33902 use zend_llist instead of HashTable for gc_op_arrays
14 years ago
Xuefer c2df47c060 remove warning about unreferenced local variable
14 years ago
Xuefer 4dbfbd7e1e also cache/reproduce E_DEPRECATED
14 years ago
Xuefer bc2a3aa184 copy only internal constant, clean constant on shutdown
14 years ago
Xuefer 8244810842 PHP_6: incompatible pointer size_t *
14 years ago
Xuefer c553ca6262 PHP_6: fix build
14 years ago
Xuefer c7adf58d1c add () suggested by gcc
14 years ago
Xuefer 010293a523 handle compile time new constant. fixed #208: null as default value for parameters with array type hint produces a fatal error
14 years ago
Xuefer 196ad101f3 [571] was a wrong fix
15 years ago
Xuefer 7293c3f9c2 check for file size to be consistent
15 years ago
Xuefer f39afa916d disable XCache for cli correctly
15 years ago
Xuefer 430f921aa6 fixed #183: fix for some assert.h that conflict with php.h NDEBUG stuffs
15 years ago
Xuefer ece92b1cf4 fix build for win32
15 years ago
Xuefer 2e156fb758 PHP_6: upstream api changed, fix build
15 years ago
Xuefer f9a44682c1 better readability
15 years ago
Xuefer fa9c06ac40 fix build for PHP_4
15 years ago
Xuefer bedd56400a PHP_5_3 support: uses ZEND_COMPILE_IGNORE_INTERNAL_CLASSES and ZEND_COMPILE_DELAYED_BINDING stuffs for PHP_5_3 support finally
15 years ago
Xuefer 3a8c3df32f more verbose and user friendly error/warning note
15 years ago
Xuefer 44c2500829 memory leak after using php_basename
15 years ago
Xuefer 2a1d287e53 renamed DEBUG to XCACHE_DEBUG due to conflict to ext/date
15 years ago
Xuefer 9ab7d49b71 fix false assertion
15 years ago
Xuefer 0d789678e8 depends php_date for phpinfo
15 years ago
Xuefer d99f42c511 fixed #83: hash files with same basename into same cache split for better uniq cache
15 years ago
Xuefer e4fbbf54a8 added cache init time and instance id
15 years ago