1
0
Fork 0
Commit Graph

235 Commits (397049014d3640f5a3dc14c965989b74c712ccc5)

Author SHA1 Message Date
Xuefer da00589b96 stack interface changes
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@307 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-09 03:42:09 +00:00
Xuefer 1609bb2f30 TRACE() instead of ifdef/fprintf
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@305 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-08 16:11:19 +00:00
Xuefer 9b1666062e fix false assertion on php.autoglobal_cnt
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@299 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-03 07:56:55 +00:00
Xuefer e55c1728d5 kill warnings for debug
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@297 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-03 02:58:06 +00:00
Xuefer a9153834b9 fixed compatibility with zo under apache 1.x
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@296 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-03 02:57:37 +00:00
Xuefer c78b30ab6d remove warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@295 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-03 01:48:53 +00:00
Xuefer 60e8edb29f removed zend_append_version_info. not needed after [282]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@283 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-11-21 14:12:05 +00:00
Xuefer e3193d1562 make [278] works when there's no sohosin/zo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@280 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-11-20 12:51:45 +00:00
Xuefer b074ef2c25 trunk: fixed #48, was leaking info when cacher is not enabled by size
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@279 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-11-19 01:47:38 +00:00
Xuefer 59d3ec0a3d trunk: fix coredump on shutdown when loaded as "extension" and after "suhosin". thanks to Alex, Cristian and Esser
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@278 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-11-17 17:21:46 +00:00
Xuefer e80ab3c399 full compatible with auto_globals_jit, no need to disable it from now on
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@268 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-29 02:05:01 +00:00
Xuefer 91788e7b9a fix xcache.var_ttl displaying in info, fix xcache_get for ttl-unlimited
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@254 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-17 14:17:45 +00:00
Xuefer 4528a97a8c better debugging info
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@236 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-11 00:27:27 +00:00
Xuefer 784cff26d0 cacher: trick in_compilation state, don't trigger !__autoload at compile time
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@235 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-11 00:26:23 +00:00
Xuefer 22ddb4c0ac processor: apply reference handling on opcode caching. reverted [196] [199] [220] and refix for #36
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@233 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-10 00:46:00 +00:00
Xuefer 99861b1d3c processor: dprint upgrade, added --enable-xcache-dprint
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@230 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-10 00:31:50 +00:00
Xuefer e12208aca6 cacher: remove redundant open_basedir check, it's done before compiling, pass php-src/ext/standard/tests/file/bug24313.phpt
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@227 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-07 12:36:13 +00:00
Xuefer a13dc3ae2a avoid 64bit compiler warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@224 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-07 04:55:05 +00:00
Xuefer 7e476dc403 avoid crash when error compiling
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@216 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-07 01:54:00 +00:00
Xuefer 4537ab156d fix undefined symnbol max
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@213 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-04 00:50:01 +00:00
Xuefer c9591dbe5b fixed #41, early class binding
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@212 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-04 00:38:45 +00:00
Xuefer 4438aa2481 avoid undef'ing DEBUG so one can put DEBUG into CFLAGS
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@205 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-01 08:59:23 +00:00
Xuefer 5230b6047f coverager: new api xcache_coverager_start/xcache_coverager_stop/xcache_coverager_get(), coverager ini changed
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@204 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-01 08:57:51 +00:00
Xuefer 07ae7b3e37 cacher: disable mtime-age when xcache.test is on
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@202 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-10-01 08:24:59 +00:00
Xuefer d519ff2c5a BUCKET_KEY readability and PHP_6 build fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@200 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-29 00:09:51 +00:00
Xuefer 01bd668358 fix #36, wrong inheriting static class variables
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@196 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-24 08:02:43 +00:00
Xuefer b79234b806 trick to load and work with zend optimizer
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@190 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-20 00:25:56 +00:00
Xuefer ec94318ff0 call op_array_ctor handler on restore to be more compatible with other zend_extension
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@189 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-20 00:24:42 +00:00
Xuefer 8c8465fa26 implement xcache.stat. and reimpl [160] for trunk to fix win32 hash problem
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@165 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-13 12:22:57 +00:00
Xuefer 77a153c745 revert most of [82] back and use dummy ptr
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@164 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-13 12:20:49 +00:00
Xuefer 84d049b8a0 show available shm scheme in moduleinfo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@163 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-13 12:11:36 +00:00
Xuefer 904284625a fix segv on MSHUTDOWN
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@154 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-10 03:10:52 +00:00
Xuefer 6babaf0481 PHP6: zts build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@152 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-10 02:14:06 +00:00
Xuefer fc10218205 revert [111], they've fixed it
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@151 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-10 01:14:17 +00:00
Xuefer 42efedb793 reconstruct shm/allocator
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@148 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-09 00:56:44 +00:00
Xuefer 2964ae1d75 avoid reading of uninitialized data. thanks to valgrind
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@146 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-08 13:13:59 +00:00
Xuefer 9c3e3d9e8b fixed string parameter parsing arg type for disassembler functions. thanks to Nuno Lopes' check_parameters.php
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@143 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-08 01:36:06 +00:00
Xuefer 6460f64235 fix cache clear corrupted bug
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@141 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-07 11:40:09 +00:00
Xuefer c625b7026a fix refcount on cache #1 #2 ...
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@140 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-06 12:14:01 +00:00
Xuefer d7071622e1 fix debug build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@139 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-06 12:11:53 +00:00
Xuefer cd58fad1c0 fix build for last commit [137]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@138 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-06 11:14:26 +00:00
Xuefer 6c0f8b805d changed the coding way of unlinking list. fixed ttl expires dead loop
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@137 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-06 06:41:04 +00:00
Xuefer 52eabe1d2b update last_gc_deletes so it gc by interval
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@136 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-06 01:40:49 +00:00
Xuefer 27795d9acc fix zts on calling destroy_op_array
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@132 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-03 11:42:08 +00:00
Xuefer 76174b4273 move open_files out of sandbox, it's not needed
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@131 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-03 07:37:05 +00:00
Xuefer 5dba59439b improve locking for compile
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@130 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-03 07:36:09 +00:00
Xuefer 6f26ea8aca minor ttl fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@129 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-03 06:16:02 +00:00
Xuefer f9d9181c4f fix xcache_isset reported by http://forum.lighttpd.net/topic/1397
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@126 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-03 02:33:40 +00:00
Xuefer a0317654ea renamed function name to make it more readable
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@120 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-09-02 02:08:41 +00:00
Xuefer 32069e953f fix leak in xcache.test=1; XCACHE_VERSION/XCACHE_MODULES length off-by-one
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@119 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-31 23:45:54 +00:00
Xuefer fa7e0ab9f8 show gc countdown in admin page
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@118 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-31 00:23:20 +00:00
Xuefer 6c621e7c9d hide the debuging msg
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@116 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-30 12:26:53 +00:00
Xuefer 114e36343b gc expired items, new ini: xcache.ttl xcache.gc_interval xcache.var_ttl xcache.var_maxttl xcache.var_gc_interval
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@114 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-30 00:31:03 +00:00
Xuefer d8f3df8ff6 zts build fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@113 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-30 00:26:13 +00:00
Xuefer d70377b00a trigger hash_init+zend_destroy_property_info to compatible with suhosin
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@111 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-28 00:31:00 +00:00
Xuefer 9e78cefd66 show XCache version
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@107 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-27 10:48:14 +00:00
Xuefer afa7c84142 trigger jit on $_SERVER when needed
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@105 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-27 09:49:45 +00:00
Xuefer 4ec818c068 PHP_6: builds again with php6. update UChar/void ptr to zstr.
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@103 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-08-27 05:09:02 +00:00
Xuefer 7e1a9f1740 remove tailing \0 in filename of administration html output. reported by darix.
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@96 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-07-31 12:11:30 +00:00
Xuefer 99e6113755 fixed #20, default: --enable-xcache-constant=yes
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@95 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-07-16 11:07:57 +00:00
Xuefer 62eb321efe PHP_5_2: auto module_global is maintained by php engine
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@92 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-07-16 06:33:59 +00:00
Xuefer 75013592ee kill compiler warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@91 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-07-16 06:30:58 +00:00
Xuefer 61b7b1df15 kill compiler warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@90 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-07-16 06:06:46 +00:00
Xuefer f24ac86688 fixes #14, #17, #18
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@86 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-07-08 00:44:27 +00:00
Xuefer 7fac917d94 merged [74], [81]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@82 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-06-18 01:26:00 +00:00
Xuefer e2fb7b838f proc all signal that may generate a core
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@75 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-06-08 07:16:19 +00:00
Xuefer 83fcc46da1 signal handling fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@65 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-06-06 11:26:22 +00:00
Xuefer d9763d8980 win32 proto fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@55 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-31 01:21:57 +00:00
Xuefer 06413c7c2f big diff yet small change: fix ran into outside of shared memory. and commit the test that figure it out.
valgrind rocks even for our code for shared memory.


git-svn-id: svn://svn.lighttpd.net/xcache/trunk@49 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-30 02:05:58 +00:00
Xuefer d10f58cf05 update coverager default, update ini inline help
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@39 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-27 12:01:25 +00:00
Xuefer bfc0063576 fix for fbsd
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@36 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-27 10:37:10 +00:00
Xuefer 127b9b1d72 XCache Administration web frontend
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@34 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-27 06:53:32 +00:00
Xuefer 6df60fffb6 optimized xcache_info() to not wake up swapped memory.
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@32 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-27 03:05:10 +00:00
Xuefer 61cc1755bd rename coverage -> coverager
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@27 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-26 02:30:20 +00:00
Xuefer 128b8a1b98 list modules compiled in XCache
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@26 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-26 02:28:17 +00:00
Xuefer 9bee15465c php5 cli zts dtor fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@25 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-26 02:24:53 +00:00
Xuefer e59d43c7c9 friendly anonymous mmap name for win32
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@21 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-25 02:39:16 +00:00
Xuefer a2d3c2ceee get* proto changes
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@20 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-25 02:38:27 +00:00
Xuefer d7d686435c void empty agument for macro for vc6
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@19 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-25 02:36:08 +00:00
Xuefer 044daa2ed7 fix win32/vc build for php4
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@18 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-25 02:33:32 +00:00
Xuefer eb68431952 void circle dependcy between ZEND_INIT_MODULE_GLOBALS and REGISTER_INI_ENTRIES
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@17 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-25 02:31:16 +00:00
Xuefer da19436031 make it build on windows vc compiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@11 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-24 07:52:48 +00:00
Xuefer 321e7f64ec update proto description
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@9 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-20 01:53:24 +00:00
Xuefer 93e9226d19 make opcode_spec_def.h optional
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@8 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-13 03:19:43 +00:00
Xuefer 4389208e02 initial import to online
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-05-09 10:58:38 +00:00