1 2019-06-21 Jeremy Sowden <jeremy@azazel.net>
3 * wmail/ChangeLog, wmail/README, wmail/configure.ac,
4 wmail/wmailrc-sample: wmail: updated change-log and bumped to 2.3.
6 2019-06-21 Jeremy Sowden <jeremy@azazel.net>
8 * wmail/src/wmail.c: wmail: fixed use-after-free. The CleanupNames() function removed the sender-addresses for deleted
9 mails, but did not set the namesChanged flag to true. This meant
10 that if the ticker was displaying the address of a mail which had
11 been deleted it would continue doing so after the address had been
14 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
16 * wmail/src/config.c, wmail/src/wmail.c: wmail: handle allocation
17 failures. Check the return values of some invocations of malloc and strdup and
18 ensure that any NULL's are handled correctly.
20 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
22 * wmail/src/config.c: wmail: fixed possible NULL-pointer dereference
23 in config-parser. The code calling Tokenize assumed that if it returned true, value
24 would not be NULL. However, in the case of a line containing no
25 equals sign: blah that would not be the case. Changed Tokenize to return false unless
26 id and value are both defined.
28 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
30 * wmail/src/wmail.c: wmail: fixed NULL-pointer dereference if
31 opendir(3) fails. Code was: if (( dir = opendir( ... ))) { // ... } closedir( dir ); // dir may be NULL Moved closedir(3) inside if-block.
33 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
35 * wmail/src/wmail.c: wmail: use continue instead of goto.
37 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
39 * wmail/src/common.c, wmail/src/config.c, wmail/src/wmail.c: wmail:
40 formatting improvements.
42 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
44 * wmail/src/common.h: wmail: debug macro fixes.
46 2019-06-13 Jeremy Sowden <jeremy@azazel.net>
48 * wmail/README, wmail/src/config.c, wmail/wmailrc-sample: wmail:
49 fixed config typo. The old spelling is still supported.
51 2019-06-12 Jeremy Sowden <jeremy@azazel.net>
53 * wmail/ChangeLog, wmail/README, wmail/configure.ac,
54 wmail/wmailrc-sample: wmail: updated change-log and bumped to 2.2.
56 2019-06-12 Jeremy Sowden <jeremy@azazel.net>
58 * wmail/src/wmail.c: wmail: removed superfluous continue.
60 2019-06-12 Jeremy Sowden <jeremy@azazel.net>
62 * wmail/README: wmail: fixed error in build instructions.
64 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
66 * wmail/src/wmail.c: wmail: removed commented-out variable.
68 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
70 * wmail/src/wmail.c: wmail: POSIX doesn't have a "t" mode flag for
73 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
75 * wmail/src/wmail.c: wmail: formatting fixes.
77 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
79 * wmail/src/wmail.c: wmail: strip leading white-space when doing
80 skip-name comparisons.
82 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
84 * wmail/src/config.h: wmail: dropped unused enum values.
86 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
88 * wmail/src/config.c, wmail/src/wmail.c: wmail: use realloc(3) and
89 handle allocation failures.
91 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
93 * wmail/src/config.c: wmail: fixed memory leaks in skip-names.
95 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
97 * wmail/README, wmail/src/config.c, wmail/src/config.h,
98 wmail/src/wmail.c: wmail: added command-line option to specify a
99 different config-file.
101 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
103 * wmail/src/wmail.c: wmail: parse command-line arguments before
104 reading config-file. Fixes warnings about config and check-sum files when using --help
107 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
109 * wmail/src/common.h, wmail/src/config.c, wmail/src/wmail.c: wmail:
110 removed hard-coded string lengths.
112 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
114 * wmail/src/config.c: wmail: use continues rather than if-else chain
115 to improve readability.
117 2019-06-10 Jeremy Sowden <jeremy@azazel.net>
119 * wmail/src/wmail.c: wmail: added option index enum and used
120 designated initializers for options.
122 2019-06-09 Jeremy Sowden <jeremy@azazel.net>
124 * wmail/src/config.c, wmail/src/wmail.c: wmail: removed hard-coded
127 2019-06-09 Jeremy Sowden <jeremy@azazel.net>
129 * wmail/configure.ac, wmail/src/common.h, wmail/src/config.c: wmail:
130 use stdbool.h if available.
132 2019-06-09 Jeremy Sowden <jeremy@azazel.net>
134 * wmail/src/common.c, wmail/src/common.h, wmail/src/config.c,
135 wmail/src/config.h, wmail/src/wmail.c, wmail/wmailrc-sample: wmail:
136 more version and copyright updates.
138 2019-06-09 Jeremy Sowden <jeremy@azazel.net>
140 * wmail/README, wmail/src/wmail.c: wmail: fixed some typo's.
142 2019-06-09 Jeremy Sowden <jeremy@azazel.net>
144 * wmail/src/Makefile.am: wmail: only include one set of XPM's among
147 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
149 * wmail/ChangeLog, wmail/README, wmail/configure.ac: wmail: bumped
152 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
154 * wmail/ChangeLog: wmail: added new ChangeLog.
156 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
158 * wmail/COPYING: wmail: updated the copyright notices.
160 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
162 * wmail/README: wmail: updated contact details in README.
164 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
166 * wmail/ChangeLog.old, wmail/Makefile.am, wmail/README: wmail: moved
167 old change-log to a separate file.
169 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
171 * wmail/src/common.h: wmail: define debug macros as empty if debug
174 2019-06-06 Jeremy Sowden <jeremy@azazel.net>
176 * wmail/src/common.c, wmail/src/common.h: wmail: only one DEBUG
177 macro is ever defined.
179 2019-06-05 Jeremy Sowden <jeremy@azazel.net>
181 * wmail/src/wmail.c: wmail: change "!stat(...) == 0" to "stat(...)
184 2019-06-04 Jeremy Sowden <jeremy@azazel.net>
186 * wmail/src/common.c: wmail: refactored MakePathName: one malloc;
187 one snprintf instead of two memcpys.
189 2019-06-03 Jeremy Sowden <jeremy@azazel.net>
191 * wmail/.gitignore, wmail/Makefile.am, wmail/Makefile.in,
192 wmail/autogen, wmail/configure.ac, wmail/src/Makefile.am,
193 wmail/src/Makefile.in: wmail: use automake.
195 2019-06-04 Jeremy Sowden <jeremy@azazel.net>
197 * wmail/{configure.in => configure.ac}: wmail: renamed configure.in
200 2019-06-05 Jeremy Sowden <jeremy@azazel.net>
202 * wmail/configure.in, wmail/src/wmail.c: wmail: check for
203 libdockapp/dockapp.h and fall back to dockapp.h.
205 2019-06-04 Jeremy Sowden <jeremy@azazel.net>
207 * wmail/configure.in, wmail/src/Makefile.in: wmail: use pkg-config
210 2019-06-05 Jeremy Sowden <jeremy@azazel.net>
212 * wmail/src/wmail.c: wmail: use DA_VERSION to determine the correct
213 type for DAMakePixmapFromData parameters.
215 2019-06-04 Jeremy Sowden <jeremy@azazel.net>
217 * wmail/Makefile.in, wmail/README: wmail: no longer install into or
218 uninstall from $HOME.
220 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
222 * wmail/src/wmail.c: wmail: added breaks and explicit fall-through
223 comments to switches.
225 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
227 * wmail/src/wmail.c: wmail: declare enum variable with the right
230 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
232 * wmail/src/wmail.c: wmail: fixed warnings about unused parameters.
234 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
236 * wmail/src/wmail.c: wmail: fixed comparisons between signed and
239 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
241 * wmail/src/config.c: wmail: use designated initializers to define
244 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
246 * wmail/configure.in, wmail/src/config.c, wmail/src/wmail.c: wmail:
247 strcasecmp and strncasecmp are properly declared in strings.h.
249 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
251 * wmail/configure.in: wmail: extra debug compiler flags.
253 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
255 * wmail/src/config.c, wmail/src/wmail.c: wmail: white-space fixes.
257 2019-05-28 Jeremy Sowden <jeremy@azazel.net>
259 * wmail/src/wmail.c: wmail: allow for multiple white-space
260 characters between name and address.
262 2019-05-28 Jeremy Sowden <jeremy@azazel.net>
264 * wmail/src/wmail.c: wmail: keep track of buffer lengths and avoid
265 repeated strlen calls.
267 2019-05-28 Jeremy Sowden <jeremy@azazel.net>
269 * wmail/configure.in, wmail/src/common.c, wmail/src/config.c,
270 wmail/src/wmail.c: wmail: strlen returns size_t.
272 2019-06-04 Jeremy Sowden <jeremy@azazel.net>
274 * wmail/.gitignore, wmail/configure.in, wmail/src/Makefile.in,
275 wmail/src/common.c, wmail/src/config.c, wmail/src/wmail.c: wmail:
276 use AC_CONFIG_HEADERS to generate config.h.
278 2019-06-01 Jeremy Sowden <jeremy@azazel.net>
280 * wmail/configure.in, wmail/src/Makefile.in: wmail: use CPPFLAGS.
282 2019-06-04 Jeremy Sowden <jeremy@azazel.net>
284 * wmail/configure.in: wmail: don't clobber CFLAGS.
286 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
288 * wmail/src/config.c, wmail/src/wmail.c: wmail: add static to
289 declarations of lots of variables and functions.
291 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
293 * wmail/src/config.h, wmail/src/wmail.c: wmail: added signal-handler
294 for SIGINT and SIGTERM.
296 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
298 * wmail/src/wmail.c: wmail: skip leading white-space in From:
301 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
303 * wmail/src/wmail.c: wmail: DAMakePixmapFromData expects an unsigned
306 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
308 * wmail/src/wmail.c: wmail: replaced SIGALRM handler with DA timer
309 call-back. The application was doing a lot of work in a signal-handler. This
310 was not re-entrant and could interact badly with X. Since the DA
311 event-loop supports a timer call-back use that instead.
313 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
315 * wmail/src/config.c, wmail/src/wmail.c: wmail: fix prototypes of
316 functions accepting no parameters.
318 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
320 * wmail/src/wmail.c: wmail: use calloc, instead of malloc + memset.
322 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
324 * wmail/src/config.c, wmail/src/wmail.c: wmail: fix memory leaks.
326 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
328 * wmail/src/wmail.c: wmail: FileNameConcat does exactly the same
329 thing as MakePathName: get rid of it.
331 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
333 * wmail/src/common.c, wmail/src/config.c, wmail/src/wmail.c: wmail:
334 handle allocation failures.
336 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
338 * wmail/src/config.c, wmail/src/config.h, wmail/src/wmail.c: wmail:
339 consistent 4-column indentation with 8-character tabs.
341 2019-05-27 Jeremy Sowden <jeremy@azazel.net>
343 * wmail/.gitignore: wmail: added .gitignore.
345 2017-02-27 Doug Torrance <dtorrance@piedmont.edu>
347 * wmail/src/wmail.c: wmail: Specify libdockapper header file
350 2017-02-27 Doug Torrance <dtorrance@piedmont.edu>
352 * wmail/src/Makefile.in: wmail: Link shared lbraries in correct
355 2017-02-27 Doug Torrance <dtorrance@piedmont.edu>
357 * wmail/configure: wmail: Remove autogenerated configure file from
360 2016-12-23 Doug Torrance <dtorrance@piedmont.edu>
362 * wmail/README, wmail/configure, wmail/src/common.c,
363 wmail/src/common.h, wmail/src/config.c, wmail/src/config.h,
364 wmail/src/wmail.c: Remove trailing whitespace in recently added
367 2016-11-27 Doug Torrance <dtorrance@piedmont.edu>
369 * wmail: Add version 2.0 to repository. From
371 http://http.debian.net/debian/pool/main/w/wmail/wmail_2.0.orig.tar.gz