source: eaccelerator/trunk/ChangeLog @ 388

Revision 388, 42.4 KB checked in by bart, 7 months ago (diff)

Include the resolve path function from php so it is available for older PHP
versions as well. Includes that start  file:// work now.

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