* misc: renamed the new "truncate" function to "optimize".
382 lines of code changed in 3 files:
* misc: renamed the new "truncate" function to "optimize".
31 lines of code changed in 4 files:
* BayesFilter.c, YAM_COg.c, YAM_COs.c, locale/YAM.cd, locale/german.ct: added
a button to strip rarely occuring words from the spam training data. This
will remove all words which occured only once so far and hence have very
little influence on the spam recognition process. As a nice side effect the
training data will be loaded much faster and spam recognition will become
faster, too, because less words have to be taken into account.
197 lines of code changed in 5 files:
* extrasrc/AllocSysObject.c: fixed slightly wrong implementation of ASOIOR_Duplicate.
5 lines of code changed in 1 file:
* extrasrc/AllocSysObject.c: fixed some typos.
2 lines of code changed in 1 file:
* Timer.c: use the new ASOIOR_Duplicate tag to create the duplicated timer
requests.
1 lines of code changed in 1 file:
* extrasrc/AllocSysObject.c: implemented the ASOIOR_Duplicate tag item to
create a clone of a given IO request.
13 lines of code changed in 2 files:
* YAM_MAf.c: fixed a possible memory leak in case certain header lines
appeared more than just once in a mail. Most probably this happens for spam
only, but even then there should be no leak :)
19 lines of code changed in 1 file:
* misc: set the amiga:protection attribute for all files.
177 lines of code changed in 198 files:
* rexx/addredit.c: minor changes according to the STYLEGUIDE.
2 lines of code changed in 1 file:
* YAM_UT.c: slightly improved the speed of the AppendToBuffer() function. The
index is no longer constantly updated while performing a hand crafted clone
of strcpy().
10 lines of code changed in 1 file:
* extrasrc.h: fixed bad #define's which broke the MOS build.
301 lines of code changed in 2 files:
* YAM_AB.c, mui/AddrBookToolbar.c: reworked the address book window to be
opened with no active entry. This partly fulfills feature request #2165214,
as clicking on CC or BCC by accident will add the active entry to the
normally invisible CC/BCC fields of the write window and hence may cause
unwanted things to happen. Additionally the toolbars "Modify" and "Delete"
button will now be disabled aswell, if no entry is selected.
49 lines of code changed in 4 files:
* rexx/addredit.c, rexx/addrresolve.c: removed some superflous preallocs and
cleaned up the code a bit.
45 lines of code changed in 2 files:
* YAM_AB.c: some minor code cleanups
17 lines of code changed in 1 file:
* YAM_WR.c: fixed a possible NULL pointer access in case AllocStrBuf() failed
for any reason.
9 lines of code changed in 1 file:
* YAM_WR.c: fixed a memory leak when composing a PGP signed/encrypted mail
failed for any reason.
5 lines of code changed in 1 file:
* YAM_UT.c: replaced the deprecated Seek() call by the new 64bit aware
ChangeFilePosition() call in the OS4 build. All other builds will still use
the old Seek() function.
304 lines of code changed in 2 files:
* FileInfo.c: fixed wrong duplication of date stamp in the OS3 and MOS builds.
2 lines of code changed in 1 file:
* YAM_RE.c, YAM_MAf.c: fixed another memory leak which occured when a mail
header could not be parsed successfully.
19 lines of code changed in 3 files:
* Debug.h: added asprintf() to the functions monitored by our new memory
tracking framework.
1 lines of code changed in 1 file:
* Debug.h, extrasrc.c: fixed memory tracking for OS3 and MOS build.
11 lines of code changed in 2 files:
* WriteWindow.c, Themes.c: fixed two situations where file handles
having been closed correctly and so might have ended up in locked files.
The new memory tracking framing is really a huge improvement in terms of
such situations.
6 lines of code changed in 2 files:
* YAM_utilities.h, WriteWindow.c, ReadWindow.c, YAM_CO.c, YAM_UT.c,
YAM_COs.c: implemented the still missing functionality to finally fix
bug #2056658. Now it is possible to set the Textstyle and Textcolor
setting for the write window and read window separately as well as
switching between the individual settings in each write window. However,
the only thing missing seems to be the possibility to switch the font
settings on demand, but this requires changes to TE.mcc.
97 lines of code changed in 6 files:
* Debug.h: added the fopen/fclose functions to our memory tracking
framework. Now the fopen and fclose calls are also tracked to find
potential unclosed file handles.
5 lines of code changed in 1 file:
* Debug.h: fixed slightly wrong memory tracking for ExamineObject(),
ObtainDirContext() and ObtainDirContextTags().
11 lines of code changed in 1 file:
* YAM_RE.c, misc: fixed a bug in the use of CodesetsConvertStr() where we
didn't query for the length of the destination string and might have ended
up with an incorrect len argument to the followed fwrite() call.
35 lines of code changed in 5 files:
* Debug.c: minor cosmetic change where we output a header in front of the
final memory tracking cleanup process.
2 lines of code changed in 1 file:
* UpdateCheck.c: fixed a minor bug where the wrong buffer has been check
and therefore the changelog display in the update check always showed
the internal tags.
1 lines of code changed in 1 file:
- minor output fix for the debugging of GetLine()
1 lines of code changed in 1 file:
* YAM_CO.c: non-existant POP3 accounts will be skipped when doing a deep copy
of a configuration to avoid unnecessary "invalid memdup()" warnings in the
memory tracking.
7 lines of code changed in 1 file:
* misc: modified the GetLine() once more to return the number of read bytes
instead of the buffer. Thus GetLine() is 99% the same as getline(), except
that 0 bytes indicates an empty line, because of the stripped CR and LF
characters.
86 lines of code changed in 12 files:
* misc: added a size parameter to the GetLine() function to be able to reuse
an already allocated buffer from a previous call. Also changed the order of
the parameters to match the order of getline().
79 lines of code changed in 12 files:
* YAM_UT.c: applied minor optimisation to the new GetLine() function. Now
we search for the CRLF pair ourself instead of using the slower strpbrk()
function.
13 lines of code changed in 2 files:
* YAM_UT.c: fixed left over old-style GetLine() call.
5 lines of code changed in 1 file:
* misc: removed some TAB characters.
56 lines of code changed in 48 files:
* misc: reworked the GetLine() function to use getline() and reworked all
functions using GetLine() to use dynamically allocated buffers instead of
stack based ones.
391 lines of code changed in 13 files:
* YAM_UT.c: removed the obsolete NGetLine function.
0 lines of code changed in 2 files:
* YAM_config.h, YAM_read.h, WriteWindow.c, ReadWindow.c, ReadMailGroup.c,
YAM_CO.c, ParseEmail.l, YAM_UT.c, YAM_RE.c, YAM_COg.c, YAM_COs.c, YAM.cd:
To fix bug #2056658, a way of configuring to enable/disable text soft
styles and colors for the read and write window display have been
implemented now. Please note that it is still not finished and needs
some adaptions to get finally working for the write window as well. In
addition, it seems TextEditor.mcc needs some tuning to enable/disable
fixed font settings on the fly before all this really starts working as
expected.
219 lines of code changed in 11 files:
* YAM_MA.c, YAM_WR.c, YAM_DI.c, YAM_FO.c, YAM_COg.c, YAM_COs.c, Themes.c,
YAM_TR.c: replaced all our fgets() uses by using the new overflow safe
getline() variant we have now. In cases where no \r,\n stripping was
required (mostly just needed for the TCP/IP stuff) the getline() was
planely used instead, otherwise the stripping will be performed
afterwards.
593 lines of code changed in 8 files:
* Debug.c, Debug.h: minor optimisations to our memory tracking framework,
especially to the way things are output.
15 lines of code changed in 2 files:
* Threads.h: added some missing prototypes.
2 lines of code changed in 1 file:
* YAM_RE.c: in case an MDN request is accepted the outgoing folder will now be
updated to reflect the newly generated return mail in that folder.
5 lines of code changed in 1 file:
* YAM_TR.c: in case a mail transfer failed (i.e. because of a bad password)
the error message from the server will now be freed correctly. This finally
fixes bug #2123715.
21 lines of code changed in 1 file:
* YAM_ER.c: removed accidently left over debug message.
0 lines of code changed in 1 file:
* YAM.c, YAM_ER.c: pending error messages will now be freed upon program
termination to avoid memory leaks. Furthermore the message pointers will
now be correctly reset to NULL when the error window is closed.
30 lines of code changed in 2 files:
* mui/ThemeListGroup.c: the theme entry in a list will now be freed, too. This
fixes bug #2140826.
2 lines of code changed in 1 file:
* YAM_COg.c: replaced the old fgets() style file reading by the new NGetLine()
function to get rid of stack based buffers.
9 lines of code changed in 1 file:
* YAM_COs.c, YAM_FO.c: replaced the old fgets() style file reading by the new
NGetLine() function to get rid of stack based buffers.
20 lines of code changed in 2 files:
* YAM_UT.c: added new NGetLine() function which is based on the recently added
getline() function.
26 lines of code changed in 2 files:
* YAM_FI.c: added a missing DeleteMailList() call to fix prevent a memory
leak. The new memory tracking framework really pays off by now.
2 lines of code changed in 1 file: