1
0
Fork 0
Commit Graph

297 Commits (638209cbf9a5dcf1184481e5e6579601474ecff3)

Author SHA1 Message Date
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
Xuefer 1917ea0de4 status header is more reasonable to be 1st
15 years ago
Xuefer df36790c6a exports xcache_dprint() to php script for debugging purpose
15 years ago
Xuefer 38643f8e5c slide hits per second and hour
15 years ago
Xuefer de6e17cf40 fixed #138: no segv if cache is not initialized correctly
15 years ago
Xuefer 470c2fcee8 PHP_4: fix build
15 years ago
Xuefer 7dcd2de319 optimized function_table/class_table by caching hash value
15 years ago
Xuefer b36dbed007 PHP_6: updated support
15 years ago
Xuefer 5b6d472b1d constinfos cannot be fast copied
15 years ago
Xuefer 5197de4739 clean shutdown
15 years ago
Xuefer 6acd2447dd kill warning
15 years ago
Xuefer 7e8177b1d5 don't catch compiler error, just warnings
15 years ago
Xuefer 6c747e7378 PHP_5_3: deep copy arg_info which is modified by executor
15 years ago
Xuefer 52c01c2e35 fixed #157: support user error handler for E_STRICT. E_STRICT is now cached
15 years ago
Xuefer 1d225c1885 shallow copy for some compiler result infos
15 years ago
Xuefer 0d656f2095 merged r490 from b1.2: added module dependency, thanks to Cristian Rodriguez
15 years ago
Xuefer 4ac98a4163 typo issue
15 years ago
Xuefer b038eb84c3 fix unused variable warning
15 years ago
Xuefer b96c159e8e 5.3 support
15 years ago
Xuefer 04ce5c5466 opcodes data is copied but not the op_array. use op_array_handler instead
16 years ago
Xuefer d807b0ea32 oops
16 years ago
Xuefer 6dca4feae6 merged [471] from b1.2: live with wrong system time: allow caching files with mtime in further
16 years ago
Xuefer c9e233fb73 merged r465 from b1.2: fixed #102, Segmentation fault with xcache.var_size=1K
16 years ago
Xuefer c3035478ef fixed #133: add "compile failures" in XCache admin stats
16 years ago
Xuefer 71adde3e60 fix wrong merge in [996] and [451], [454]
16 years ago
Xuefer 0f8c5fd2bf merged [453] from b1.2: for non cachable files, they just wont be cached. we shound't scare the users with high misses
16 years ago
Xuefer 4953a17ea3 merged [449] from turnk: fix compiling state after compiling non cachable files, thanks PatrickDK
16 years ago
Xuefer 266bddbfb9 the missing piece merging from [408]
16 years ago
Xuefer e13b693a38 fixed #55: crashes php tokenizer on certain special situation
16 years ago
Xuefer 8026a10476 5.2-non-zts build fix
16 years ago
Xuefer 4a2a8a9ac6 copy internal table correctly, refix #59 which is broken by [429]
16 years ago
Xuefer 1f1be4a9c6 merged [431] from b1.2: fast inc/dec was trying to break ro protection
16 years ago
Xuefer a29a43eb1f refix #101, apache1 segv with non-zts php+XCache
16 years ago
Xuefer 4a41eef22e merged [423] from b1.2: fixed #101, #105: Fixed compatibility issue for apache 1.x
16 years ago
Xuefer efbacfb22c fixed #94, gc was disabled when xcache.cacher set to off
16 years ago
Xuefer 49984336de full ZendOptimizer compatibility
16 years ago
Xuefer 9405bc5579 init global variables
16 years ago
Xuefer beefac2f6b s/origin_compile_file/old_compile_file/g
16 years ago
Xuefer ed9329efb1 fix invalid read of free'ed data for hide-and-seek trick. possible fix version string
16 years ago
Xuefer 8f801199f8 added xcache.experimental for use to turn on experimental features
16 years ago
Xuefer 4aa7c33b6b fixed #96, wrong format string for sprintf
16 years ago
Xuefer cc3b18e95b clean shutdown
16 years ago
Xuefer 3cf6e27ead ws fix
16 years ago
Xuefer 678806fda7 fix wrong http auth realm quoting
16 years ago
Xuefer 437ec60e20 fixed #77, was not updating hits/misses for var cache
16 years ago
Xuefer 5f738c36cf fixed #80: avoid negetive GC count down
16 years ago
Xuefer f4688ad313 show hash value in admin
16 years ago
Xuefer 7d409960c9 merged from 1.2: fix for #71, fix inode hvalue issue by better hashing
16 years ago
Xuefer 04c478d413 fixed #67, to success compile on OOM
16 years ago
Xuefer 69120fa668 copy function/class table correctly by using add_ref
16 years ago
Xuefer bf38b8775c copy internal functions/classes into sandbox, they're needed by compiler
16 years ago
Xuefer 88ac27962f trunk: merged [339]: remove unnecessary debug code for #56
16 years ago
Xuefer 12363ef477 1.2->trunk: [334] robust error handling on shm init
16 years ago
Xuefer 563648330f trunk: merged 328, fixed #56: xcache_set segfaults when xcache.var_size=0
16 years ago
Xuefer fc2be9a6a4 add xc_php_addref_dmz and s/xc_php_remove_dmz/xc_php_release_dmz/
16 years ago
Xuefer 78ea9ed121 avoid double free on php hit
16 years ago
Xuefer 159ef31736 admin: show php refcount
16 years ago
Xuefer babf8e3b57 cacher: disable extra openbase dir warnning
16 years ago
Xuefer 4d09e78b6c cacher: handle the case on compiler error, pass testcase bug35740.phpt
16 years ago
Xuefer ea5e888d9d cacher: fix stat and skip user stream
16 years ago
Xuefer c32e2b3854 compiler cacher: fix early_binding_class argument
16 years ago
Xuefer fffb1e1bf2 compiler cacher: passed most of the testcases
16 years ago
Xuefer 4af40759f6 restruct cached compile, add md5 table to recognize and merge file with same content
16 years ago
Xuefer da00589b96 stack interface changes
16 years ago
Xuefer 1609bb2f30 TRACE() instead of ifdef/fprintf
16 years ago
Xuefer 9b1666062e fix false assertion on php.autoglobal_cnt
16 years ago
Xuefer e55c1728d5 kill warnings for debug
16 years ago
Xuefer a9153834b9 fixed compatibility with zo under apache 1.x
16 years ago
Xuefer c78b30ab6d remove warnings
16 years ago
Xuefer 60e8edb29f removed zend_append_version_info. not needed after [282]
16 years ago
Xuefer e3193d1562 make [278] works when there's no sohosin/zo
16 years ago
Xuefer b074ef2c25 trunk: fixed #48, was leaking info when cacher is not enabled by size
16 years ago
Xuefer 59d3ec0a3d trunk: fix coredump on shutdown when loaded as "extension" and after "suhosin". thanks to Alex, Cristian and Esser
16 years ago
Xuefer e80ab3c399 full compatible with auto_globals_jit, no need to disable it from now on
17 years ago
Xuefer 91788e7b9a fix xcache.var_ttl displaying in info, fix xcache_get for ttl-unlimited
17 years ago
Xuefer 4528a97a8c better debugging info
17 years ago
Xuefer 784cff26d0 cacher: trick in_compilation state, don't trigger !__autoload at compile time
17 years ago
Xuefer 22ddb4c0ac processor: apply reference handling on opcode caching. reverted [196] [199] [220] and refix for #36
17 years ago
Xuefer 99861b1d3c processor: dprint upgrade, added --enable-xcache-dprint
17 years ago
Xuefer e12208aca6 cacher: remove redundant open_basedir check, it's done before compiling, pass php-src/ext/standard/tests/file/bug24313.phpt
17 years ago
Xuefer a13dc3ae2a avoid 64bit compiler warning
17 years ago
Xuefer 7e476dc403 avoid crash when error compiling
17 years ago
Xuefer 4537ab156d fix undefined symnbol max
17 years ago
Xuefer c9591dbe5b fixed #41, early class binding
17 years ago
Xuefer 4438aa2481 avoid undef'ing DEBUG so one can put DEBUG into CFLAGS
17 years ago
Xuefer 5230b6047f coverager: new api xcache_coverager_start/xcache_coverager_stop/xcache_coverager_get(), coverager ini changed
17 years ago
Xuefer 07ae7b3e37 cacher: disable mtime-age when xcache.test is on
17 years ago
Xuefer d519ff2c5a BUCKET_KEY readability and PHP_6 build fix
17 years ago
Xuefer 01bd668358 fix #36, wrong inheriting static class variables
17 years ago
Xuefer b79234b806 trick to load and work with zend optimizer
17 years ago
Xuefer ec94318ff0 call op_array_ctor handler on restore to be more compatible with other zend_extension
17 years ago
Xuefer 8c8465fa26 implement xcache.stat. and reimpl [160] for trunk to fix win32 hash problem
17 years ago
Xuefer 77a153c745 revert most of [82] back and use dummy ptr
17 years ago
Xuefer 84d049b8a0 show available shm scheme in moduleinfo
17 years ago
Xuefer 904284625a fix segv on MSHUTDOWN
17 years ago
Xuefer 6babaf0481 PHP6: zts build
17 years ago
Xuefer fc10218205 revert [111], they've fixed it
17 years ago
Xuefer 42efedb793 reconstruct shm/allocator
17 years ago
Xuefer 2964ae1d75 avoid reading of uninitialized data. thanks to valgrind
17 years ago
Xuefer 9c3e3d9e8b fixed string parameter parsing arg type for disassembler functions. thanks to Nuno Lopes' check_parameters.php
17 years ago
Xuefer 6460f64235 fix cache clear corrupted bug
17 years ago