Skip to content

Commit 4639e9b

Browse files
committed
initial import
1 parent 919dc24 commit 4639e9b

File tree

180 files changed

+47117
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+47117
-0
lines changed

CHANGELOG

+249
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,249 @@
1+
2+
3.1.2 : 2008-12-12
3+
4+
- pecl package.xml/build fixes (bjori)
5+
6+
3.1.1 : 2008-12-12
7+
8+
- PHP4 compatibilty break
9+
- apc_pool allocator (Gopal)
10+
- doubly-linked sma allocator (Shire)
11+
- php 5.3 gc compatibility (Gopal)
12+
- APCIterator for easy access (Shire)
13+
- apc_delete_file (Shire)
14+
- apc_inc/apc_dec/apc_cas functions (Shire)
15+
- apc.canonicalize (Gopal)
16+
- apc.preload_path (Gopal)
17+
- apc.rfc1867_ttl (Shire)
18+
- apc.file_md5 (Shire)
19+
- consolidate locking macros (Shire)
20+
- remove futex/TSRM locks (Shire)
21+
- non-blocking semaphore locks (Shire)
22+
- zval* object rework (Gopal)
23+
24+
3.0.19: 2008-05-14
25+
- Safe-mode and fast-cgi fixes
26+
- Fix double-free of builtin_functions
27+
- php 5.3 fixes
28+
29+
3.0.18: 2008-03-29
30+
- Revert apc_expunge_cb bug-fix
31+
- Misc memleaks
32+
33+
3.0.17: 2008-03-26
34+
- Crash fixes
35+
- Fix apc_add() cache expunge bug (Rasmus)
36+
- Added parameter to apc_fetch to determine success/failure when fetching booleans (shire)
37+
- Fix misc. memleaks (shire)
38+
39+
3.0.16: 2007-12-26
40+
- Fix for longstanding cache-full crash (Christian Seiler)
41+
http://news.php.net/php.pecl.dev/4951 for the details
42+
- Added optional shm unmap on a fatal signal feature (Lucas Nealan)
43+
- Added PTHREAD_MUTEX_ADAPTIVE_NP option pthread locks (Paul Saab)
44+
- Minor cleanups (Lucas Nealan)
45+
- Added configure option to enable apc_cache_info('filehits') (Shire)
46+
47+
3.0.15: 2007-10-18
48+
- Eliminate a per-request time() syscall (Rasmus)
49+
- Added rfc1867 prefix, name, and freq ini options (Shire)
50+
- Allow deletion of individual user cache entries via apc.php (Sara)
51+
- Fix overzealous cleanup during RSHUTDOWN (Gopal)
52+
- Fix memory alignment and locking issues (Gopal)
53+
- Make apc_compile insert/replace entries (Shire)
54+
- Make mixed inheritance recompile & cache afresh (Gopal)
55+
- Make nostat mode search include_path for canonicalization (Gopal)
56+
- ZTS & other compile fixes (Gopal, Edin, Shire)
57+
58+
3.0.14: 2007-03-21
59+
- Build fix (Shire)
60+
- Don't hook the upload hook if APC is disabled (Rasmus)
61+
- Local shadow cache support (Gopal)
62+
- Avoid uneccessary loops over op_arrays for "known" auto-globals (Gopal)
63+
- Fix apc_add() to overwrite timed out user entries (Rasmus)
64+
- Fix double inclusion of files with conditional classes in php4 (Gopal)
65+
- Allocator fixes to reduce fragmentation (Gopal)
66+
67+
3.0.13: 2007-02-24
68+
- File upload progress (Rasmus)
69+
- Pthread mutex and spin locks (Shire)
70+
- Recursive zval support for apc_fetch/_store (Shire, Gopal)
71+
- apc.stat_ctime flag for ctime checks (Rasmus)
72+
- Multiple key fetches with apc_fetch (Shire)
73+
- Canary checks for shm memory deallocation (Gopal)
74+
- Add hooks for external optimizer (Shire)
75+
- Obsolete and remove apc optimizer (Gopal)
76+
- APC info changes - cache insert rate, hit and miss rates (Shire)
77+
- Fix apc_load_constants (Gopal)
78+
- Rewrite dump opcode code to use vld (Gopal)
79+
- Use apc_[ewn]print functions for error reporting (Shire)
80+
- Auto global fixes and refactoring (Gopal, Shire)
81+
- Fix memory leaks in object serialization (Ilia)
82+
- Memory cleanup code for destructor order (Gopal)
83+
- Win32 build fixes (Ilia, Wez)
84+
- ZTS and Php 4 build fixes (Bjori)
85+
- Add apc_add() function (Rasmus)
86+
- Add optional limited flag to apc_sma_info() (Rasmus)
87+
88+
3.0.12p2: 2006-09-05
89+
- Package version up
90+
91+
3.0,12p1: 2006-09-05
92+
- PHP4 build fixes
93+
94+
3.0.12: 2006-09-05
95+
- PHP 5.2 compatibility (Gopal)
96+
- TSRM fixes (Gopal)
97+
- Add extra flags to op_array->reserved to improve op array
98+
processing code (Gopal)
99+
- Fix crashes in optimizer and cli mode (Ilia)
100+
- Optimizer fixes for PHP5 (Ilia, Gopal)
101+
- Allow multiple inclusions of a file with a dynamic class (Gopal)
102+
- Php 4 function table and properties fixes (Gopal)
103+
- Fix memory leaks in apc_cache_info (Gopal)
104+
105+
3.0.11: 2006-08-16
106+
- Made --enable-apc-mmap the default compile option (for real this time)
107+
- Add an optional flag to apc_cache_info() and some apc.php tweaks to make it
108+
only fetch header information to make it useful when you have tens of
109+
thousands of entries. (Brian Shire)
110+
- 64-bit fixes (George)
111+
- Don't mix Full Path and Inode keys (George)
112+
- Override ZEND_INCLUDE_OR_EVAL opcode (when possible) to speed up use of
113+
require_once() and include_once() statements. (Sara)
114+
- Add a non-blocking write_lock for cache inserts. This is a better approach
115+
to prevent cache slams and deprecates the slam_defense setting. (Rasmus)
116+
- A bit of work on the optimizer. (Sara)
117+
- Various memory issues resolved. (Gopal)
118+
119+
3.0.10: 2006-03-11
120+
- Add apc.stat ini flag which defaults to 1. If set to 0, the main script and any fullpath
121+
includes will not be stat'ed for any changes. You will have to restart the server if you
122+
change anything. This mode increases performance quite a bit, especially if you have a
123+
lot of includes.
124+
125+
- Get rid of the lock safety net hack I added in 3.0.9. It seems to cause more problems
126+
than it solves. I'll need to revisit locking and signal handling at some point soon.
127+
128+
3.0.9: 2006-03-04
129+
- Eliminate rand() call when slam_defense is not set (Rasmus)
130+
- Fix for __isset problem (Gopal)
131+
- Rewrite allocator from a "best fit" to a "next fit" algorithm (Rasmus)
132+
- Added a Cache Full counter so we have an idea how many times the segment has filled up causing an expunge (Rasmus)
133+
- Report back the correct number of available bytes in the segment instead of the allocated bytes. (Rasmus)
134+
- Add cache busy flag which is set when an expunge is underway (Rasmus)
135+
- Add automatic serialization of objects in apc_store() (Marcus)
136+
- 64-bit .ini flag fix (Rasmus)
137+
- Static members fix (Gopal)
138+
- sma_cleanup() mem leak fix (Rasmus)
139+
- Fix for http://pecl.php.net/bugs/5311 (Rasmus)
140+
- Fix autoglobals JIT bug (Gopal)
141+
- Fix instance bug (Gopal)
142+
- Add a lock cleanup safety net to request shutdown (Rasmus)
143+
- Fix apc.slam_defense edge-case bug (Rasmus)
144+
- User entry memory usage tracking support (Ilia)
145+
- Allow keys used in apc_store/apc_fetch/apc_delete to be binary safe and prevent conflicts between keys that are found at the start of other keys. (Ilia)
146+
147+
3.0.8: 2005-08-24
148+
Fix invalid free in globals destructor introduced in 3.0.7 (Rasmus)
149+
Cache corruption fix in cache-full cleanup code (Gopal)
150+
151+
3.0.7: 2005-08-16
152+
- Fix to apc.php to show final segment in frag chart. (Ilia)
153+
- A couple of win32 fixes. (Frank)
154+
- Add apc.enable_cli ini directive. (Rasmus)
155+
- Add test cases. (Marcus)
156+
- Fix apc_define_constants() bug - http://pecl.php.net/bugs/5084 (Rasmus)
157+
- Simplify user cache handling by removing the user_cache_stack (Rasmus)
158+
- Fix apc_fetch() memory corruption (Andrei,Rasmus)
159+
- Added apc.max_file_size INI setting that allows exclusion of large files from being cached. Default file size limit, 1 megabyte. (Ilia)
160+
161+
3.0.6: 2005-07-30
162+
- Added apc.php to package.xml file.
163+
- Track per-entry memory usage. (Val)
164+
- Various apc.php fixes and enhancements. (Ralf, Ilia, Rasmus)
165+
- fcntl locking robustness fixes. (Rasmus)
166+
- Shared read-locks where possible. (Rasmus)
167+
- Added file_update_protection configuration parameter. (Rasmus)
168+
- Windows ZTS fixes (Frank)
169+
170+
3.0.5: 2005-07-27
171+
- Make it easier for sapis that only populate file_handle->filename to use APC. (Rasmus)
172+
- Support extensions such as bcompiler that need to hook into compile_file. (Val)
173+
- Ralf Becker's apcgui code has now become the default apc.php status page. (Ralf, Rasmus, Ilia)
174+
- Segfault in cache cleanup code (Ilia, Rasmus)
175+
176+
3.0.4: 2005-07-18
177+
- Add win32 support (Edin )
178+
- Add --with-apxs switch to work around problem when loading APC into Apache binary compiled with LFS switches (Rasmus)
179+
- A couple of other minor fixes
180+
181+
3.0.3: 2005-07-05
182+
- Fix compile problem against PHP 5.0.x
183+
184+
3.0.2: 2005-07-05
185+
- Better shm error message
186+
187+
3.0.1: 2005-07-05
188+
- PHP4 build fix
189+
190+
3.0: 2005-06-23
191+
- PHP 5.1 support (Arun, Gopal, Rasmus)
192+
- Major Inheritance bug fix (Arun, Gopal)
193+
194+
2.0: 2003-02-10
195+
- ground-up rewrite sharing none of the original source code (djc)
196+
197+
1.0.10:
198+
- merge mmap / shm code to be in one file, module supports both modes now [mpb 2001-05-15]
199+
- added apc.mode config parameter [mpb 2001-05-15] NOTE: You'll have to add
200+
this parameter to your php.ini file to activate apc shm or mmap caching
201+
- generic source cleanup (missing includes, PATH_MAX usage etc) [mpb
202+
2001-05-15]
203+
- fixed: realpath return result checking in generate_key [mpb 2001-05-15]
204+
- updated: gui updated (extras/apc_gui-1.0.2.tar.gz)
205+
- experminental 'fast' cache-retrieval [djc 2001-05-20]
206+
- fixed regex support [gws 2001-05-16]
207+
- enhanced reader-writer lock support [rg 2001-05-07]
208+
209+
1.0.9:
210+
- fixed (?) memory alignment bug on 64 bit archiecures
211+
- added many cache visibiliy functions
212+
- added opional fcntl locks under shm version
213+
- numerous bug fixes
214+
215+
1.0.8:
216+
- added ability to detect and decompile compiled files placed as 'source'
217+
[gws,dw 2001-01-30]
218+
- fixed apc_rstat bug [gws 2001-01-29]
219+
- added hack to support included urls [gws 2001-01-30]
220+
- fixed apc_cache_index [mb 2001-01-31]
221+
- added multiple regex support [gs 2001-02-03]
222+
- added apc_cache_info [mb,gs 2001-02-03]
223+
224+
1.0.7:
225+
- partially fixed for Solaris [gws 2001-01-29]
226+
- fixed mtime support for relative includes [gws 2001-01-29]
227+
- code cleanup [yg,ta,gws 2001-01-29]
228+
229+
1.0.6:
230+
- support for mtime in mmap [yg,gws 2001-01-27]
231+
- fixed indexed-array initialization bug [djc,gws 2001-01-27]
232+
233+
1.0.5:
234+
- support for relative include paths [djc,gws 2001-01-19]
235+
- class member array support fixed [djc 2001-01-18]
236+
- added apc_cache_index [gws 2001-01-18]
237+
238+
1.0.4:
239+
- support for class hierarchies greater than two levels deep [djc 2001-01-17]
240+
241+
1.0.3:
242+
- fixed support for class inheritance [djc 2001-01-16]
243+
244+
1.0.2:
245+
- support for inherited classes [gws 2001-01-15]
246+
- support for intialization of class variables and objects [gws 2001-01-13]
247+
248+
1.0.1:
249+
- added optional file modification time check [djc 2001-01-12]

0 commit comments

Comments
 (0)