Debian Codegraph @

ChangeLog

raw
1 _ ___ ____ ____ ____
2 |_|_ _ / _ \/ ___/ ___|| _ \ _ __ ___ _ __ ___
3 _|_||_| | | | \___ \___ \| |_) | | '_ ` _ \| '_ ` _ \
4 |_||_|_| | |_| |___) |__) | __/ | | | | | | | | | | |
5 |_|_|_| \___/|____/____/|_| |_| |_| |_|_| |_| |_|
6
7 OSSP mm - Shared Memory Allocation
8
9 ChangeLog
10 =========
11
12 Changes between 1.4.1 and 1.4.2 (10-Aug-2006 to 15-Aug-2006)
13
14 *) Remove a trailing whitespace in mm.pod which
15 confused pod2html(1) and generated bad output.
16 [Neil Conway <[email protected]>]
17
18 Changes between 1.4.0 and 1.4.1 (02-Sep-2005 to 10-Aug-2006)
19
20 *) Add new API function MM_reset() and mm_reset().
21 [Neil Conway <[email protected]>]
22
23 *) Upgraded build environment to GNU shtool 2.0.6,
24 GNU libtool 1.5.22 and GNU autoconf 2.60.
25 [Ralf S. Engelschall]
26
27 *) Fix spelling errors in manual page mm(3) and corrected
28 description of mm_sizeof() function.
29 [Neil Conway <[email protected]>]
30
31 Changes between 1.3.1 and 1.4.0 (12-Sep-2003 to 02-Sep-2005)
32
33 *) Optimize insertion of free memory chunks by merging with
34 the spare area if possible to decrease memory fragmentation.
35 [<[email protected]>]
36
37 *) Fix mm_realloc() function: If the memory chunk passed to mm_realloc()
38 can't be extended and a new chunk must be allocated, the old memory
39 is copied into the new chunk with a call to memcpy(3). However, the
40 used size is the length of the new data and will cause memcpy(3) to
41 access memory beyond the old data chunk's boundaries.
42 [Kirk Petersen <[email protected]>]
43
44 *) Upgraded build environment to GNU Libtool 1.5.20 and GNU shtool 2.0.2
45 [Ralf S. Engelschall]
46
47 *) Updated all copyright messages for year 2005.
48 [Ralf S. Engelschall]
49
50 Changes between 1.3.0 and 1.3.1 (07-Mar-2003 to 12-Sep-2004)
51
52 *) Upgraded build environment to GNU Shtool 2.0.1,
53 GNU Libtool 1.5.8 and Autoconf 2.59.
54 [Ralf S. Engelschall]
55
56 Changes between 1.2.2 and 1.3.0 (23-Dec-2002 to 07-Mar-2003)
57
58 *) Correctly cleanup under MM_SHMT_MMZERO in case of a shared
59 memory segment creation error.
60 [Ralf S. Engelschall]
61
62 *) Close the filedescriptor of the underlying object immediately
63 after mmap(2)'ing it in case of MM_SHMT_MMPOSX, MM_SHMT_MMZERO
64 and MM_SHMT_MMFILE.
65 [Ralf S. Engelschall, Joe Orton <[email protected]>]
66
67 Changes between 1.2.1 and 1.2.2 (28-Jul-2002 to 23-Dec-2002)
68
69 *) Stripped trailing whitespaces from all files in source tree.
70 [Ralf S. Engelschall]
71
72 *) Upgraded build environment to GNU Shtool 1.6.2, Libtool 1.4.3
73 and Autoconf 2.57.
74 [Ralf S. Engelschall]
75
76 *) Use "close-on-exec" semantic on internal file descriptors if
77 underlying platform supports this feature. This makes sure the file
78 descriptors are closed by the kernel upon execution of exec(3) by
79 the application.
80 [Ralf S. Engelschall, Martin Kraemer <[email protected]>]
81
82 *) Fixed Makefile.in: $(TRUE) was not defined.
83 [Will Day <[email protected]>]
84
85 *) Updated all copyright messages with forthcoming year 2003,
86 added OSSP project as secondary copyright holder, added standard
87 OSSP ASCII-art logo to documents, etc.
88 [Ralf S. Engelschall]
89
90 Changes between 1.2.0 and 1.2.1 (26-Jul-2002 to 28-Jul-2002)
91
92 *) Fixed the package rolling: configure.ac was missing because
93 of a bug in devtool.conf.
94 [Kean Johnston <[email protected]>]
95
96 Changes between 1.1.3 and 1.2.0 (01-Jul-2000 to 26-Jul-2002)
97
98 *) Fixed race condition in temporary file creation.
99 [Sebastian Krahmer, SuSE Security]
100
101 *) Make sure that under MM_SEMT_IPCSEM (mutex implementation method is
102 SysV IPC semget) the {mm,MM}_permission() also changes the owner of
103 the semaphore.
104 [Jonathan Kamens <[email protected]>]
105
106 *) Add support for IRIX 6.5 and other Unix flavors which have
107 MAXPATHLEN in <sys/param.h>
108 [Joe Orton <[email protected]>]
109
110 *) Removed the old fbtool stuff for reporting the success/failure
111 because after 3 years of existence we really know that OSSP mm
112 works on every reasonable Unix flavor on this earth.
113 [Ralf S. Engelschall]
114
115 *) Upgraded to GNU autoconf 2.53, GNU libtool 1.4.2 and GNU shtool
116 1.6.1 build environment (using OSSP devtool).
117 [Ralf S. Engelschall]
118
119 *) Changed home from http://www.engelschall.com/sw/mm/ to OSSP
120 http://www.ossp.org/pkg/lib/mm/ and official name from "MM" to
121 "OSSP mm" to follow name conventions in the OSSP project.
122 [Ralf S. Engelschall]
123
124 *) Removed variables from ANSI C function prototypes in mm.h
125 to avoid any potential conflicts in advance.
126 [Ralf S. Engelschall]
127
128 *) Adjusted year in copyright messages for 2002.
129 [Ralf S. Engelschall]
130
131 *) From Apache 2.0's MM patch set:
132 Make Autoconf test for maximum shared memory size support BEOS and
133 make decision cacheable.
134 [The Apache Software Foundation]
135
136 *) Fixed initializations of fdxxx variables in mm_core.c
137 [Alexander Farber <[email protected]>]
138
139 *) Added $(DESTDIR) support to Makefile.in. This makes life easier
140 for RPM package building.
141 [Brad <[email protected]>, Ralf S. Engelschall]
142
143 *) Fixed typo in mm.h: (still unused) definition of SIZEOF_mem_core_fd
144 lacked a closing parenthesis.
145 [Alexander Farber <[email protected]>]
146
147 *) Added required "(void *)" cast to MAP_FAILED in Autoconf stuff.
148 [Albert Chin-A-Young <[email protected]>,
149 Joe Orton <[email protected]>]
150
151 Changes between 1.1.2 and 1.1.3 (21-May-2000 to 01-Jul-2000)
152
153 *) Upgraded to GNU libtool from version 1.3.4 to 1.3.5
154 and upgraded GNU shtool from version 1.4.9 to 1.5.0
155 [Ralf S. Engelschall]
156
157 *) Added OS/390 support to config.sub.
158 [Greg Ames <[email protected]>]
159
160 *) Fixed type-warnings related to `char' vs. `unsigned char' in mm_test.c
161 [Ralf S. Engelschall]
162
163 *) Let the internal mm_insert_chunk() function detect the situation
164 where a chunk of memory is inserted twice (usually caused by the
165 application through multiple and this way illegal calls to mm_free() with
166 the same argument). This especially makes sure the internal list
167 of free chunks is not corrupted.
168 [Jeffrey Hsu <[email protected]>, Ralf S. Engelschall]
169
170 *) Fixed typos in mm.pod.
171 [Ralf S. Engelschall]
172
173 Changes between 1.1.1 and 1.1.2 (30-Apr-2000 to 21-May-2000)
174
175 *) Fixed some logic in mm's configuration that removes -g from CFLAGS.
176 It incorrectly collapsed " -g " to "", which leaded to invalid CFLAGS.
177 [Jeff Trawick <[email protected]>]
178
179 *) Fixed shared memory decisions on Linux:
180 We now avoid using MM_SHMT_MMANON (seems to be completely
181 broken on 2.0), MM_SHMT_MMZERO (seems like Linux 2.0 hates this
182 classical combination and return EINVAL for unknown reasons) and
183 MM_SHMT_IPCSHM (requires that a IPC shm filesystem is mounted
184 since 2.3). So, technically MM_SHMT_IPCSHM is preferred if the shm
185 filesystem exists, else we count on MM_SHMT_MMFILE now.
186 [Ralf S. Engelschall]
187
188 Changes between 1.1.0 and 1.1.1 (30-Apr-2000 to 30-Apr-2000)
189
190 *) Fixed compilation under Solaris where the SunOS4 and BS2000 kludges
191 for <sys/shm.h> conflicted with the Sun vendor includes (which
192 unfortunately use the defines).
193 [Ralf S. Engelschall, Jeff Beard <[email protected]>]
194
195 Changes between 1.0.12 and 1.1.0 (28-Sep-1999 to 30-Apr-2000)
196
197 *) Fixed `make test' feedback procedure in Makefile.in now that the
198 platform list is stored in the PORTING file.
199 [Ralf S. Engelschall]
200
201 *) Renamed file CHANGES to ChangeLog.
202 [Ralf S. Engelschall]
203
204 *) Fixed pointer arithmentic in memset/memcpy replacements
205 by casting `void *' arguments to `char *'.
206 [Sascha Schumann <[email protected]>]
207
208 *) Added BS2000 support for <sys/shm.h> stuff.
209 [Martin Kraemer <[email protected]>]
210
211 *) Added an include for <fcntl.h> to maximum shared mem segment size
212 check in aclocal.m4. This especially fixes compile problems under for
213 Solaris 8.
214 [Alexander Demenchuk <[email protected]>, Greg Gears <[email protected]>]
215
216 *) Fixed a warning under IRIX related to size_t comparisons
217 [Ralf S. Engelschall]
218
219 *) Added support for IBM OS/390
220 [Jeff Trawick <[email protected]>]
221
222 *) Upgraded to GNU libtool from version 1.3.3 to 1.3.4
223 and upgraded GNU shtool from version 1.4.6 to 1.4.9
224 [Ralf S. Engelschall]
225
226 *) Upgraded config.guess to GNU Pth's version and
227 use "/sbin/sysctl" under FreeBSD instead of just "sysctl"
228 [Jeff Trawick <[email protected]>]
229
230 *) Added platform support for the esoteric Unix look-alike BeOS
231 [David Reid" <[email protected]>]
232
233 *) Added `make check' as an alias for `make test'
234 [Ralf S. Engelschall]
235
236 *) Adjusted copyright messages for year 2000
237 [Ralf S. Engelschall]
238
239 *) Fixed Autoconf checks for SunOS
240 [Ralf S. Engelschall]
241
242 *) Fixed a bug in aclocal.m4's AC_CHECK_DEFINE macro.
243 [Ralf S. Engelschall]
244
245 *) Updated the manual page (typos, fixes, etc.)
246 [Ralf S. Engelschall]
247
248 *) Splitted README into README, PORTING and THANKS document.
249 [Ralf S. Engelschall]
250
251 Changes between 1.0.11 and 1.0.12 (06-Sep-1999 to 28-Sep-1999)
252
253 *) Recreated configure with latest Autoconf 2.13.1 (snapshot)
254 *) Always use --mode=xxx for libtool calls to avoid problems under
255 situations where $CC doesn't allow libtool to guess the mode
256 correctly.
257
258 Changes between 1.0.10 and 1.0.11 (27-Aug-1999 to 06-Sep-1999)
259
260 *) Cleaned up various file permission in source tree
261 *) Enhanced mm-config.in: new --all option and less newlines
262 *) Added support --silent to libtool glue code in aclocal.m4
263 *) Upgraded to GNU Pth's more recent config.{guess,sub}
264 *) Upgraded to GNU shtool 1.4.6
265 *) Fixed --section for mm-config in Makefile.in
266 *) Added `void *' casts to MAP_FAILED (= -1) values to avoid
267 warnings under some platforms.
268 *) Fixed a few typos in mm.pod
269
270 Changes between 1.0.9 and 1.0.10 (02-Jul-1999 to 27-Aug-1999)
271
272 *) Changed "make dist" and "make snap" to use "shtool tarball"
273 *) Added #define KERNEL for SunOS to get SHM_R und SHM_W values.
274 *) Upgraded to GNU libtool 1.3.3
275 *) Upgraded to GNU shtool 1.4.5
276 *) Downgraded required Autoconf version to 2.12
277 *) Added MM version number to test report
278 *) Added --enable-batch
279 *) Moved mm_lock_mode in mm.h to top to avoid warnings
280
281 Changes between 1.0.8 and 1.0.9 (24-Jun-1999 to 02-Jul-1999)
282
283 *) Fixed a nasty bug related to {MM,mm}_[un]lock():
284 an additional semicolon broke the semantics.
285 *) Upgraded to released shtool 1.4.0
286 *) Fixed `make test'
287
288 Changes between 1.0.7 and 1.0.8 (22-Jun-1999 to 24-Jun-1999)
289
290 *) Added important MAP_FAILED fallback also to Autoconf stuff
291 *) Upgraded to latest shtool 1.3.0-dev to fix two Awk problems
292
293 Changes between 1.0.6 and 1.0.7 (06-Jun-1999 to 22-Jun-1999)
294
295 *) Upgraded to latest shtool 1.3.0-dev
296 *) Avoid -g under non-debugging situation
297 *) Complain with a fatal error message when MM_SHM_MAXSEGSIZE
298 couldn't be determined.
299 *) Updated config.guess/config.sub
300 *) Fixed a nasty permission bug for the lock files:
301 they were opened write-only, but at least fcntl()
302 requires them to be opened read-write.
303 *) Check return value of mm_core_lock() in mm_alloc.c
304
305 Changes between 1.0.5 and 1.0.6 (02-Jun-1999 to 06-Jun-1999)
306
307 *) Fixed mm_malloc() function: it returned the wrong pointer when a chunk
308 was reused and forgot to lock/unlock the data structures.
309 *) Fixed internal best-fit algorithm for finding a free memory chunk:
310 - things got inserted out of order in the list
311 - when chunk is found which matches size exactly it stops immediately
312 - lowered chunk splitting threshold to MIN(2*size,128)
313 *) Moved internal definitions in mm.h to private section
314
315 Changes between 1.0.4 and 1.0.5 (21-May-1999 to 02-Jun-1999)
316
317 *) Fixed output of mm-config.in
318 *) Fixed output of configure --help
319 *) Upgraded to GNU libtool 1.3.2
320 *) Upgraded to shtool 1.2.9
321 *) Made libtool calls visible but use --quiet
322 *) Hint user to send feedback only on errors or for new platform
323 *) Removed unnecessary "elf" hint for FreeBSD from config.guess
324
325 Changes between 1.0.3 and 1.0.4 (15-May-1999 to 21-May-1999)
326
327 *) Fixed maximum memory size determination and internal handling
328 *) Documented the mm_lib_xxx() functions.
329
330 Changes between 1.0.2 and 1.0.3 (26-Apr-1999 to 15-May-1999)
331
332 *) Added {MM,mm,mm_core}_permission() function
333 *) Fixed version information and mod_ssl URL in manual page
334 *) Upgraded config.{guess,sub} from libtool 1.3 distribution
335 *) Upgraded to GNU libtool 1.3
336 *) Upgraded to shtool 1.2.7
337 *) Fixed public includes for xx_t types
338 *) Fixed mm_vers.c and shtool type inside CVS
339
340 Changes between 1.0.1 and 1.0.2 (18-Apr-1999 to 26-Apr-1999)
341
342 *) Upgraded to GNU libtool 1.2f
343 *) Upgraded to shtool 1.1.0
344
345 Changes between 1.0.0 and 1.0.1 (18-Mar-1999 to 18-Apr-1999)
346
347 *) Fixed "dist" Makefile target to not distribute CVS stuff
348 *) Upgraded lshtool to the latest version
349 *) Const'ification of the API
350
351 Changes between 1.0b6 and 1.0.0 (18-Mar-1999 to 28-Mar-1999)
352
353 *) Finally cleaned up and polished the mm.pod manual page.
354 *) Fixed mm-config program
355
356 Changes between 1.0b5 and 1.0b6 (18-Mar-1999 to 18-Mar-1999)
357
358 *) Added {MM,mm}_maxsize() to manual page
359 *) Changed MM_create() signature to match mm_create()
360
361 Changes between 1.0b4 and 1.0b5 (15-Mar-1999 to 18-Mar-1999)
362
363 *) Make sure the maximum allocateable size takes
364 the overhead of the memory pool into account.
365 *) Fixed lshtool and this way hex version string
366 *) Fixed Makefile for mm_test target dependecies
367 *) Added {MM,mm}_maxsize() function to let one
368 determine in advance the maximum allocateable pool
369
370 Changes between 1.0b3 and 1.0b4 (15-Mar-1999 to 15-Mar-1999)
371
372 *) Added mm-config.pod manpage
373 *) Split mm-config --ldflags into --ldflags and --libs
374 *) Removed TODO and fulltest files
375
376 Changes between 1.0b2 and 1.0b3 (13-Mar-1999 to 15-Mar-1999)
377
378 *) Added Autoconf check for determining max shared mem segment size
379 *) Changed -1 to MAP_FAILED when available
380 *) Replaced 8KB default shared memory segment size with max size
381 *) Added mm_core_maxsegsize() function
382 *) Use a remembered offset for mmap() on temporary files
383 *) Imported source tree into CVS
384 *) Added read-only locking support
385 *) Fixed MMFILE and MMZERO variants
386
387 Changes between 1.0b1 and 1.0b2 (12-Mar-1999 to 13-Mar-1999)
388
389 *) Updated the mm.pod manual page.
390 *) Split README into README and LICENSE files
391 *) Fixed becho problems
392 *) Added a test suite summary
393 *) Added INSTALL file
394 *) Reduced mm_test's memory size from 1MB to 512KB
395 *) Fixed unsigned long and %X related warnings
396
397 Changes between 1.0b0 and 1.0b1 (11-Mar-1999 to 12-Mar-1999)
398
399 *) Enhanced mm_test
400 *) Added {MM,mm}_available() function
401 *) Fixed MMZERO
402 *) Fixed IPC Semaphore initialization
403 *) Added --with-{sem,shm}=TYPE options
404 *) Fixed "make test" and mm_memory_display() function
405 *) Added mm_lib.c source with mm_lib_xx() functions
406
407 Changes between 0.9.0 and 1.0b0 (10-Mar-1999 to 11-Mar-1999)
408
409 *) Switched to GNU Autoconf and GNU Libtool
410
411 Changes between GENESIS and 0.9.0 (Jan-1999 to 10-Mar-1999)
412
413 *) Created initial version on FreeBSD
414 *) Ported to Linux and Solaris
415