[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] latest cvs changes
From: |
Gaius Mulley |
Subject: |
[Gm2] latest cvs changes |
Date: |
Wed, 17 Nov 2010 21:28:22 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
in the latest cvs are fixes to prevent memory leaks within the
DynamicStrings module and its dependents. Much self checking code has
been added which can be configured at build time. All regressions pass
on x86_64 Debian stable.
regards,
Gaius
here are the logs:
* gm2/Make-lang.in: compile static versions of
DynamicStrings, FormatStrings, M2Quads, M2Options, M2Search
with $(GM2_DEBUG_STRMEM) (-fcpp) flag to track down any
memory leaks.
* gm2/gm2-compiler/M2Options.mod: changes to allow debugging
code to be included if -fcpp is used.
* gm2/gm2-compiler/M2Printf.mod: changes to allow debugging
code to be included if -fcpp is used.
* gm2/gm2-compiler/M2Quads.mod: changes to allow debugging
code to be included if -fcpp is used.
* gm2/gm2-compiler/M2Search.mod: changes to allow debugging
code to be included if -fcpp is used.
* gm2/gm2-libs/DynamicStrings.def: added definition for
PopAllocationExemption.
* gm2/gm2-libs/DynamicStrings.mod: fixed memory leaks and
bugs related to deallocating strings.
* gm2/gm2-libs/FormatStrings.mod: changes to allow debugging
code to be included if -fcpp is used. Also fixed memory
leaks, which occurred if strings were not Mark'ed.
* gm2/gm2-libs/FpuIO.mod: tidied up header comment and added
DynamicString debugging code.
* gm2/gm2-libs/SEnvironment.mod: tidied up header comment and
added DynamicString debugging code.
* gm2/gm2-libs/SFIO.mod: tidied up header comment and
added DynamicString debugging code.
* gm2/gm2-libs/StringConvert.mod: changes to allow debugging
code to be included if -fcpp is used. Also fixed memory
leaks, which occurred if strings were not Mark'ed.
* gm2/gm2-libs/FIO.mod: removed unnecessary import of FIO.
* gm2/gm2-libs/FormatStrings.mod: included cpp macros for
debugging memory leaks within the module.
* gm2/gm2-libs/FpuIO.mod: included cpp macros for
debugging memory leaks within the module.
* gm2/gm2-libs/SArgs.mod: included cpp macros for
debugging memory leaks within the module.
* gm2/gm2-libs/SEnvironment.mod: included cpp macros for
debugging memory leaks within the module.
* gm2/gm2-libs/StringConvert.mod: included cpp macros for
debugging memory leaks within the module.
* gm2/gm2-libs-pim/RealConversions.mod: included cpp macros for
debugging memory leaks within the module. Also fixed
doPowerOfTen.
* gm2/gm2-libs/DynamicStrings.mod: writeAddress (New
procedure),
writeLongcard (New procedure),
DumpStringSynopsis (New procedure).
* gm2/gm2-libs-pim/RealConversions.mod: import debugging
versions of the DynamicString primitives and fix memory leak.
* gm2/gm2-libs-pim/RealInOut.mod: import debugging
versions of the DynamicString primitives and fix memory leak.
* gm2/gm2-libs/DynamicStrings.mod: added forward declaration.
* gm2/gm2-libs/DynamicStrings.mod: corrected typo.
* gm2/gm2-libs/DynamicStrings.mod: fixed initialization order
bug by using Init and a boolean.
* gm2/gm2-libs/DynamicStrings.mod: implemented the debugging
print statements with write.
* gm2/gm2-libs/StringConvert.mod: fixed more memory leaks by
Mark(ing) appropriate strings.
* gm2/gm2-libs/DynamicStrings.mod: reimplemented the frame
data structure some of the key list routines.
* gm2/gm2-libs/DynamicStrings.mod: more minor fixes to aid
p2c.
* gm2/gm2-libs/DynamicStrings.mod: minor fix moving data type
declarations to satisfy p2c.
* gm2/Make-lang.in: added $(GM2_CPP) variable.
* gm2/gccgm2.c: removed incorrect comment boilerplate.
* gm2/gm2-libs/DynamicStrings.def: added debugging equivalents
of InitString and family, Mult, Dup and Slice. New procedures
(PushAllocation) (PopAllocation).
* gm2/gm2-libs/DynamicStrings.mod: PoisonedOn FALSE.
* Implemented
debugging equivalents of InitString and family, Mult, Dup and
* Slice.
Also added memory leak verification
* PushAllocation/PopAllocation.
* gm2/gm2-libs/RTExceptions.mod: New procedure (TidyUp) called
* during
finalisation to deallocate memory.
* gm2/gm2-libs/StringConvert.mod: fixed many memory leaks by
Mark(ing) appropriate strings.
* gm2/gm2-libs-pim/RealConversions.mod: fixed many memory leaks
* by Mark(ing) appropriate strings.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] latest cvs changes,
Gaius Mulley <=