September 2008 Commit Log

Number of Commits:
33
Number of Active Developers:
2
damato 2008-09-30 22:03 Rev.: 4151

* Debug.c, Debug.h: enabled the memory tracking of the system functions also
for the OS3 and MorphOS debug builds. This unfortunately requires to
the inline macros for the function jumps ourself, but well, this is just
for debugging purposes anyway.

243 lines of code changed in 5 files:

tboeckel 2008-09-30 14:52 Rev.: 4150

* extrasrc/FreeVecPooled.c: fixed wrong UNMEMTRACK() call.

1 lines of code changed in 1 file:

tboeckel 2008-09-30 14:37 Rev.: 4149

* extrasrc/AllocSysObject.c: refined the memory tracking to track each single
type instead of just AllocSysObject() globally.

15 lines of code changed in 1 file:

tboeckel 2008-09-30 14:26 Rev.: 4148

* Debug.c: removed the conditional free() in _UNMEMTRACK() again as it was
quite senseless. Pending allocations from malloc() will be freed auto-
matically by the c-library's startup code and other allocations cannot be
handled correctly here.

5 lines of code changed in 1 file:

tboeckel 2008-09-30 14:20 Rev.: 4147

* Debug.h: added missing macro parameter for the non-debug build.

1 lines of code changed in 1 file:

tboeckel 2008-09-30 14:10 Rev.: 4146

* Debug.c: reworked the _UNMEMTRACK() function to only free those allocations,
which have been done by standard functions like malloc(). Before even
allocations from AllocSysObject() or similar have been freed by free() which
must have caused all kinds of obscure and funny things. Further more the
function and type informations are no longer copied, because the strings are
constants and cannot simply vanish while the program is running.

27 lines of code changed in 1 file:

damato 2008-09-30 11:53 Rev.: 4145

* Debug.c, Debug.h: added the AllocVec#?() type of functions to the memory
tracking framework. However, please note that the tracking of these
functions does only work on the OS4 debug build for now.

55 lines of code changed in 5 files:

tboeckel 2008-09-30 10:04 Rev.: 4144

* Debug.c: made some variables "more local".

5 lines of code changed in 1 file:

damato 2008-09-30 09:54 Rev.: 4143

* Debug.c, Debug.h: slightly rewrote the new memory tracking debug framework
to have a MEMTRACK() and UNMEMTRACK() macro similar to our D()-type of
debugging macros. In addition, the preprocessor replacements for malloc()
and friends are now performed via GCC enhanced preprocessor macros which
call the original function directly. Furthermore, the memory tracking is
now an own debug class rather than a flag and also enabled per default.
That means if you want to get rid of the memory tracking you have to
disable the memory tracking with "setenv yamdebug !@mtrack".

74 lines of code changed in 2 files:

tboeckel 2008-09-30 09:40 Rev.: 4142

* Debug.c: calling free(NULL) will no longer cause a warning.

1 lines of code changed in 1 file:

tboeckel 2008-09-30 09:25 Rev.: 4141

* HTML2Mail.l, ParseEmail.l: fixed two memory leaks caused by the flex
generated code by manually calling the final cleanup function.

9 lines of code changed in 2 files:

tboeckel 2008-09-30 08:31 Rev.: 4140

* Debug.c: massively improved the speed of the memory tracking free() function
by using 256 separate lists instead of just one large list. The address of
the allocated pointer will be used as a kind of hash value to get a more or
less equal spread over all these lists.

80 lines of code changed in 1 file:

tboeckel 2008-09-29 17:17 Rev.: 4139

* YAM_FO.c: fixed a memory when a .fimage file was used for a custom folder
icon. This image was never properly destructed.

5 lines of code changed in 1 file:

tboeckel 2008-09-29 16:14 Rev.: 4138

* YAM_RE.c: fixed possible memory leak which was caused by overwriting simply
previous strdup()'d strings without free()ing the former copies.

16 lines of code changed in 1 file:

tboeckel 2008-09-29 14:00 Rev.: 4137

* misc: reworked the memory tracking framework to get rid of the special
function names. Now we are back to standard names like malloc().

657 lines of code changed in 59 files:

tboeckel 2008-09-29 13:14 Rev.: 4135

* YAM.c, Requesters.c: moved the defintion of the "signals" variable (and
setting it to zero out of the event handling loop. Before possible signals
from the previous loop's Wait() call would have effectively been zeroed
because of this, which might have had unpredictable results.

888 lines of code changed in 64 files:

tboeckel 2008-09-29 13:02 Rev.: 4134

* Themes.c: fixed typo.

1 lines of code changed in 1 file:

tboeckel 2008-09-29 13:01 Rev.: 4133

* Themes.c: a theme's URL string wasn't free()'d.

13 lines of code changed in 1 file:

tboeckel 2008-09-29 12:48 Rev.: 4132

* extrasrc/NewReadArgs.c: fixed a possible free(NULL) call.

3 lines of code changed in 1 file:

tboeckel 2008-09-25 10:42 Rev.: 4131

* AttachmentImage.c: combined to consecutive set()'s into one single xset().

2 lines of code changed in 1 file:

tboeckel 2008-09-25 10:41 Rev.: 4130

* InfoWindow.c: private tags will now be changed to TAG_IGNORE before the tag
list is passed to the parent class.

20 lines of code changed in 1 file:

tboeckel 2008-09-25 10:39 Rev.: 4129

* YAM_MA.c: while deleting mails the main window's Delete button and menu item
will now be disabled to prevent invoking the delete action more than once
and even worse causing YAM to crash. This should fix bug #2120523.

16 lines of code changed in 1 file:

tboeckel 2008-09-12 12:54 Rev.: 4121

* YAM.c, Requesters.c: moved the defintion of the "signals" variable (and
setting it to zero out of the event handling loop. Before possible signals
from the previous loop's Wait() call would have effectively been zeroed
because of this, which might have had unpredictable results.

14 lines of code changed in 2 files:

damato 2008-09-07 14:30 Rev.: 4120

* YAM_RE.c, YAM_read.h: replaces all fgets() and GetLine() usages with calls to
getline(). This should increase the flexibility and reduce stack stack usage
a bit.

72 lines of code changed in 2 files:

damato 2008-09-07 00:15 Rev.: 4119

- minor modification to GetLine() function and added some debug output
in case GetLine() fails.

8 lines of code changed in 1 file:

damato 2008-09-07 00:14 Rev.: 4118

* YAM_RE.c: reworked RE_ConsumeRestOfPart() function to use the new getline()
function instead of retrieving each line via fgets(). This also removes the
hardcoded line limit and allows to parse messages with lines longer than
1000 chars.

79 lines of code changed in 1 file:

damato 2008-09-03 08:27 Rev.: 4117

* extrasrc/getdelim.c: fixed realloc mechanism of getdelim() function. A
must_realloc check is not required really, especially not at the situation
it was placed ;)

12 lines of code changed in 1 file:

tboeckel 2008-09-02 17:01 Rev.: 4116

* misc: replaced some constant buffer sizes by sizeof() usages.

14 lines of code changed in 5 files:

tboeckel 2008-09-02 12:03 Rev.: 4115

* extrasrc/getdelim.c: optimized the getdelim() function a bit to avoid un-
necessary pointer arithmetic and get rid of some goto instructions.

55 lines of code changed in 1 file:

damato 2008-09-02 11:45 Rev.: 4114

- committed missing extrasrc.c,h modifications to make getline/getdelim usable

22 lines of code changed in 2 files:

damato 2008-09-02 10:54 Rev.: 4113

* extrasrc/getdelim.c: added getline()/getdelim() function to our extrasrc
pool of functions. In future we can use this functions as a replacement
for fgets() which is known to be slightly flawed in some aspects. The
implementation of these functions are based on the getline()/getdelim()
functionality of the glibc library.
* extrasrc: updated all sources to contain their proper copyright headers

509 lines of code changed in 23 files:

tboeckel 2008-09-01 15:27 Rev.: 4111

* YAM_RE.c: fixed a wrong debug output while scanning the headers which caused
the length of a value to be -1 always.

8 lines of code changed in 1 file:

damato 2008-09-01 08:08 Rev.: 4110

* mui/WriteWindow.c: fixed bug #2079685 by modifying the routines which
decide on the type of encoding. Previously it could happen that an
attachment with long lines (>998) had still been encoded binary only and
thus ended up violating the RFC 2822 max. line length.
* locale/italian.ct: updated italian catalog translation provided by S.Hawamdeh

14 lines of code changed in 1 file:

August 2008 »

Generated by StatSVN 0.7.0