ChangeLog
23.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
2005-02-21 Sergey Poznyakoff
* libsieve/actions.c: Further unification of diagnostic style.
* libsieve/argp.c: Likewise.
* mail/mail.c: Likewise.
* mail.local/mailquota.c: Likewise.
* mailbox/mu_argp.c: Likewise.
* mh/forw.c: Likewise.
* mh/refile.c: Likewise.
* mh/repl.c: Likewise.
* mh/send.c: Likewise.
* sieve/sieve.c: Likewise.
* mail.local/main.c: Add debug flag 'i' for symmetry with sieve
2005-02-16 Sergey Poznyakoff
Fix a long-standing issue in mailbox and imap4d:
be able to handle a case when a third-party program deletes
some messages in the mailbox being open by imap4d (imap4d
cannot and should not lock it, hence the possibility).
* mailbox/amd.c (amd_pool_flush): New function.
(amd_close): Call amd_pool_flush()
and initialize amd data so that subsequent amd_open() works
properly.
(amd_destroy): Call amd_pool_flush.
* mailbox/mbox/mbox.c (mbox_close): Initialize all private data
so that subsequent mailbox_open() works properly.
(mbox_is_updated): Updated comment
* imap4d/bye.c (imap4d_bye0): Handle ERR_MAILBOX_CORRUPTED
* imap4d/imap4d.h (ERR_MAILBOX_CORRUPTED): New error code.
(imap4d_set_observer): New function
* imap4d/select.c (imap4d_select0): Call imap4d_set_observer()
* imap4d/sync.c (imap4d_set_observer): New function.
(imap4d_sync): Check if the mailbox was shrunk (in libmailbox
terms 'corrupted'). If so, reopen it and issue untagged alert.
2005-02-16 Sergey Poznyakoff
* imap4d/auth_gsasl.c (cb_validate): Provide normal authentication
for PLAIN and LOGIN mechanisms.
2005-02-11 Sergey Poznyakoff
* imap4d/unsubscribe.c: Rewritten. Thanks Andrew Barnes
for reporting the bug.
2005-02-03 Sergey Poznyakoff
* guimb/main.c (parse_opt): Use arg instead of optarg.
Thanks James Dolter for reporting.
2005-01-17 Sergey Poznyakoff
* mailbox/parsedate.y (mu_parse_date): Initialize struct tm
* mailbox/nntp/folder.c (nntp_folder_open): Do not use alloca
* mailbox/nntp/mbox.c: Do not use alloca
* doc/texinfo/Makefile.am: Rewritten to use gendocs.sh
* doc/texinfo/index.html.in: Removed
* doc/texinfo/gendocs_template: New file
* doc/texinfo/fdl.texi: Fixed sectioning
* doc/texinfo/programs.texi: Likewise.
* doc/texinfo/url.texi: Likewise.
* doc/texinfo/mailutils.texi: Fixed sectioning. Print table
of contents after summary page, as suggested by GNU standards.
2005-01-05 Sergey Poznyakoff
* configure.ac (AUTHLIBS_DEPENDENCY,SQLLIB_DEPENDENCY): New
variables. I still hope to find a better solution, though
(see comment to imap4d_DEPENDENCIES in imap4d/Makefile.am).
New SQL driver: ODBC (--with-sql=odbc or --with-odbc)
Raised version number to 0.6.1
* NEWS: Updated
* README: Updated
* auth/Makefile.am: Use explicit PROG_DEPENDENCIES
* imap4d/Makefile.am: Likewise.
* pop3d/Makefile.am: Likewise.
* include/mailutils/sql.h (mu_sql_dispatch.errstr): Changed
return type to const char*
* sql/mysql.c: Likewise
* sql/postgres.c: Likewise
* sql/sql.c: Likewise
* sql/odbc.c: New file. ODBC SQL driver.
* sql/Makefile.am: Add odbc.c
* mail/testsuite/mail/read.exp: Updated to match recent changes
in diagnostic messages.
2005-01-04 Sergey Poznyakoff
* libsieve/extensions/vacation.c: New action. Based on
guimb/scm/vacation.scm and on ideas and code fragments from
Felix Egli <fegli@goldnet.ch>.
* libsieve/extensions/Makefile.am: Add vacation
* include/mailutils/libsieve.h (sieve_get_message_sender)
(stream_printf): New prototypes.
* THANKS: Add Felix Egli
2005-01-04 Sergey Poznyakoff
* auth/sql.c: Revise error messages for accordance with GNU standards:
begin messages with a capital letter, unless they are prefixed
with `file:line:' or their exact look is important due to
compatibility reasons. Do not end messages with a period.
Avoid using contracted negations
* auth/tls.c: Likewise
* comsat/action.c: Likewise
* comsat/cfg.c: Likewise
* comsat/comsat.c: Likewise
* dotlock/dotlock.c: Likewise
* frm/frm.c: Likewise
* from/from.c: Likewise
* guimb/collect.c: Likewise
* guimb/main.c: Likewise
* guimb/util.c: Likewise
* imap4d/auth_gss.c: Likewise
* imap4d/imap4d.c: Likewise
* imap4d/list.c: Likewise
* imap4d/signal.c: Likewise
* imap4d/util.c: Likewise
* libsieve/actions.c: Likewise
* libsieve/comparator.c: Likewise
* libsieve/prog.c: Likewise
* libsieve/runtime.c: Likewise
* libsieve/sieve.l: Likewise
* libsieve/tests.c: Likewise
* libsieve/util.c: Likewise
* mail/alt.c: Likewise
* mail/copy.c: Likewise
* mail/decode.c: Likewise
* mail/file.c: Likewise
* mail/if.c: Likewise
* mail/mail.c: Likewise
* mail/mailline.c: Likewise
* mail/quit.c: Likewise
* mail/send.c: Likewise
* mail/source.c: Likewise
* mail/unalias.c: Likewise
* mail/util.c: Likewise
* mail/var.c: Likewise
* mail/z.c: Likewise
* mail.local/mailquota.c: Likewise
* mail.local/main.c: Likewise
* mail.local/script.c: Likewise
* mailbox/mailutils-config.c: Likewise
* mailbox/mu_argp.c: Likewise
* messages/messages.c: Likewise
* mh/fmtcheck.c: Likewise
* mh/folder.c: Likewise
* mh/forw.c: Likewise
* mh/inc.c: Likewise
* mh/mark.c: Likewise
* mh/mh_argp.c: Likewise
* mh/mh_ctx.c: Likewise
* mh/mh_fmtgram.y: Likewise
* mh/mh_format.c: Likewise
* mh/mh_init.c: Likewise
* mh/mh_list.c: Likewise
* mh/mh_msgset.c: Likewise
* mh/mh_whom.c: Likewise
* mh/mhl.c: Likewise
* mh/mhn.c: Likewise
* mh/pick.c: Likewise
* mh/refile.c: Likewise
* mh/repl.c: Likewise
* mh/rmf.c: Likewise
* mh/scan.c: Likewise
* mh/send.c: Likewise
* movemail/movemail.c: Likewise
* pop3d/apop.c: Likewise
* pop3d/extra.c: Likewise
* pop3d/lock.c: Likewise
* pop3d/pop3d.c: Likewise
* pop3d/popauth.c: Likewise
* pop3d/signal.c: Likewise
* readmsg/readmsg.c: Likewise
* sieve/sieve.c: Likewise
* mail/testsuite/mail/read.exp: Updated to match new output format
of the decode command
2005-01-04 Sergey Poznyakoff
* mailbox/errors: Add gettext markers
* po/POTFILES.in: Depend on mailbox/errors directly
* scripts/generr.awk: Assume textual messages are
already quoted.
2005-01-02 Jordi Mallach
* doc/texinfo/programs.texi: Typo fix.
2005-01-01 Sergey Poznyakoff
Generate automatically errno.h and muerrno.c from a single
plain text file. This facilitates maintaining of mailutils-
specific error codes.
* include/mailutils/errno.h: Removed
* include/mailutils/errno.hin: New file
* include/mailutils/Makefile.am: Generate errno.h
* mailbox/muerrno.c: Removed
* mailbox/muerrno.cin: New file
* mailbox/errors: New file
* mailbox/Makefile.am: Generate muerrno.c
* scripts/generr.awk: New file
* scripts/Makefile.am: Add generr.awk
Fix a recently spotted problem in the testsuite:
* imap4d/testsuite/imap4d/list.exp: Use new -sort flag to
avoid dependency on any particular ordering. Also corrected
expected outputs due to inclusion of two new mailboxes quite
some time ago (went unnoticed so far due to fuzzy matching
technique + ordering-dependent output).
* imap4d/testsuite/lib/imap4d.exp (imap4d_test): New flag -sort
toggles on sorting of untagged responces. Notice that -sort
and -re are mutually exclusive.
* testsuite/lib/mailutils.exp (mu_test): Upvar expect_out
2004-12-28 Wojciech Polak
Fixed displaying mail headers in different languages.
* mail/util.c (util_rfc2047_decode): Fixed reading
a language environment variable.
* frm/frm.c (rfc2047_decode_wrapper): Likewise.
(util_getcols): Imported function from mail/util.c.
(action): Try to print only one line per message.
* from/from.c (rfc2047_decode_wrapper): Fixed.
2004-12-23 Sergey Poznyakoff
* configure.ac: Version 0.6
* NEWS: Likewise
* README: Updated
* auth/gsasl.c: Updated for GSASL >=0.2.3. Previous versions
won't work.
* auth/lbuf.c (_auth_lb_writelines): Bugfix
* mail.local/mail.local.h (USE_MAILBOX_QUOTAS): New define
* mail.local/mailquota.c: Use USE_MAILBOX_QUOTAS.
(sql_retrieve_quota): Assume unlimited quotas for empty fields.
* mail.local/main.c: Use USE_MAILBOX_QUOTAS.
2004-12-17 Sergey Poznyakoff
* configure.ac: Do not allow to specify modules more than once
* auth/sql.c (sql_escape_string): Escape ocurrences of ' and "
in string.
(mu_sql_expand_query): prevent possible sql injection
* mail.local/mailquota.c (sql_retrieve_quota): Allow for NULL
columns
* sql/postgres.c (destroy): Bugfix: do not free pgconn
2004-12-05 Sergey Poznyakoff
* Makefile.am: Added sql/
* configure.ac: Rewritten sql-related part. Allow to specify
several SQL libraries simultaneously.
* sql: New directory
* sql/Makefile.am: New file
* sql/.cvsignore: New file
* sql/sql.c: New file
* sql/mysql.c: New file
* sql/postgres.c: New file
* auth/mysql.c: Removed
* auth/pgsql.c: Removed
* auth/sql.c: Rewritten using general SQL interface.
* auth/Makefile.am: Removed mysql.c and pgsql.c
* include/mailutils/sql.h: New file
* include/mailutils/Makefile.am: Added sql.h
* include/mailutils/errno.h: Added new error codes.
* mailbox/muerrno.c: Likewise.
* mail.local/mail.local.h (quota_query): New variable
* mail.local/mailquota.c: Retrieve quotas from SQL database
* mail.local/main.c: New option --quota-query
* scripts/sqlmod.sh: New file
* scripts/Makefile.am: Added sqlmod.sh
* doc/texinfo/programs.texi: Documented mailbox quotas
* NEWS: Updated
* README: Updated
* po/POTFILES.in: Updated
2004-12-02 Sergey Poznyakoff
* doc/texinfo/programs.texi: Documented movemail.
2004-11-18 Sergey Poznyakoff
* mailbox/imap/folder.c (authenticate_imap_select): Use
ENOSYS as the default status value to allow MU_ERR_AUTH_FAILURE
to be propagated back to the caller.
(imap_parse): Display "NO/Bad Tagged" error diagnostics only if
status != MU_ERR_AUTH_FAILURE. Should we display it at all?
* movemail/movemail.c: Emacs-iteraction mode (--emacs)
2004-11-17 Wojciech Polak
Added initial version of `libmu_cpp',
a C++ wrapper for Mailutils.
* libmu_cpp: Added new directory.
* libmu_cpp/address.cc: New file.
* libmu_cpp/filter.cc: Likewise.
* libmu_cpp/iterator.cc: Likewise.
* libmu_cpp/mailbox.cc: Likewise.
* libmu_cpp/mailer.cc: Likewise.
* libmu_cpp/message.cc: Likewise.
* libmu_cpp/stream.cc: Likewise.
* libmu_cpp/header.cc: Likewise.
* libmu_cpp/list.cc: Likewise.
* libmu_cpp/mailcap.cc: Likewise.
* libmu_cpp/pop3.cc: Likewise.
* libmu_cpp/url.cc: Likewise.
* libmu_cpp/Makefile.am: Likewise.
* include/mailutils/cpp: Added new directory.
* include/mailutils/cpp/address.h: New file.
* include/mailutils/cpp/error.h: Likewise.
* include/mailutils/cpp/header.h: Likewise.
* include/mailutils/cpp/list.h: Likewise.
* include/mailutils/cpp/mailcap.h: Likewise.
* include/mailutils/cpp/mailutils.h: Likewise.
* include/mailutils/cpp/message.h: Likewise.
* include/mailutils/cpp/stream.h: Likewise.
* include/mailutils/cpp/filter.h: Likewise.
* include/mailutils/cpp/iterator.h: Likewise.
* include/mailutils/cpp/mailbox.h: Likewise.
* include/mailutils/cpp/mailer.h: Likewise.
* include/mailutils/cpp/pop3.h: Likewise.
* include/mailutils/cpp/url.h: Likewise.
* include/mailutils/cpp/Makefile.am: Likewise.
* examples/cpp/addr.cc: New file.
* examples/cpp/http.cc: Likewise.
* examples/cpp/listop.cc: Likewise.
* examples/cpp/sfrom.cc: Likewise.
* examples/cpp/iconv.cc: Likewise.
* examples/cpp/mailcap.cc: Likewise.
* examples/cpp/murun.cc: Likewise.
* examples/cpp/url-parse.cc: Likewise.
* examples/cpp/Makefile.am: Likewise.
2004-11-15 Wojciech Polak
* examples/config: New directory.
* examples/cpp: Likewise.
* examples/scheme: Likewise.
* examples/config/Makefile.am: New file.
* examples/cpp/Makefile.am: Likewise.
* examples/scheme/Makefile.am: Likewise.
* examples/comsat.conf: Moved to config/.
* examples/dot.biffrc: Likewise.
* examples/gnu-imap4d.pam: Likewise.
* examples/gnu-pop3d.pam: Likewise.
* examples/mailutils.rc: Likewise.
* examples/reply.scm: Moved to scheme/.
* examples/Makefile.am: Updated.
* configure.ac: Updated.
2004-11-15 Sergey Poznyakoff
* imap4d/imap4d.c: New option --tls-required: do not allow
authentication until TLS negotiation succeeds.
* imap4d/authenticate.c (imap4d_authenticate): Do not proceed if
tls_required is set.
* imap4d/login.c (imap4d_login): Likewise.
* imap4d/imap4d.h (IMAP_CAPA_STARTTLS,IMAP_CAPA_LOGINDISABLED)
(IMAP_CAPA_XTLSREQUIRED): New defines
* imap4d/starttls.c (imap4d_starttls): Clear tls_required upon
successfull TLS handshake.
(starttls_init): Use IMAP_CAPA_STARTTLS instead of hardcoded
literal.
* include/mailutils/header.h (MU_HEADER_X_EXPIRE_TIMESTAMP): New
define.
* pop3d/pop3d.c: New option --tls-required: do not allow
authentication until TLS negotiation succeeds.
New option --delete-expired: delete expired messages before
closing the mailbox.
* pop3d/capa.c (pop3d_capa): Announce XTLSREQUIRED if appropriate
* pop3d/expire.c (expire_mark_message): New function
* pop3d/pop3d.h: New declarations.
* pop3d/quit.c (pop3d_fix_mark): Use expire_mark_message to
process expired messages. Apart from the new functionality, it
also fixes a bug: len was incorrectly used as a replace indicator
in header_set_value, thus each retrieval of the message was
resetting its expiration date.
* pop3d/stls.c (pop3d_stls): Set state to AUTHORIZATION upon
successful completion of TLS negotiation.
* configure.ac: Raised version number to 0.5.1
* NEWS: Entry for 0.5.1
2004-11-03 Sergey Poznyakoff
* dotlock/dotlock.c: Removed -T option (CAN-2004-0984)
2004-10-26 Sergey Poznyakoff
* imap4d/store.c (imap4d_store0): Send \r\n at the end of
the unsolicited response.
2004-09-18 Sergey Poznyakoff
* configure.ac: Bugfix
* mailbox/mime.c (_mime_munge_content_header): Bugfix
2004-08-31 Wojciech Polak
* mailbox/file_stream.c (prog_stream_create): Changed type
of the second argument to const char*.
(filter_prog_stream_create): Likewise.
(_prog_stream_create): Changed type of the third argument
to const char*.
* include/mailutils/stream.h (prog_stream_create): Changed
type of the second argument to const char*.
(filter_prog_stream_create): Likewise.
* doc/texinfo/stream.texi: Updated.
* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.14.1.
2004-08-24 Sergey Poznyakoff
* mail/util.c (util_do_command): Fixed coredump on unparseable
input strings.
* THANKS: Added Dan Jacobson
2004-08-20 Sergey Poznyakoff
* include/mailutils/guile.h (MU_SCM_SYMBOL_VALUE): New define
(_mu_scm_mailer,_mu_scm_debug): Removed externs.
* include/mailutils/list.h (list_set_destroy_item): Use __PMT in
nested declarations.
* libmu_scm/mu_message.c: Properly access mu-mailer and mu-message
values.
2004-08-11 Sergey Poznyakoff
* mail/send.c (mail_send0): Fixed coredump on reading a
single escape char.
2004-08-08 Sergey Poznyakoff
* headers/argp.h: Protect typedef int error_t by an additional
#ifndef. Thanks Alex S. Moore <asmoore@edge.net> for helping
find out the problem.
2004-08-07 Sergey Poznyakoff
* Makefile.am: Raised automake requirements to version
1.8.5
* examples/nntpclient.c: Minor fixes.
* imap4d/Makefile.am (INCLUDES): Added -Imailbox
* imap4d/imap4d.h: Added missing includes
* include/mailutils/nls.h [!ENABLE_NLS]: Define gettext()
* include/mailutils/nntp.h: Minor changes. The screen is 80x24!
* mailbox/locker.c (_locker_lock_dotlock): Make sure the lock file
is writable for the owner.
* mailbox/imap/folder.c (authenticate_imap_sasl_anon): Use
auth_state instead of state. Possibly this was a typo...
* mailbox/include/imap0.h (struct _f_imap.capac): Changed
type to int.
* mailbox/maildir/mbox.c (maildir_gethostname): Fixed a gross
memory allocation bug.
* mailbox/message.c: Minor changes.
* mailbox/mbox/url.c: Likewise.
* mailbox/nntp/folder.c: Likewise.
* mailbox/nntp/mbox.c: Likewise.
* mailbox/nntp/nntp_article.c: Likewise.
* mailbox/nntp/nntp_connect.c: Likewise.
* mailbox/nntp/nntp_date.c: Likewise.
* mailbox/nntp/nntp_head.c: Likewise.
* mailbox/nntp/nntp_ihave.c: Likewise.
* mailbox/nntp/nntp_post.c: Likewise.
* scripts/guile-1.6/guile-doc-snarf: Bugfix. Always use $AWK.
2004-08-06 Sergey Poznyakoff
* include/mailutils/daemon.h: Include types.h
2004-07-07 Sergey Poznyakoff
* libsieve/extensions/spamd.c (decode_float): Return
signed long value, as SpamAssassin scores can be negative.
(spamd_test): Updated accordingly
2004-07-05 Sergey Poznyakoff
* include/mailutils/registrar.h (mu_register_extra_formats): New
macro.
(mu_register_all_formats): Call mu_register_extra_formats()
* mailbox/mu_argp.c (mu_conf_option): Added ENABLE_NNTP
* mailbox/nntp/Makefile.am: Add nntp0.h
* mh/Makefile.am: Added libmu_nntp.la
* readmsg/readmsg.c (main): Call mu_register_extra_formats()
2004-07-05 Sergey Poznyakoff
* include/mailutils/registrar.h (mu_register_all_mbox_formats):
Removed nntp_record. It is not a *mailbox* format.
* mailbox/mailutils-config.c: Added mu_nntp
* mailbox/include/iterator0.h (_iterator.getitem): Changed
declaration. There's no use passing a pointer to the const
location, since the function *must* assign to it anyway.
* include/mailutils/iterator.h (iterator_set_getitem): Changed
declaration
* mailbox/iterator.c (iterator_set_getitem): Changed
declaration
(iterator_current): Additional typecast on pitem
* mailbox/list.c: Updated declaration of getitem method.
* mailbox/nntp/nntp_iterator.c: Likewise
* mailbox/pop/pop3_iterator.c: Likewise
* mailbox/mailbox.c: Include <list.h>
* mailbox/mailer.c: Likewise
2004-07-05 Alain Magloire
* configure.ac: enable NNTP support.
* example/Makefile.am: Enable NNTP.
* frm/Makefile.am: Enable NNTP.
* from/Makefile.am: Enable NNTP.
* messages/Makefile.am: Enable NNTP.
* readmsg/Makefile.am: Enable NNTP.
* guimb/Makefile.am: Enable NNTP.
* mail/Makefile.am: Enable NNTP.
* sieve/Makefile.am: Enable NNTP.
* imap4d/Makefile.am: Put @AUTHLIBS@ before libmailbox.a (failed
on cygwin if not).
* pop3d/Makefile.am: Put @AUTHLIBS@ before libmailbox.a (failed on
cygwin if not).
* mail.local/Makefile.am: Put @AUTHLIBS@ before libmailbox.a
(failed on cygwin if not).
* mailbox/stream.c (stream_wait): Bugfix. If we buffer return
true if the cache still have data.
* include/mailutils/nntp.h: Define the default NNTP port number.
* include/mailutils/pop3.h: Define the default POP3 port number.
* include/mailutils/registrar.h: Enable NNTP.
* mailbox/nntp/folder.c: New file.
* mailbox/nntp/mbox.c: New file.
* mailbox/nntp/url.c: New file.
* mailbox/nntp/Makefile.am: Updated.
2004-07-03 Sergey Poznyakoff
* mailbox/list.c (list_data_dup): Bugfix: *ptr was not assigned.
* doc/texinfo/muint.texi: Automake does not allow two independent
texi sources to include the same file (version.texi, in this
case). What a stupid lossage! However it handles all files whose
name matches "vers*.texi" as version.texi, which allows to
override the bug: include vers-muint.texi instead of version.texi.
2004-07-01 Sergey Poznyakoff
* include/mailutils/iterator.h (iterator_current)
(iterator_set_getitem): Changed proto
(iterator_get_list): Removed.
* mailbox/include/iterator0.h (struct _iterator.getitem): Changed
declaration.
* mailbox/iterator.c (iterator_current)
(iterator_set_getitem): Changed declaration
* mailbox/list.c (getitem): Changed declaration
* mailbox/rfc2047.c (rfc2047_decode): Fixed buffer
handling
* examples/mta.c: Minor fix
* examples/nntpclient.c: Fixed printf formats
(com_newgroups,com_newnews): Variable declarations are only allowed
before the statements.
* mailbox/nntp/nntp_article.c: Fixed printf formats
* mailbox/nntp/nntp_body.c: Likewise
* mailbox/nntp/nntp_head.c: Likewise
* mailbox/nntp/nntp_iterator.c: Added missing include
(nntp_itr_getitem): Changed declaration
* mailbox/pop/pop3_iterator.c (pop3_itr_getitem): Changed
declaration
2004-06-30 Alain Magloire
* configure.ac: Add nntp directory.
* doc/rfc/pop3.texit: add new API.
* mailbox/Makefile.am: Add nntp directory.
* mailbox/nntp/Makefile.am: Add new files.
* mailbox/nntp/nntp_iterator.c: New file.
* mailbox/nntp/nntp_list_active.c: Use the an iterator_t instead of a lis_t..
* mailbox/nntp/nntp_list_distribpats.c: instead of a lis_t. file.
* mailbox/nntp/nntp_list_times.c: instead of a lis_t. file.
* mailbox/nntp/nntp_list_newgroups.c: instead of a lis_t. file.
* mailbox/nntp/nntp_list_newnews.c: instead of a lis_t. file.
* mailbox/pop3/Makefile.am: Add new files.
* mailbox/pop3/pop3_iterator.c: New file.
* mailbox/pop3/pop3_capa.c: instead of a lis_t. file.
* mailbox/pop3/pop3_lista.c: instead of a lis_t. file.
* mailbox/pop3/pop3_uidla.c: instead of a lis_t. file.
* include/mailutils/Makefile.am: Add nntp.h and pop3.h.
* include/mailutils/nntp.h: Add new declarations.
* include/mailutils/sys/Makefile.am: Add nntp and pop3.hh
* include/mailutils/sys/nntp.h: Add new declarations.
* include/mailutils/pop3.h: NAdd new declarations.
* example/Makefile.am: Adusted to new API.
* example/nntpclient.c: Adusted to new API.
* example/pop3client.c: Adusted to new API.
* example/.cvsignore: Add nntpclient.
2004-06-30 Alain Magloire
* mailbox/list.c (list_get_iterator): Bug fix, wrong size for calloc()
(list_data_dup): Copy the elements.
2004-06-30 Sergey Poznyakoff
* libsieve/extensions/spamd.c (spamd_shutdown): Bugfix
2004-06-29 Alain Magloire
Continuing the framework for NNTP support
* mailbox/nntp/.cvsignore: New file.
* mailbox/nntp/nntp_help.c: New file.
* mailbox/nntp/nntp_ihave.c: New file.
* mailbox/nntp/nntp_list_active.c: New file.
* mailbox/nntp/nntp_list_distribpats.c: New file.
* mailbox/nntp/nntp_list_distributions.c: New file.
* mailbox/nntp/nntp_list_newsgroups.c: New file.
* mailbox/nntp/nntp_list_times.c: New file.
* mailbox/nntp/nntp_newgroups.c: New file.
* mailbox/nntp/nntp_newnews.c: New file.
* mailbox/nntp/nntp_post.c: New file.
* mailbox/nntp/nntp_article.c: implementation.
* mailbox/nntp/nntp_body.c: implementation.
* mailbox/nntp/nntp_connect.c: implementation.
* mailbox/nntp/nntp_date.c: implementation.
* mailbox/nntp/nntp_destroy.c: implementation.
* mailbox/nntp/nntp_group.c: implementation.
* mailbox/nntp/nntp_head.c: implementation.
* mailbox/nntp/nntp_list_extensions.c: implementation.
* mailbox/nntp/nntp_stat.c: implementation.
* mailbox/nntp/nntp_stream.c: implementation.
* include/mailutils/nntp.h: Declarations.
* include/mailutils/sys/nntp.h: Declarations.
* examples/nntpclient.c: Adujsted.
* examples/pop3client.c: Minor bug fixes.
2004-06-28 Sergey Poznyakoff
* mailbox/filter_iconv.c (internal_icvt_read)
(copy_pass): Fixed mistyped conditions.
* mailbox/include/iterator0.h (struct _iterator): rewritten as
a general-purpose iterator structure.
* include/mailutils/iterator.h (iterator_create): Changed
proto.
(iterator_attach,iterator_detach,iterator_advance)
(iterator_set_first,iterator_set_next)
(iterator_set_getitem,iterator_set_finished_p)
(iterator_set_dup,iterator_set_destroy): New functions.
* mailbox/iterator.c: Likewise
* include/mailutils/list.h (list_get_iterator): New function
* mailbox/list.c: Likewise
* examples/listop.c: Replace iterator_create with
list_get_iterator.
* examples/nntpclient.c: Likewise
* examples/pop3client.c: Likewise
* imap4d/util.c: Likewise
* libsieve/comparator.c: Likewise
* libsieve/prog.c: Likewise
* libsieve/register.c: Likewise
* libsieve/require.c: Likewise
* libsieve/sieve.l: Likewise
* mail/retain.c: Likewise
* mail/util.c: Likewise
* mailbox/filter.c: Likewise
* mailbox/folder.c: Likewise
* mailbox/mailbox.c: Likewise
* mailbox/mailer.c: Likewise
* mailbox/mu_auth.c: Likewise
* mailbox/mutil.c: Likewise
* mailbox/observer.c: Likewise
* mh/ali.c: Likewise
* mh/mh_alias.y: Likewise
* mh/pick.y: Likewise
* mh/refile.c: Likewise
2004-06-27 Sergey Poznyakoff
* direntry: New file
2004-06-27 Sergey Poznyakoff
See ChangeLog.0.5 for earlier entries
Local Variables:
mode: change-log
version-control: never
End: