root/eaccelerator/branches/new-cache/ChangeLog

Revision 335, 38.1 kB (checked in by bart, 1 year ago)

Branch trunk for new caching code

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