1
0
Fork 0
Commit Graph

306 Commits

Author SHA1 Message Date
Xuefer 4bd9441522 expand_path for __DIR__ __FILE__ support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@859 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-28 16:15:21 +00:00
Xuefer 65664ce97e var set/get/inc/dec tests
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@858 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-28 13:01:47 +00:00
Xuefer 6159ca6aba fix trace
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@857 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-28 12:19:19 +00:00
Xuefer 06f64aa1eb store entry_var_t
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@856 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-28 09:30:46 +00:00
Xuefer 64de704dbf remove type/cache/hvalue from cached copy to reduce memory usage a little bit
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@854 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-28 08:48:20 +00:00
Xuefer e391b0f205 more readability cache property. reduce memory footprint for data caching
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@851 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-27 16:07:50 +00:00
Xuefer bfb351bc56 fix md5 digest
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@848 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-26 11:14:09 +00:00
Xuefer 9579c77164 fix build for <=PHP_5_2, optimize dirname call
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@847 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-26 10:46:53 +00:00
Xuefer e5943a11f7 kill most const warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@846 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-26 09:41:19 +00:00
Xuefer 2ccf0e5dbf copy md5 digest correctly in notmemcpy mode
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@840 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-25 02:51:51 +00:00
Xuefer 02fd7e8f97 fix __DIR__ __FILE__ handling in literal. path resolve is still in todo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@832 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 16:17:34 +00:00
Xuefer 6fbbefbafc avoid zend_alter_ini_entry which is execute time
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@827 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 07:58:35 +00:00
Xuefer 79015d6a30 fix build: ISREF undefined in <=PHP_5_2
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@798 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 08:05:18 +00:00
Xuefer 90ccdadc54 Decompiler: handle closure use()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@781 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 12:05:08 +00:00
Xuefer b5ecc94497 prepare for use()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@780 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 09:33:46 +00:00
Xuefer fcf274966f check return value to avoid gcc warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@767 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 07:16:12 +00:00
Xuefer 6e7edfd240 30 seconds timeout for clog checking
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@764 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 04:20:40 +00:00
Xuefer e2a871ec76 PHP_6: prepared in literal way for __FILE__ __DIR__ fix up
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@721 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 11:05:07 +00:00
Xuefer 4271653af9 PHP 6: initial catch up with php 6 literals and trait
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@716 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 07:07:48 +00:00
Xuefer 7471acdf96 disassembler: refix previous partial
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@713 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-08 18:27:55 +00:00
Xuefer 75435ff3aa fix --disable-xcache-constant
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@702 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-02-08 09:13:27 +00:00
Xuefer d6415196ef fix segv on shutdown when ionCube Loader is loaded
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@698 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-02-08 05:13:22 +00:00
Xuefer f1143e68cb update op_array->filename for hard link restoring
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@687 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-29 14:17:18 +00:00
Xuefer 8162dbddd8 initize file/dir path
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@686 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-29 14:00:36 +00:00
Xuefer 71b947670f remove debug code
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@685 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-29 13:42:45 +00:00
Xuefer 6aaae80e38 the logic of implemenation of dir/file path fixing was wrong. file/dir path should be cached before hardlink
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@684 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-29 11:25:01 +00:00
Xuefer 5ae2aa9167 avoid crash by dirpath/filepath on parser error
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@683 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-21 10:09:16 +00:00
Xuefer 15d74bace5 remove superfluous code about auto_globals
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@679 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-09-07 08:10:48 +00:00
Xuefer e5286342a9 closes #225, unset by prefix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@673 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-26 02:18:14 +00:00
Xuefer d525f2b070 fix #224, support more than 2G on 64bit arch
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@672 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-14 02:03:45 +00:00
Xuefer 315914c5d4 move and add back compatibile function to utils.c
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@671 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-14 02:02:53 +00:00
Xuefer e573fb3161 fix build for win32
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@670 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-13 17:00:12 +00:00
Xuefer 86ca8105aa use XCACHE_ERROR_CACHING macro to simplify ifdefs
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@669 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-07 02:31:12 +00:00
Xuefer 38569c559e back patch !__FILE__ and !__DIR__ on cache restore
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@662 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-03 08:15:53 +00:00
Xuefer 2426df47f4 fix stat() for relative file not in include_path but in current executing file directory (only for when inode available)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@661 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-08-03 07:37:21 +00:00
Xuefer 4f1ec33902 use zend_llist instead of HashTable for gc_op_arrays
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@656 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-31 09:41:19 +00:00
Xuefer c2df47c060 remove warning about unreferenced local variable
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@653 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-21 04:10:29 +00:00
Xuefer 4dbfbd7e1e also cache/reproduce E_DEPRECATED
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@648 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-10 04:02:07 +00:00
Xuefer bc2a3aa184 copy only internal constant, clean constant on shutdown
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@640 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 14:43:38 +00:00
Xuefer 8244810842 PHP_6: incompatible pointer size_t *
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@638 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 10:14:19 +00:00
Xuefer c553ca6262 PHP_6: fix build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@637 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 10:05:40 +00:00
Xuefer c7adf58d1c add () suggested by gcc
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@631 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-07-05 09:42:31 +00:00
Xuefer 010293a523 handle compile time new constant. fixed #208: null as default value for parameters with array type hint produces a fatal error
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@588 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2009-04-01 08:06:38 +00:00
Xuefer 196ad101f3 [571] was a wrong fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@572 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-09-03 06:55:20 +00:00
Xuefer 7293c3f9c2 check for file size to be consistent
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@571 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-08-29 03:30:31 +00:00
Xuefer f39afa916d disable XCache for cli correctly
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@570 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-08-20 14:38:45 +00:00
Xuefer 430f921aa6 fixed #183: fix for some assert.h that conflict with php.h NDEBUG stuffs
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@559 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-07-04 08:38:12 +00:00
Xuefer ece92b1cf4 fix build for win32
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@557 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-05-05 14:00:13 +00:00
Xuefer 2e156fb758 PHP_6: upstream api changed, fix build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@556 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-05-05 13:59:57 +00:00
Xuefer f9a44682c1 better readability
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@553 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-05-05 11:40:43 +00:00
Xuefer fa9c06ac40 fix build for PHP_4
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@551 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-04-18 02:10:35 +00:00
Xuefer bedd56400a PHP_5_3 support: uses ZEND_COMPILE_IGNORE_INTERNAL_CLASSES and ZEND_COMPILE_DELAYED_BINDING stuffs for PHP_5_3 support finally
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@548 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-21 14:36:17 +00:00
Xuefer 3a8c3df32f more verbose and user friendly error/warning note
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@547 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-15 02:02:45 +00:00
Xuefer 44c2500829 memory leak after using php_basename
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@544 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-08 04:47:33 +00:00
Xuefer 2a1d287e53 renamed DEBUG to XCACHE_DEBUG due to conflict to ext/date
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@543 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-08 03:55:59 +00:00
Xuefer 9ab7d49b71 fix false assertion
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@542 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-02 07:58:49 +00:00
Xuefer 0d789678e8 depends php_date for phpinfo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@541 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-02 07:55:10 +00:00
Xuefer d99f42c511 fixed #83: hash files with same basename into same cache split for better uniq cache
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@540 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-02 07:52:34 +00:00
Xuefer e4fbbf54a8 added cache init time and instance id
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@537 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-03-02 05:43:01 +00:00
Xuefer 1917ea0de4 status header is more reasonable to be 1st
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@533 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-02-29 07:08:37 +00:00
Xuefer df36790c6a exports xcache_dprint() to php script for debugging purpose
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@532 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-02-29 02:47:48 +00:00
Xuefer 38643f8e5c slide hits per second and hour
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@522 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-02-17 16:49:46 +00:00
Xuefer de6e17cf40 fixed #138: no segv if cache is not initialized correctly
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@516 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-09 03:55:57 +00:00
Xuefer 470c2fcee8 PHP_4: fix build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@508 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 09:17:02 +00:00
Xuefer 7dcd2de319 optimized function_table/class_table by caching hash value
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@506 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 04:45:48 +00:00
Xuefer b36dbed007 PHP_6: updated support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@504 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 03:42:14 +00:00
Xuefer 5b6d472b1d constinfos cannot be fast copied
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@503 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-05 02:36:01 +00:00
Xuefer 5197de4739 clean shutdown
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@502 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 17:13:34 +00:00
Xuefer 6acd2447dd kill warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@501 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 17:11:30 +00:00
Xuefer 7e8177b1d5 don't catch compiler error, just warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@500 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 14:42:36 +00:00
Xuefer 6c747e7378 PHP_5_3: deep copy arg_info which is modified by executor
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@498 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 14:05:12 +00:00
Xuefer 52c01c2e35 fixed #157: support user error handler for E_STRICT. E_STRICT is now cached
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@496 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 11:38:57 +00:00
Xuefer 1d225c1885 shallow copy for some compiler result infos
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@495 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2008-01-04 11:20:05 +00:00
Xuefer 0d656f2095 merged r490 from b1.2: added module dependency, thanks to Cristian Rodriguez
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@492 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-12-29 03:48:54 +00:00
Xuefer 4ac98a4163 typo issue
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@488 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-12-28 12:10:37 +00:00
Xuefer b038eb84c3 fix unused variable warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@486 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-12-28 12:09:43 +00:00
Xuefer b96c159e8e 5.3 support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@485 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-12-28 10:16:12 +00:00
Xuefer 04ce5c5466 opcodes data is copied but not the op_array. use op_array_handler instead
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@477 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-08-19 14:15:51 +00:00
Xuefer d807b0ea32 oops
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@474 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-08-08 16:15:03 +00:00
Xuefer 6dca4feae6 merged [471] from b1.2: live with wrong system time: allow caching files with mtime in further
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@472 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-08-08 16:10:16 +00:00
Xuefer c9e233fb73 merged r465 from b1.2: fixed #102, Segmentation fault with xcache.var_size=1K
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@467 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-08-05 02:38:31 +00:00
Xuefer c3035478ef fixed #133: add "compile failures" in XCache admin stats
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@456 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-14 05:06:10 +00:00
Xuefer 71adde3e60 fix wrong merge in [996] and [451], [454]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@455 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-14 04:47:24 +00:00
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
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@454 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-12 03:28:26 +00:00
Xuefer 4953a17ea3 merged [449] from turnk: fix compiling state after compiling non cachable files, thanks PatrickDK
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@451 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-12 03:11:06 +00:00
Xuefer 266bddbfb9 the missing piece merging from [408]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@450 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-12 03:03:33 +00:00
Xuefer e13b693a38 fixed #55: crashes php tokenizer on certain special situation
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@444 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-11 11:58:16 +00:00
Xuefer 8026a10476 5.2-non-zts build fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@438 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-07-01 06:54:42 +00:00
Xuefer 4a2a8a9ac6 copy internal table correctly, refix #59 which is broken by [429]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@435 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-06-30 05:17:52 +00:00
Xuefer 1f1be4a9c6 merged [431] from b1.2: fast inc/dec was trying to break ro protection
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@433 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-06-29 03:09:47 +00:00
Xuefer a29a43eb1f refix #101, apache1 segv with non-zts php+XCache
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@429 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-06-22 15:11:06 +00:00
Xuefer 4a41eef22e merged [423] from b1.2: fixed #101, #105: Fixed compatibility issue for apache 1.x
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@425 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-06-21 16:37:29 +00:00
Xuefer efbacfb22c fixed #94, gc was disabled when xcache.cacher set to off
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@416 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-06-17 04:10:10 +00:00
Xuefer 49984336de full ZendOptimizer compatibility
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@405 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-31 03:48:08 +00:00
Xuefer 9405bc5579 init global variables
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@403 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-31 03:23:20 +00:00
Xuefer beefac2f6b s/origin_compile_file/old_compile_file/g
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@402 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-31 03:21:02 +00:00
Xuefer ed9329efb1 fix invalid read of free'ed data for hide-and-seek trick. possible fix version string
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@400 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-29 10:03:54 +00:00
Xuefer 8f801199f8 added xcache.experimental for use to turn on experimental features
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@399 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-27 14:04:56 +00:00
Xuefer 4aa7c33b6b fixed #96, wrong format string for sprintf
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@391 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-23 01:00:26 +00:00
Xuefer cc3b18e95b clean shutdown
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@388 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-15 06:52:25 +00:00
Xuefer 3cf6e27ead ws fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@383 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-15 03:54:55 +00:00
Xuefer 678806fda7 fix wrong http auth realm quoting
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@376 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-05 11:05:39 +00:00
Xuefer 437ec60e20 fixed #77, was not updating hits/misses for var cache
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@374 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-05-05 11:01:04 +00:00
Xuefer 5f738c36cf fixed #80: avoid negetive GC count down
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@366 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-04-07 03:21:34 +00:00
Xuefer f4688ad313 show hash value in admin
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@360 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-03-01 10:56:22 +00:00
Xuefer 7d409960c9 merged from 1.2: fix for #71, fix inode hvalue issue by better hashing
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@359 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-03-01 10:55:04 +00:00
Xuefer 04c478d413 fixed #67, to success compile on OOM
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@353 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-13 06:09:00 +00:00
Xuefer 69120fa668 copy function/class table correctly by using add_ref
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@345 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-04 08:15:00 +00:00
Xuefer bf38b8775c copy internal functions/classes into sandbox, they're needed by compiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@344 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-02-04 06:22:14 +00:00
Xuefer 88ac27962f trunk: merged [339]: remove unnecessary debug code for #56
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@341 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2007-01-03 11:14:55 +00:00
Xuefer 12363ef477 1.2->trunk: [334] robust error handling on shm init
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@337 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-17 03:20:43 +00:00
Xuefer 563648330f trunk: merged 328, fixed #56: xcache_set segfaults when xcache.var_size=0
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@329 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-16 12:04:32 +00:00
Xuefer fc2be9a6a4 add xc_php_addref_dmz and s/xc_php_remove_dmz/xc_php_release_dmz/
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@323 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 08:18:09 +00:00
Xuefer 78ea9ed121 avoid double free on php hit
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@322 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 08:14:46 +00:00
Xuefer 159ef31736 admin: show php refcount
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@321 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 08:13:37 +00:00
Xuefer babf8e3b57 cacher: disable extra openbase dir warnning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@320 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 06:12:27 +00:00
Xuefer 4d09e78b6c cacher: handle the case on compiler error, pass testcase bug35740.phpt
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@319 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 04:21:12 +00:00
Xuefer ea5e888d9d cacher: fix stat and skip user stream
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@317 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 04:15:53 +00:00
Xuefer c32e2b3854 compiler cacher: fix early_binding_class argument
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@315 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 03:08:05 +00:00
Xuefer fffb1e1bf2 compiler cacher: passed most of the testcases
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@314 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-10 02:31:42 +00:00
Xuefer 4af40759f6 restruct cached compile, add md5 table to recognize and merge file with same content
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@311 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2006-12-09 16:27:03 +00:00
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