root/eaccelerator/trunk/ChangeLog

Revision 349, 39.1 kB (checked in by bart, 4 months ago)

Fix user cache functions to work with php 5.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 2008-05-20  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
2
3         * First stab at php 5.3 support. Only fixes the script cache.
4           phpMyAdmin seems to work with these changes.
5         * Fix user cache stuff
6
7 2008-05-19  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
8
9         * Remove support for all php versions older than php 5.1
10
11 2008-05-18  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
12        
13         * Add patch from ticket 232: removes an unlock that isn't
14                   needed there.
15
16 2008-02-12  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
17                
18                 * Add new opcodes introduced in PHP 5.3
19
20 2007-08-20  Hans Rakers <hans at react.nl>
21
22         * Changed crash handler error message format to Apache-style error log
23           format as suggested in ticket #217
24         * Fixed ticket #274
25         * Performance: eliminated a bunch of time() syscalls
26         * Performance: eliminated calls to eaccelerator_gc when not build with
27           either session, shm or user cache functionality (which are all off
28           by default)
29         * Disable eaccelerator_list_keys function when not build with either
30           session, shm or user cache functionality (which are all off by
31           default)
32         * Disable 'User Cache' tab in control panel when not build with either
33           session, shm or user cache functionality (which are all off by
34           default)
35         * Added a creation timestamp to each cache object (shm and disk)
36         * Added ttl and creation timestamp display to
37           eaccelerator_cached_scripts() / control.php
38         * Changed some counters in ea_cache_entry from signed to unsigned
39           int
40         * Renamed some mmCache remnants && fixed typos/language
41
42 2007-08-20  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
43
44         * Rewrite the calc_* funtions so they no longer uses the EAG(mem) global.
45         * Rewrite the fixup_* functions so they no longer use the EAG(mem) global.
46         * Rewrite store_* functions so they no longer use the EAG(mem) global.
47         * Add code that checks the shared memory chunks if needed to make sure
48           no data was written past the boundary. Change #undef MM_CHECK in mm.c
49           to #define MM_CHECK
50
51 2007-08-19  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
52
53         * Fix an E_NOTICE error in the control panel
54         * Improve storing of objects and fix bug #264
55
56 2007-08-16  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
57
58         * Fix a typo in the config file. #269
59
60 2007-08-14  Hans Rakers <hans at react.nl>
61
62         * Optimizer fix for #242. PHP-5.2.1 introduces a ZEND_JMP before a
63           ZEND_FETCH_CLASS/ZEND_CATCH which the optimizer did not handle
64           correctly, resulting in uncaught exceptions. (Thanks to warwickshaw)
65
66 2007-05-09  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
67
68         * Use php_strtok_r instead of strtok_r (Thanks to Daan <daan at parse.nl>)
69         * Add fnmatch.c and fnmatch.h and use it on win32 (Thanks to Daan <daan at parse.nl>)
70         * Casting of var 'len' to (int) in decode_version() to get rid of an VC++ 6 warning (Thanks to Daan <daan at parse.nl>)
71
72 2007-04-21  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
73
74         * Add patch from Nathanael (eaccelerator@polymorpheus.com)
75
76 2007-03-07  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
77
78         * Apply the patch from #244 which causes heap corruption.
79
80 2007-02-15  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
81
82         * Kick out the old filter implementation and use one based on fnmatch,
83           this breaks windows support. The plan is to include a bsd licensed
84           fnmatch implementation when a platform doesn't provide fnmatch.
85           (read: when windows is being used). Until some steps up to do this
86           or we run into a machine with windows and VC windows support wil be
87           b0rked.
88         * Move spinlock stuff into mm.c, no need for an extra file with extra
89           indirection.
90
91 2007-02-13  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
92
93         * Added a function to dump an eaccelerator class entry in debug.c
94         * Changed include order in mm.c because of eaccelerator.h include in debug.h
95         * Fixed a nullpointer dereference in some special cases in ea_restore.c:509
96         * Always compile a ea_debug_error message in ea_restore.c
97         * Cleanup: Removed some commented out code, changed some debug statements,
98             reordered some conditional includes to reduce ifdef statements
99         * Check if those array indices are set before testing them in control.php
100         * Revert some changes form changeset @256 to fix bug #199
101         * Some more year updates
102         * Fix loading of cached scripts and data on disk
103         * Fixed a bug in the zend_class_entry dump debug routine
104
105 2007-01-29  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
106
107         * Removed some obsolete code
108
109 2007-01-04  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
110
111         * Happy new-year
112
113 2006-11-08  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
114
115         * Enable disassembler links again in the control panel
116         * Add some more isset for E_ALL error reporting
117
118 2006-11-04  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
119
120         * It seems I'm longer able to do simple comparisons, this
121           should fix #187 and is a real fix for #182
122
123 2006-10-26  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
124
125         * Fix encoding and decoding of eA and php versions. Only three numbers
126           versions were encoded, this way file cache isn't removed when using
127           svn snapshots or rc releases.
128         * Fix a compile warning when using filename hashing instead of inode
129           hashing.
130         * Optimize a part of the inode hashing function.
131         * Remove a conditional compile for very old php versions in the filename
132           hashing function.
133         * Included the new control center written by Thomas Love. It rocks!
134
135 2006-10-19  Hans Rakers <hans at parse dot nl>
136
137         * Replaced short php opening tags in control.php
138         * Fixed typo in NEWS file
139         * Fix for ticket #170 (handling of multi-dim globals by the optimizer)
140
141 2006-10-10  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
142
143         * Fix a bug in the ttl of the cache. see ticket #182
144         * Release version 0.9.5
145
146 2006-09-19  Hans Rakers <hans at parse dot nl>
147
148         * Get session config variables from local values instead of global
149           values. This enables altering of session-related settings like
150           gc_maxlifetime, entropy_file and entropy_length through ini_set().
151           This fixes ticket #166
152
153 2006-09-18  Hans Rakers <hans at parse dot nl>
154
155         * Fixed unbalanced ifdef in eaccelerator.h introduced in rev [269].
156           This fixes ticket #177
157
158 2006-09-15  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
159
160         * Reverse changeset 205 (doc-comment exclusion) from Tom Regner
161           <t.regner at librics.de>.
162         * only put the function that has the same name as the class as contructor
163           if there isn't a __construct function. This fixes ticket #172
164         * Don't free memory with efree that has been allocated from the eA shm cache.
165           This should fix A LOT of bugreports in Trac and on SF. It fixes #171 but
166           I think also some other bugs.
167
168 2006-08-29  Hans Rakers <hans at parse dot nl>
169
170         * Skip disk cache creation and clean/clear actions when operating in
171           shm_only mode. This fixes ticket #165
172
173 2006-08-23  Hans Rakers <hans at parse dot nl>
174
175         * Fixes for tickets #157 and #164
176
177 2006-08-06  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
178
179         * Fix stupid bug (#159)
180         * Handle returning null instead of array (#156)
181
182 2006-08-03  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
183
184         * zend_do_inheritance can't be called with TSRMLS_CC when using
185           php 4, this also means that eAccelerator won't work with threading!
186         * ea_info and ea_dasm: if eaccelerator_mm_instance is NULL, just return
187           null and don't do something.
188
189 2006-07-30  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
190
191         * Don't use our own hash function, the one from the ZE is extremely much
192           faster and provides a much better distribution.
193         * Don't compile the user cache code one no feature is being compiled.
194         * A big cleanup in struct naming
195         * Move some functions around to make more of them static, this reduces
196           the binary size and load times.
197         * Remove some leftovers from restoring encoded scripts which only create
198           overhead without the loader.
199         * Clean up the session handler, removed old code for php < 4.3.
200         * Fixed detection of SysV IPC shared memory and made anonymous mmap
201           the first selected type. This makes the behaviour of rc1 the
202           default. anonymous mmap doens't have the problem of shmmax. SysVIPC is
203           still available!
204         * Fixed some of the detection test in the configure script that probably
205           never worked.
206
207 2006-07-29  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
208
209         * Use php realpath directly without wrapper, TSRM implements the realpath cache
210
211 2006-07-28  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
212
213         * Restore the class entry of zend_property_info when using php 5.2, this fixes bug #151
214
215 2006-07-27  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
216
217         * Branched 0.9.5, development for 0.9.6 will start in trunk
218         * Bumped up version to 0.9.6-dev
219         * Killing the very broken encoder. Once when eAccelerator is in full
220           shape an encoder may return.
221         * Some fixes to make eAccelerator compile with php 5.2, this fixes bug #150
222         * Restore __toString methods correctly with php 5.2
223         * Fix bug #145, objects are serialized when they are stored in shared memory.
224           Users don't have to do this in their code anymore.
225         * Wrong ifdef in compile fix for php 5.2
226         * Update config.w32, VC6 and VC2005 project files
227         * Fix debug build for win32, this fixes ticket #149
228         * Removed a debug statement and added return value in optimizer.c
229
230 2006-07-25  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
231
232         * Fix restoring of opcode handler for php 5.0.5 when files are loaded
233           from disk cache. This fixes bug #147
234         * Some update in the release notes for the upcoming rc1
235         * Fix loader.c too so we don't get any linking errors.
236
237 2006-07-24  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
238
239         * Make clean routine support dir hashing. Again, this should be tested
240           on win32!
241         * Use a define for the magic string in the eAccelerator file headers
242         * Bump up version to 0.9.5-rc1
243         * Put -O2 back on for -rc1
244         * Update the VC2005 project files
245         * Add a config.w32 file for static building of eAccelerator
246
247 2006-07-24  Hans Rakers <hans at parse dot nl>
248         * Fix for ticket #47 and #63, related to problems restoring empty
249           strings and empty string array keys from the disk cache.
250
251 2006-07-23  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
252
253         * Fix ticket #143, seems that PHP < 5 doesn't make the extension lower
254           case.
255
256 2006-07-22  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
257
258         * Some zval macro's differ for php4 and 5, this fixes #146.
259         * Also rewrite clean code for cache files on win32 for directory
260           hashing. This hasn't been tested on windows!!!
261         * Added a script to create a bugreport file with more information
262           about the userenvironment.
263
264 2006-07-19  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
265
266         * Use some more zval macro's to cleanup things a bit
267         * Removed the code from mm.c that tried to allocate more then one segment
268           because it didn't work, this part needs a redesign of the mm code to
269           allow this. It should allocate one to init the shared memory and add
270           the other to the free list.
271
272 2006-07-02  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
273
274         * Made some fixes to ea_info.c to make eA compile on windows again.
275           This should fix bug #116.
276
277 2006-06-30  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
278
279         * Cleaned up the checking for other incompatible extensions a
280           bit. This should fix the use of IonCube with eAccelerator. I did
281           some test loading IonCube in different ways and never got in to
282           trouble. This fixes ticket #66.
283
284 2006-06-30  Hans Rakers <hans at parse dot nl>
285
286         * Added ability to sort table columns by clicking on the table
287           headings in the control panel
288         * Quick & dirty fix for eaccelerator_clear to work with the new
289           cache dir hashing. This still needs to be done for win32.
290
291           eaccelerator_clean still needs some fixing to work with the
292           dir hashing.
293
294 2006-06-27  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
295
296         * Fixed ifdef for #108 to use only on windows
297         * Fix for bug #109, #31 and SF-1102070
298         * Cleaned-up RINIT a bit for hostname determining
299         * Included the fix from ticket #94 for zts
300
301 2006-06-26  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
302
303         * Fix ticket #108
304         * Removed webui.[c|h] from the windows project files
305
306 2006-06-06  Hans Rakers <hans at parse dot nl>
307
308         * Fix for ticket #101 ('bailout' is used in zend_globals.h in a ZTS
309           build) as suggested by <ihanick at gmail dot com>
310
311 2006-06-02  Hans Rakers <hans at parse dot nl>
312
313         * Removed two unused vars from the internal datastructures
314         * Fixed constructor inheritance. This fixes handling of implicit
315           constructors and solves ticket #89
316
317 2006-05-14  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
318
319         * Forgot to remove some debug messages for the filter bug.
320
321 2006-05-08  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
322
323         * Make the disassembler do openbasedir checks before showing a file,
324           this fixes bug #59
325         * Changed the filter logic a bit, this fixes bug #72
326
327 2006-05-07  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
328
329         * Added directory hashing for md5 and inode based keys based on a patch
330           from <mattias at efterfesten.com>, default is 2 levels deep.
331         * Renamed some left over MM based names to EA.
332         * Increased default hash size for user and script to 512 for extra
333           performance.
334
335 2006-05-04  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
336
337         * Don't store the doc_comments in op_array and class_entry. They are
338           useless. this should reduce memory footprint.
339         * Included patch from Stadler from ticket #23. It adds a nice menu
340           and code highlighting.
341
342 2006-04-13  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
343
344         * When content cache is used also compiled shared memory functions
345
346 2006-04-11  Hans Rakers <hans at parse dot nl>
347
348         * Fix for 64-bit compilation warnings "cast to pointer from
349           integer of different size"
350
351 2006-04-11  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
352
353         * A lot of fixes to silence the compile warnings generated when compiling
354           with the default Fedora compiler options
355         * Removed FC compiled options from Makefile.in again, stupid me
356
357 2006-04-11  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
358
359         * Silenced the unlock function for win32 until a windows developer can
360           take a look at it.
361         * Updated the README a little more for the new control panel
362         * Added release notes for beta2
363         * Bumped up version to 0.9.5-beta2
364         * Patch for dasm.php form Stadler, see #23
365         * Fixed typo in optimizer which broke compilation for PHP != 5.1
366         * Released beta2
367
368 2006-04-09  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
369
370         * Fixed some typos in dasm.php
371         * Added authentication to the disassembler
372
373 2006-04-06  Hans Rakers <hans at parse dot nl>
374
375         * Fixed handling of interfaces. This fixes sf.net bug #1440575.
376           This fix also introduces some changes in the cached object structure
377           so remember to empty your disk caches if you have them. This is
378           always a good thing to do after upgrading btw :)
379
380 2006-04-06  Hans Rakers <hans at parse dot nl>
381
382         * Reverted the change to the handling of ZEND_BRK made by me on
383           2006-03-17 since it wasn't working as it should. Since this
384           reintroduces sf.net bug #1442923 i added some code to prevent this
385           bug using a different approach, by restoring operand types changed
386           by build_cfg if build_cfg exits with exit code 0.
387
388           Since php-5.1 some opcode handlers expect a strict set of operand
389           types, anything else results in 'Invalid opcode' errors. Since
390           build_cfg changes some operand types these changes need to be
391           reverted once the optimizer finishes. For now the only opcode to
392           which this all applies is ZEND_FETCH_CONSTANT, which expects
393           either a CONST or a UNUSED in op1 and a CONST in op2 (See
394           zend_vm_def.h)
395
396 2006-04-04  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
397
398         * Fixed some error introduced by fixing some win32 stuff :(
399
400 2006-04-03  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
401
402         * Moved the FLOCK stuff to a place so it can be used by eLoader to
403         * Fixed quite some compile warnings on Win32
404         * Updated VC6 project files
405
406 2006-03-28  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
407
408         * Removed the constant that were registered in the debug code. They
409           could only be used in php code and not in the config file. This
410           handles bug #29
411
412 2006-03-25  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
413
414         * Source code is now shown in dasm.php
415         * Added source-code lines to the returned opcode array in ea_dasm.c
416
417 2006-03-21  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
418
419         * Fixed bug #24
420
421 2006-03-17  Hans Rakers <hans at parse dot nl>
422
423         * Fix for sf.net bug #1442839 (handling of ZEND_ASSIGN_OBJ by the
424           optimizer)
425         * Changed BRK handling to not bail out of the optimizer prematurely
426           on a multi-level break. This does need some more testing, but
427           should fix sf.net bug #1442923
428         * Removed some dead code in ea_store.c and excluded some debug code
429           from compilation in optimize.c
430
431 2006-03-09  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
432
433         * Included fcntl.h in ea_info.c, this should fix bug #13
434
435 2006-03-07  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
436
437         * Set refcount to 1 before storing a zval in the usercache. This fixes
438           bug #4.
439         * Some formatting cleanups in cache.c
440         * In restore_zval the zval length could be something else then 0 when
441           an empty string was set.
442         * Removed the shorttags in control.php and dasm.php to fix bug #8.
443         * Set the svn keywords property to some files.
444         * Moved some function defs from eaccelerator.h to the right files.
445
446 2006-03-06  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
447
448         * Removed the old webui and made a new controlpanel and disassembler.
449         * Added php api documentation
450
451 2006-03-02  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
452
453         * Changed copyright dates to 2006
454         * Updated the eaccelerator url in some last files
455         * I removed all authors from specific files. Authors can be traced
456           through mmcache and eaccelerator cvs. I did this because some
457           names should be added to quite some source files while others have
458           added their own while contributing less then the once not mentoined.
459           All contributors are credited in the AUTHORS file and specific
460           information can be found in the Changelog and cvs.
461
462 2006-03-01  Hans Rakers <hans at parse dot nl>
463
464         * Bunch of Win32 fixes. It compiles cleanly now (tested with VC++ 6.0)
465         * Fix to the optimizer for bug #1439344
466         * Fix to ea_store.c for a build problem on RHEL3 reported on the forums at
467           https://sourceforge.net/forum/message.php?msg_id=3596327
468
469 2006-02-28  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
470
471         * Changed the module entry url to eaccelerator.net and year
472         * Removed the crash function
473         * Disable the keys, session and content cache by default. These could
474           result in a local DoS by cache poisioning
475
476 2006-02-24  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
477
478         * Release of eaccelerator 0.9.5-beta1
479
480 2006-02-24  Hans Rakers <hans at parse dot nl>
481
482         * Altered the way debug output is in/excluded by adding a macro that makes
483           sure calls to functions like ea_debug_printf don't get compiled in a
484           non-debug build. The macro approach was chosen to prevent swamping the
485           code with any more ifdef statements. This approach (as opposed to the
486           previous empty-function-if-no-debug-build) also makes sure debug function
487           arguments such as the tons of getpid()'s (which don't come cheap) don't
488           get compiled in and executed in a non-debug build.
489
490 2006-02-23  Hans Rakers <hans at parse dot nl>
491
492         * Don't increase parent refcount in restore_class_parent. This is wrong
493           and leads to trouble in the Zend shutdown phase (zend_destroy_class).
494           This most likely also fixes the REMOVE_POINTER_FROM_LIST segfault of
495           bug #1432758
496
497 2006-02-22  Hans Rakers <hans at parse dot nl>
498
499         * Workaround for "multiple definitions of symbol" thread-safe build
500           problem on OSX. This fixes bug #1407520
501         * Renamed mm_mutex to ea_mutex to avoid confusion with eA's memory
502           manager. This was probably a leftover of mmCache times.
503
504 2006-02-21  Hans Rakers <hans at parse dot nl>
505
506         * Ditched the variadic macros. They were kinda useless now anyway since
507           they were only passing one arg. This should make the Win32 folks happy
508           since VC6 doesn't seem to support variadic macros (its a C99 thing)
509         * Removed some excessive debug output.
510
511 2006-02-20  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
512
513         * Fixed bypassing open_basedir restriction when the file was already
514           cached. This fixes bug #1427719
515         * Included patch #1435196 to fix the problem of duplicate keys that
516           don't get removed.
517
518 2006-02-20  Hans Rakers <hans at parse dot nl>
519
520         * Fixed static_members handling for php-5.0. Broke this while
521           working on PHP-5.1 support. Lost in ifdef statements ;)
522         * Fixed ZE1 (<=PHP4) problem regarding parent class lookup during restore.
523           Parent classname wasn't lowercased before lookup in class_table. This
524           also fixes bug #1432758 (can't restore parent class "stdClass" of class xyz)
525
526 2006-02-19  Hans Rakers <hans at parse dot nl>
527
528         * Restored PHP4 compatibility
529         * Fixed inheritance/prototype issue with abstract methods and classes during
530           restore. zend_do_inheritance handles these properly now.
531
532 2006-02-18  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
533
534         * Bumped up version to 0.9.5-dev
535
536 2006-02-17  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
537
538         * Merged PHP_5_1 branch with HEAD
539
540 2006-02-17  Hans Rakers <hans at parse dot nl>
541
542         * PHP_5_1: Some final fixes before merging to HEAD:
543           - Fixed bug #1410723 (handling of class constants by the optimizer)
544           - Fixed backwards compatibility with PHP < 5.1
545           This revision works pretty well in my testing environment, PHP-5.1 support
546           seems to be coming along quite well. Please test with your applications/
547           in your environment and report back with your experiences or possible problems!
548
549 2006-02-15 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
550
551         * Released version 0.9.4
552
553 2006-02-15  Hans Rakers <hans at parse dot nl>
554
555         * PHP_5_1: Fixes for five failing tests found using the test suite created by Bart
556           Tests that failed where:
557           -ctor_dtor_inheritance (failed because __construct, __destruct and __clone were not properly set)
558           -destructor_and_exceptions (failed because inheritance of parent methods was broken, fixed by making sure ea_store doesn't store methods outside scope)
559           -inheritance_002 (failed because __construct, __destruct and __clone were not properly set)
560           -private_members (failed because __construct, __destruct and __clone were not properly set)
561           -type_hinting_003 (failed because array_type_hint introduced in zend_arg_info in PHP-5.1 was ignored)
562
563 2006-02-14  Bart Vanbrabant <bart.vanbrabant at zoeloelip dot be>
564
565         * PHP_5_1: Changed cflags to -O2 from -O3
566
567 2006-02-09 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
568
569         * On failure of mm initialisation, return FAILURE
570           instead of disabling eAccelerator.
571
572 2006-02-08 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
573
574         * The owner of the a sysvipc mutex will now be changed on creation of
575           of the mutex. The user will be set to the uid set with
576           --with-eaccelerator-userid. This way the semaphore doesn't need to
577           be public writable anymore.
578         * Moved some inactive contributors to the inactive list.
579         * Aplied patch #142200
580         * Fixed typo (patch #1409125)
581         * Fixed some typos and cleaned up the README file a bit more
582         * Fixed some typos in README.eLoader
583         * Updated NEWS and bumped up version to 0.9.4-rc2
584         * Released 0.9.4-rc2
585
586 2006-02-07  Hans Rakers <hans at parse dot nl>
587
588         * PHP_5_1: Fix for problems with __autoload
589         * PHP_5_1: Fixed compile problems with thread-safe PHP
590
591 2006-02-06  Hans Rakers <hans at parse dot nl>
592
593         * PHP_5_1: Quite some major changes, including but probably not limited to:
594           -Fixed numerous memory leaks
595           -Fixed the handling of empty string variables (as in ""), causing "String is not zero-terminated" warnings when PHP is compiled with --enable-debug
596           -More fixes to the handling of static properties (access checking/inheritance)
597           -Inheritance on restore is now handled by zend_do_inheritance
598           -Fixed handling of ZEND_OP_DATA and ZEND_INIT_METHOD_CALL by the optimizer
599           -Cosmetic fixes (spelling etc.)
600
601 2006-01-16  Hans Rakers <hans at parse dot nl>
602
603         * PHP_5_1: Fix for bug #1401474 (and most likely some more php-5.1 related trouble)
604           static_members handling was incorrect.
605
606 2006-01-12  Hans Rakers <hans at parse dot nl>
607
608         * First batch of PHP-5.1 related changes committed to the newly created
609           PHP_5_1 branch. This is a work in progress, so YMMV.
610
611 2006-01-10 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
612
613         * Fix for bug #1366008
614         * Fix for bug #1238736, when a log file is set eA will lock it
615           before writing to it.
616
617 2005-11-22 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
618
619         * Disabled the cache dir check, to much people complaining
620         * fixed eLoader
621
622 2005-11-22 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
623
624         * Some compile fixes from Chmouel Boudjnah
625
626 2005-11-20 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
627
628         * check_cache_dir is only done when shm_only = 0
629         * Only eA is disabled when init of shared mem or cache check fails
630         * Released 0.9.4-rc1
631
632 2005-11-20 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
633
634         * Removed executor hooks, they weren't used anyway.
635         * Check if eA has a valid cache directory.
636         * Make the init of php fail if the initialisation of the shared memory
637           or cache directory failes.
638         * set shared memory size in eaccelerator.ini to 0 so the default OS
639           size is used.
640         * README updates
641         * Updated version to 0.9.4-rc1
642
643 2005-11-17 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
644
645         * Fixed optimizer bug with php 5.0.5
646
647 2005-11-16 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
648
649         * Patch for including files in same directory (#1259695) from Alexy
650
651 2005-11-15 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
652
653         * Spinlock test now tests for i386 and x86_64. Because spinlocks where
654           never used on 64-bit and sysv ipc locking didn't work, there were a
655           lot of problems.
656
657 2005-10-20 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
658
659         * The two error message added to see if a lock has failed made configure
660           fail to compile the shared memory test.
661
662 2005-10-13 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
663
664         * Fixed the php5 optimizer bug.
665         * Changed semaphore permissions to 0666 so sysvipc locks work. Working
666           locks seem a bit more important than making the semaphore public. (#1295970)
667         * Added error messages when a lock can't be aquired or released.
668
669 2005-08-03 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
670
671         * Included some compile fixes. (Thanks Matt)
672         * Included patch from the hardened php guys to make eA work
673           with hardened php.
674
675 2005-07-11 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
676
677         * ea_store.c and ea_restore.c functions clean up
678         * extraced restore_class_parent and restore_class_methods from
679           restore_class_entry to share code with loader.c
680         * extracted opcode handling in encode/decode_op_array into
681           encode/decode_op to make code more readable
682         * make decode_class_entry use new functions in ea_restore.c
683         * readded line-number encoding
684         * bumped up encoder version to 4 until new loader is in place
685
686 2005-07-10 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
687
688         * Renamed some macros from MMC (mmcache) to EA (eg MMCG is now EAG)
689         * Added eA file header to mm.c, mm.h and x86-spinlocks.h
690         * Readded a hack to the loader to prevent zend2 segfaults
691
692 2005-07-09 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
693
694         * A compile fix for php4 (bug #1235017)
695         * Removed atexit code that only produced segfaults and didn't work
696           (Patch from Rob Foehl <rwf at loonybin.net>)
697         * Code clean up and compile fixes for VC.net + VC.net project files update
698           (Based on patch #1234919)
699         * Future check warning was done on uninitialised buf.
700         * Some code clean ups and updated VS6 project files.
701
702 2005-07-07 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
703
704         * Added get_zend_destroy_property_info function to ea_restore.h
705         * Code refactoring needed for the new encoder. Moved all store/calc
706           functions to ea_store.c and all restore/fixup functions to ea_restore.c
707
708 2005-07-06 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
709
710         * A compile fix for zend engine 1.
711         * Documented namespace option
712         * New debug/log code. Make the code a lot cleaner and easier
713           for the user to debug eaccelerator.
714
715 2005-06-27 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
716
717         * Fixed a buffer overflow in eaccelerator.c and cache.c. A string longer
718           then 8 bytes was copied in a char array of length 8. This isn't a
719           security risk because the overflowed bytes were directly overwritten
720           by other values. This fixes bug 1228096 which was caused by the
721           bufferoverflow detection in FC4.
722           http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
723
724 2005-06-24 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
725
726         * The future check is removed because mtime are only checked on changes
727           so caching files from the future isn't a problem.
728
729 2005-06-23 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
730
731         * Applied patch 1226111
732         * Added a warning message when php scripts have a modification time in
733           in the future and the debug is enabled.
734
735 2005-06-20 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
736
737         * Set the test value shared memory to 32mb instead of 64mb because the
738           test will fail on 2.6 kernels where 32mb is the default value. (#1203253)
739         * Reverted the patch for the gc_maxlifetime setting when using
740           user functions for the session handler. I can't find a way to
741           access the current value instead of the ini setting.
742           Using the session api is the preffered session handling way anyway.
743
744 2005-05-22 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
745
746         * Bumped version to 0.9.4-dev
747         * Changed hash_mm prototype in eaccelerator.h to non-inline (Compaq c compiler)
748         * Fixes from patch 1206311 + some unused variable clean ups
749
750 2005-05-18 Franck Tabary <franck34 at users.sourceforge.net>
751
752         * released eAccelerator 0.9.3 final
753
754 2005-05-16 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
755
756         * Added --without-eaccelerator-use-inode configure switch to disable the use
757           of inode numbers for the hash keys (Feature request 1201159). The default
758           behaviour doesn't change.
759         * Fix for bug 1202296 based on patch 1202708
760
761 2005-05-15 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
762
763         * Compile fix for bug 1201564.
764
765 2005-05-14 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
766
767         * The session lifetime patch only fixed the problem when using one type of session handler. It's now
768           also fixed for the other type of session handler.
769
770 2005-05-12 Franck Tabary <franck34 at users.sourceforge.net>
771
772         * released eAccelerator 0.9.3-rc2
773
774 2005-05-11 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
775
776         * Fix for must constructor related problems with encoded scripts and php5. Also a fixes
777           memory leak in the loader. (Thanks larnot)
778
779 2005-05-10 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
780    
781         * Added some includes to satisfy VC.NET (thanks to dakalka, patch 1198522)
782         * This patch adds the right destructor for the propertiesinfo hashtable, but it doesn't fix bug 1179270
783         * Updated README.win32 with some extra information from Larnot
784
785 2005-05-09 Franck Tabary <franck34 at users.sourceforge.net>
786
787         * released eAccelerator 0.9.3-rc1
788
789 2005-05-09 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
790
791         * Fixes the segfault when loading encoded script with eloader and php5
792         * Commited README.win32 with instructions to compile eAccelerator on windows
793         * Add the destructor to properties info hashtable in restore_class_entry, fixes bug 1179270
794
795 2005-05-06 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
796
797         * Patch fixing eLoader compilation.
798
799 2005-05-05 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
800
801         * This patch fixes some stuff concerning configuration. With this patch
802           some parts that are forgotten with the code split are fixed.
803           They are also needed to compile eA with VC. The other stuff should make it possible
804           to compile eA as a static module for php.
805         * Updated VC project files
806
807 2005-05-02  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
808
809         * Patch fixing php 5 constructor problems. Fixes bugs 1179264, 1121757 and 1099693
810         * Added switch -w to encoder so you can encode file without the check for eloader. This is
811           based on patch 1191147 with some fixes.
812
813 2005-04-26  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>
814
815         * The first part of the code refactoring. In this part the monolitic
816           eaccelerator.c file has been split up in more logical blocks.
817           - cache.c/cache.h contains the procedure for shm.c/session.c/content.c to add user_cache entries to the ea cache
818           - shm.c/shm.h contains the eaccelerator shared memory functions
819           - session.c/session.h contains the session related stuff
820           - webui.c/webui.h contains all stuff related to the webinterface and disassembler
821           - debug.c/debug.h contains some procedures to print debug information
822           - content.h contains the php content caching prototype instead of eaccelerator.h
823         * Added --without-eaccelerator-shared-memory and  --without-eaccelerator-webui configure switches
824        
825         Bugfixes included:
826         * Patch 1188510 eaccelerator_compile_file typos
827         * Patch 1189792 session life time patch
828         * Patch 1167069 HAS_ATTRIBUTE fix with FreeBSD 4.x
829         * Patch 1166707 loader patch for OOP functions in PHP5
830         * Patch 1173095 mm_alloc & mm_free clash with libirc
831         * Fix for 1178588, 1153030 and patch 1189852. Fixes the endless loop when reseting a non array.
832           The optimisation for that caused this is removed for zend engine 2 and 1 because
833           php >= 4.3.11 is also affected, so this will be useless in some time.
834
835 2005-01-14  Shin Seung Woo <segv74 at gmail.com>
836
837         * fixes 1099498 Problems with IMP H3 (Horde) when restarting apache2
838           ( bug was lied on fix_zval(), it didn't check IS_CONSTANT_INDEX flag. )
839
840 2005-01-06  Shin Seung Woo <segv74 at gmail.com>
841
842         * fix for bug 1091815. ( Encoded files and php4.3.10 )
843
844 2005-01-05  Shin Seung Woo <segv74 at gmail.com>
845
846         Fixed following bugs:
847         * 1092128 Horde-hashs int the sourcecode of eaccelerator.c
848         * 1091960 include_once include files multiple times
849        
850 2004-12-28  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
851
852         * encoder.php Fix references to "oloader".
853
854 2004-12-28 Reiner Jung <r.jung at think-e.com.br>
855
856         * eAccelerator 0.9.2a release
857
858 2004-12-27  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
859
860         * Move encoder version information to eaccelerator.h, today
861         this information are in two places, encoder.h and loader.h
862         now it is unified.
863         * Some updates "mmcache" -> "eAccelerator".
864
865 2004-12-27  Reiner Jung <r.jung at think-e.com.br>
866
867         * eAccelerator 0.9.2 release.
868
869 2004-12-27  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
870
871         * encoder.c Increment encoder version.
872         * encoder.php Fix name of standalone loader "eloader".
873         * win32/* build files for VS6, Thanks to Lyle Arnot.
874         * accelerator_version.h Release updated to 0.9.2.
875
876 2004-12-27  Shin Seung Woo <segv74 at gmail.com>
877
878         * optimize.c Fix array -= += .= bug in PHP5.
879         * Pretty disassembler's output.
880         * Change FE_FETCH's opcode type from EXT_FETCH to EXT_FE (FE = foreach).
881
882 2004-12-25  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
883
884         * win32/* build files for Visual Studio, now works in Win32. Thanks
885         Lyle Arnot for provide this files.
886         * eLoader added eLoader is a standalone loader for encode files.
887         * eaccelerator.name_space config parameter added. Patch 1090379.
888         * fix foreach error in PHP 4.3.10. Thanks to Ilkka Huotari.
889         * encoder.php fix error message when eAccelerator are not loaded.
890
891 2004-12-24  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
892
893         * loader.c fixed constant COMPILE_DL_ELOADER. Thanks to Lyle A.
894
895 2004-12-23  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
896
897         * COPYING license file fixed.
898         * Fixed compilation errors under Win32 and old versions of gcc.
899
900 2004-12-22 ReinerJ <reinerj at users.sourceforge.net>
901
902         * eaccelerator.ini for distrib which have /etc/php.d
903
904 2004-12-22 Franck34 <franck34 at users.sourceforge.net>
905
906         * README file updated
907
908 2004-12-22  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
909
910         * Segmentation fault problems fixed.
911
912 2004-12-19  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
913
914         * Segv patchs for PHP5 applyed.
915         * Some bug fixes to work on PHP4 and PHP5.
916
917 2004-12-09  Everaldo Canuto <everaldo_canuto at yahoo.com.br>
918
919         * first public release 0.9.0 based on Turck MMCache.
Note: See TracBrowser for help on using the browser.