📄 changelog
字号:
2001-02-22 Graeme Roy <graeme@epc.co.uk> * build/unix/mpalloc.exp, build/unix/mpatrol.exp, build/windows/mpatrol.def, build/windows/mpatrolmt.def, build/windows/mpalloc.def: Added the __mp_atexit() function. * doc/mpatrol.texi: Fixed a few problems that showed up in the 1.4.0 release. Added MemTrace from Frank Pilhofer to related software. * man/man1/hexwords.1: Fixed a formatting problem. * pkg/sdux/mpatrol.psf, pkg/pkg/prototype: Forgot to add pass/test10.c. * src/config.h, src/mpatrol.h, src/mpalloc.h: Define MP_CONST and MP_VOLATILE if C++ as well. * src/config.h: Added the MP_MAXFINIS definition. * src/info.c: Initialised the finicount field. * src/info.h: Added the finalisation function array. * src/info.h, src/option.h: Commented that some definitions must be kept up to date with mpatrol.h. * src/inter.c: Fixed a typing error on Windows platforms. Added the __mp_atexit() function. * src/inter.h, src/mpalloc.c, src/mpatrol.h: Added the __mp_atexit() function. * tools/mtrace.c: Added a call to __mp_atexit() to terminate the trace file.2001-02-21 Graeme Roy <graeme@epc.co.uk> * bin/mupdate: No longer build the documentation archives. * build/windows/Makefile, build/windows/NMakefile, build/unix/Makefile, build/unix/Makefile.aix, build/netware/Makefile, build/amiga/Makefile, build/amiga/SMakefile: Added dependencies for tools. Added mptools definitions. * build/unix/Makefile, build/unix/Makefile.aix: Added the mptools lint library. * doc/Makefile: No longer have a rule to make the documentation archive. * doc/README: Removed distinction between main distribution and documentation archive. * doc/mpatrol.txt, doc/mpatrol.html, doc/mpatrol.info, doc/mpatrol.guide: The documentation is now built automatically when a release is made so there is no point in having preformatted manual pages in CVS. * doc/mpatrol.texi: Removed all references to the documentation and manual page archives. Added the tools section. * doc/texinfo.tex: Updated to the latest version of texinfo.tex. * man/Makefile: Changed PAGES to CATPAGES. No longer have a rule to make the manual page archive. * man/README: Removed distinction between main distribution and manual page archive. * man/cat3/libmpalloc.3, man/cat3/libmpatrol.3, man/cat1/hexwords.1, man/cat1/mleak.1, man/cat1/mpatrol.1, man/cat1/mpedit.1, man/cat1/mprof.1, man/cat1/mpsym.1, man/cat1/mptrace.1, man/html/hexwords.html, man/html/libmpalloc.html, man/html/libmpatrol.html, man/html/mleak.html, man/html/mpatrol.html, man/html/mpedit.html, man/html/mprof.html, man/html/mpsym.html, man/html/mptrace.html: The manual pages are now automatically built when a release is made so there is no point in having preformatted manual pages in CVS. * man/man3/libmpatrol.3: Added information about mptools. * pkg/lsm/mpatrol.lsm: Updated file sizes. * pkg/rpm/build, pkg/rpm/mpatrol.spec, pkg/lsm/mpatrol.lsm: Removed references to the documentation and manual page archives. * pkg/zip/build.bat, pkg/tar/build, pkg/sdux/build, pkg/sdux/mpatrol.psf, pkg/rpm/mpatrol.spec, pkg/pkg/build, pkg/pkg/prototype, pkg/lha/build: Added the tools headers to include/mpatrol. Added libmptools. * tools/README: Documented that the package scripts already install mptools.2001-02-20 Graeme Roy <graeme@epc.co.uk> * build/windows/mpalloc.def, build/windows/mpatrol.def, build/windows/mpatrolmt.def, build/unix/mpalloc.exp, build/unix/mpatrol.exp: Added the __mp_stats() function. * doc/mpatrol.html, doc/mpatrol.info, doc/mpatrol.texi, doc/mpatrol.txt, doc/mpatrol.guide: Updated more of the manual. Added more functions. Final changes to get the documentation up to date. Phew! Added the example for MP_MALLOC(). * doc/refcard.tex: Added the C dynamic memory alternative functions and __mp_stats(). * extra/.gdbinit: Cannot break at __mp_trap() by running to _start() since the shared version of mpatrol will not work correctly when setting the environment.2001-02-19 Graeme Roy <graeme@epc.co.uk> * doc/mpatrol.html, doc/mpatrol.info, doc/mpatrol.texi, doc/mpatrol.txt, doc/mpatrol.guide: Added the removing mpatrol section.2001-02-18 Graeme Roy <graeme@epc.co.uk> * tools/mgauge.c: Didn't need the prologue handler.2001-02-16 Graeme Roy <graeme@epc.co.uk> * man/man3/libmpatrol.3, man/html/libmpatrol.html, man/cat3/libmpatrol.3: Added __mp_stats(). * src/inter.c, src/inter.h, src/mpalloc.c, src/mpatrol.h: Added __mp_stats(). * tests/pass/test2.c, tests/pass/test4.c, tests/pass/test10.c: Changed the format strings for pointers. * tools/mgauge.c, tools/mgauge.h: Added new files for a memory allocation gauge.2001-02-15 Graeme Roy <graeme@epc.co.uk> * doc/mpatrol.info, doc/mpatrol.texi, doc/mpatrol.txt, doc/mpatrol.guide, doc/mpatrol.html: Documented mtrace() and muntrace() now implemented. * man/man3/libmpatrol.3, man/html/libmpatrol.html, man/cat3/libmpatrol.3: Added the return address argument to the prologue and epilogue functions. * src/inter.c: Added return address arguments to the prologue and epilogue functions and fixed some bugs in __mp_strdup() and __mp_realloc() that would be triggered if they ran out memory. * src/mpalloc.c, src/info.h, src/inter.h, src/mpatrol.h: Added a return address argument to the prologue and epilogue functions. * tests/pass/test2.c: Added an extra return address argument to the prologue and epilogue functions. * tools/README: New file describing the tools directory. * tools/heapdiff.c, tools/heapdiff.h: New files for logging changes in the heap between two points in a program's execution. * tools/mtrace.c, tools/mtrace.h: New files implementating mtrace() and muntrace().2001-02-14 Graeme Roy <graeme@epc.co.uk> * build/windows/mpatrol.def, build/windows/mpatrolmt.def, build/unix/mpatrol.exp: Added library identifiers. * doc/mpatrol.guide, doc/mpatrol.html, doc/mpatrol.info, doc/mpatrol.texi, doc/mpatrol.txt: Added more things to do. * extra/.gdbinit: Added ability to set a breakpoint at __mp_trap(). Added allocstop, reallocstop and freestop. * extra/mpatrol.m4: New file for use with automake. * man/man3/libmpatrol.3, man/html/libmpatrol.html, man/cat3/libmpatrol.3: Changed the meaning of NOFREE and added an extra argument to __mp_iterate(). * pkg/sdux/build, pkg/sdux/mpatrol.psf, pkg/pkg/build, pkg/pkg/prototype, pkg/zip/build.bat, pkg/tar/build, pkg/lha/build, pkg/rpm/mpatrol.spec: Added mpatrol.m4 to installation. * src/inter.c, src/mpalloc.c, src/mpatrol.h: Added an extra argument to __mp_iterate(). * src/inter.c: Added the __mp_lib* functions to help with autoconf configuration. * src/mpatrol.h: Added GNU's mallopt() flags. * tests/pass/test2.c, tests/pass/test10.c: Changed const to MP_CONST. Added a new argument to __mp_iterate().2001-02-13 Graeme Roy <graeme@epc.co.uk> * src/alloc.c: Changed the meaning of NOFREE=0. * src/option.c: Added support for getting the value of and setting the CHECK option. Changed the behaviour of the NOFREE option. * src/inter.h, src/mpatrol.h: Changed arguments to __mp_iterate(). * src/mpatrol.h, src/option.h: Split up the CHECK option into its constituent parts.2001-02-12 Graeme Roy <graeme@epc.co.uk> * build/windows/mpalloc.def, build/windows/mpatrol.def, build/windows/mpatrolmt.def, build/unix/mpalloc.exp, build/unix/mpatrol.exp: Added more functions. Added __mp_getoption() and __mp_setuser() * man/man3/libmpatrol.3, man/html/libmpatrol.html, man/cat3/libmpatrol.3: Added the __mp_getoption() and __mp_setuser() functions. * src/memory.c: Call optimised memory operation routines for Windows. * src/info.c, src/info.h: Added the userdata field. * src/option.c, src/option.h: Added __mp_get(). * src/mpalloc.c, src/mpalloc.h, src/mpatrol.h, src/inter.c, src/inter.h: Added __mp_getoption() and __mp_setuser(). * tests/pass/test4.c: Added the userdata field. * tests/pass/test10.c: The callback function should take a const argument.2001-02-11 Graeme Roy <graeme@epc.co.uk> * man/man3/libmpalloc.3, man/html/libmpalloc.html, man/cat3/libmpalloc.3: Changed the arguments to MP_MALLOC() and family. * src/alloc.c, src/alloc.h: Made __mp_recyclefreed() global. * src/option.c: Added NOFREE support to __mp_setopt().2001-02-10 Graeme Roy <graeme@epc.co.uk> * src/mpalloc.h, src/mpatrol.h: Changed the arguments to MP_MALLOC(), MP_CALLOC() and MP_STRDUP(). * src/mpdebug.h: New file for overall inclusion. * tests/pass/test9.c: Changed the arguments to some of the functions.2001-02-09 Graeme Roy <graeme@epc.co.uk> * src/info.c: Use the default system alignment if alignment is zero in memalign(). * src/mpatrol.h: Added const parameter to __mp_iterate's callback function.2001-02-08 Graeme Roy <graeme@epc.co.uk> * man/Makefile: Added the libmpalloc manual page. * man/html/libmpalloc.html, man/cat3/libmpalloc.3, man/man3/libmpalloc.3: New manual page for the mpalloc library. * man/man3/libmpatrol.3, man/cat3/libmpatrol.3: Added reference to libmpalloc. * man/man3/libmpatrol.3, man/html/libmpatrol.html, man/cat3/libmpatrol.3: Documented seven new functions. Documented another six functions. * man/man1/hexwords.1, man/html/hexwords.html, man/cat1/hexwords.1: Documented the other dictionaries tried if the first cannot be found. * pkg/sdux/mpatrol.psf, pkg/pkg/prototype: Added test9.c. * pkg/zip/build.bat, pkg/tar/build, pkg/sdux/build, pkg/pkg/build, pkg/lha/build: Use wildcards when copying manual pages. Use wildcards when copying images. * src/info.c, src/info.h, src/inter.c, src/option.c: Added a frequency to CHECK and made the default zero. * src/option.c, src/option.h: Added the __mp_setopt() function. * src/inter.c: For MP_MALLOC(), MP_CALLOC() and MP_REALLOC(), if size is zero, make it the size of the type being allocated if available. * src/inter.c, src/inter.h, src/mpalloc.c, src/mpatrol.h: Added the __mp_setoption(), __mp_function(), __mp_syminfo(), __mp_vprintf(), __mp_logaddr() and __mp_view() functions. * src/mpcalloc.c, src/mpmalloc.c, src/mprealloc.c: If size is zero, make it the size of the type being allocated if available. * tests/pass/test3.c: Added call to __mp_setoption() rather than relying on the user to set the LIMIT option. * tests/pass/test4.c: Now make use of __mp_function() and __mp_syminfo(). * tests/pass/test9.c: Added new test for the MP_MALLOC() family of functions. * tests/pass/test10.c: New file demonstrating __mp_snapshot() and __mp_iterate().2001-02-07 Graeme Roy <graeme@epc.co.uk> * src/diag.c: Added the check frequency.2001-02-06 Graeme Roy <graeme@epc.co.uk> * README: The discussion group is now at yahoo. * build/windows/mpalloc.def, build/windows/mpatrol.def, build/windows/mpatrolmt.def, build/unix/mpalloc.exp, build/unix/mpatrol.exp: Added reallocf(), __mp_snapshot(), __mp_iterate(), __mp_printf(), __mp_logmemory(), __mp_logstack(), __mp_edit() and __mp_list(). * src/config.h: Added MP_PRINTPREFIX. * src/info.c, src/info.h: Added the last modification event. * src/diag.c, src/diag.h: Made __mp_editfile() global. * src/info.c, src/inter.c, src/malloc.c, src/mpalloc.c, src/mpatrol.h, src/diag.c, src/info.h: Added the reallocf() function. * src/inter.c, src/inter.h, src/mpalloc.c, src/mpatrol.h: Added the __mp_snapshot(), __mp_iterate(), __mp_printf(), __mp_logmemory(), __mp_logstack(), __mp_edit() and __mp_list() functions. * tests/pass/test4.c: Added allocation event.2001-02-05 Graeme Roy <graeme@epc.co.uk> * bin/hexwords: Check for locations of other dictionaries if not found. * build/windows/Makefile, build/windows/NMakefile, build/unix/Makefile, build/unix/Makefile.aix, build/netware/Makefile, build/amiga/Makefile, build/amiga/SMakefile: Added the mpalloc object library. Updated dependencies for the object library. Added the dependencies for the object libmpalloc library. Added the cplus module. Added the dependencies for the threadsafe cplus module. * build/windows/Makefile, build/windows/NMakefile: Added DLL versions of libmpalloc. * build/windows/main.c: Added alternative RCS ids if not MP_IDENT_SUPPORT. * build/windows/main2.c: Added new file for DllMain for libmpalloc. * pkg/zip/build.bat: Added the mpalloc DLL. * src/memory.c: Changed names of some variables to avoid clashes when building object library. * src/inter.c: Added the type information to __mp_printinfo(). * src/malloc.c: Make sure no macros are defined which will conflict with the new definitions. * src/cplus.c: Moved C++ functions to cplus.c. Provide better out of memory diagnostics when this file is compiled with a C compiler. * src/library.c: Added cplus.c. * src/library2.c: New file for building the mpalloc object library.2001-02-04 Graeme Roy <graeme@epc.co.uk> * build/amiga/Makefile: Now build with a C++ compiler. * build/netware/Makefile: Now use a C++ compiler to build with. * build/unix/Makefile: Now build with a C++ compiler. * build/unix/mpatrol.exp: Added new mangled names for C++ operators. * build/windows/Makefile, build/windows/NMakefile:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -