Changeset 196
- Timestamp:
- 04/10/06 01:12:36 (3 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/dasm.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r195 r196 1 2006-04-09 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 3 * Fixed some typos in dasm.php 4 * Added authentication to the disassembler 5 1 6 2006-04-06 Hans Rakers <hans at parse dot nl> 2 7 3 * Fixed handling of interfaces. This fixes sf.net bug #1440575.4 This fix also introduces some changes in the cached object structure5 so remember to empty your disk caches if you have them. This is6 always a good thing to do after upgrading btw :)8 * Fixed handling of interfaces. This fixes sf.net bug #1440575. 9 This fix also introduces some changes in the cached object structure 10 so remember to empty your disk caches if you have them. This is 11 always a good thing to do after upgrading btw :) 7 12 8 13 2006-04-06 Hans Rakers <hans at parse dot nl> 9 14 10 * Reverted the change to the handling of ZEND_BRK made by me on11 2006-03-17 since it wasn't working as it should. Since this12 reintroduces sf.net bug #1442923 i added some code to prevent this13 bug using a different approach, by restoring operand types changed14 by build_cfg if build_cfg exits with exit code 0.15 16 Since php-5.1 some opcode handlers expect a strict set of operand17 types, anything else results in 'Invalid opcode' errors. Since18 build_cfg changes some operand types these changes need to be19 reverted once the optimizer finishes. For now the only opcode to20 which this all applies is ZEND_FETCH_CONSTANT, which expects21 either a CONST or a UNUSED in op1 and a CONST in op2 (See22 zend_vm_def.h)15 * Reverted the change to the handling of ZEND_BRK made by me on 16 2006-03-17 since it wasn't working as it should. Since this 17 reintroduces sf.net bug #1442923 i added some code to prevent this 18 bug using a different approach, by restoring operand types changed 19 by build_cfg if build_cfg exits with exit code 0. 20 21 Since php-5.1 some opcode handlers expect a strict set of operand 22 types, anything else results in 'Invalid opcode' errors. Since 23 build_cfg changes some operand types these changes need to be 24 reverted once the optimizer finishes. For now the only opcode to 25 which this all applies is ZEND_FETCH_CONSTANT, which expects 26 either a CONST or a UNUSED in op1 and a CONST in op2 (See 27 zend_vm_def.h) 23 28 24 29 2006-04-04 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> eaccelerator/trunk/dasm.php
r189 r196 17 17 18 18 $ Id: $ 19 */ 19 20 /** config **/ 21 $user = "admin"; 22 $pw = "eAccelerator"; 23 /** /config **/ 24 25 /* {{{ auth */ 26 if (!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_USER']) || 27 $_SERVER['PHP_AUTH_USER'] != $user || $_SERVER['PHP_AUTH_PW'] != $pw) { 28 header('WWW-Authenticate: Basic realm="eAccelerator control panel"'); 29 header('HTTP/1.0 401 Unauthorized'); 30 exit; 31 } 32 /* }}} */ 33 20 34 ?> 21 35 … … 56 70 <h1>eAccelerator disassembler</h1> 57 71 <?php 58 if (!isset($_GET['file']) && is_file($_GET['file'])) {72 if (!isset($_GET['file']) && !is_file($_GET['file'])) { 59 73 die('File argument not given!'); 60 74 } … … 185 199 /* {{{ print_method: print the given method */ 186 200 function print_method($name, $op_array) { 187 echo "<h 4>Method: $name</h4>";201 echo "<h2>Method: $name</h2>"; 188 202 print_op_array($op_array); 189 203 } … … 194 208 global $asm, $file; 195 209 echo "<h2>Script layout</h2>\n"; 196 echo "<div style=\"text-align: left; wid ht: 800px\">\n";210 echo "<div style=\"text-align: left; width: 800px\">\n"; 197 211 echo "<ul>\n"; 198 212 if (isset($asm['op_array'])) { … … 223 237 global $file; 224 238 echo "<h2>Class $name</h2>"; 225 echo "<div style=\"text-align: left; wid ht: 800px\"><ul>\n";239 echo "<div style=\"text-align: left; width: 800px\"><ul>\n"; 226 240 foreach($class as $method => $data) { 227 241 echo "<li><a href=\"?file=$file&show=classes&name=$name&method=$method\">$method</a></li>\n";