ok & cancel buttons added - xhdr parsing fixed
[claws.git] / ChangeLog.claws
1 2001-05-09 [hoa]
2         * src/prefs_matcher.c
3                 finished UI to define matching properties
4                 added ok and cancel button
5         * src/prefs_filter.c
6                 added ok and cancel button
7         * src/news.c
8                 fixed some bug in xhdr parsing
9
10 2001-05-08 [alfons]
11
12         * src/textview.c: 
13                 fixed a bug in textview_show_header(), which displayed two colons (':');
14                 cleaned up some warnings
15
16 2001-05-08 [hoa]
17
18         * src/Makefile.am
19                 added prefs_matcher.[ch]
20                 compilation with -W -Wall
21         * src/alertpanel.c
22                 ungrab the mouse events if grabbed - does it
23                 fix the bug for disposition notification ?
24         * src/mainwindow.c
25                 added a menu option to open the matching dialog.
26         * src/matcher.[ch]
27                 added matcherprop_to_string() and matcherlist_to_string()
28                 fixed some bugs, changed the name of some options
29                 age_sup and age_inf becomes age_greater and age_lower,
30                 body and messageheaders becomes body_part and headers_part,
31                 changed the names of constants from SCORING_XXX to MATCHING_XXX
32         * src/prefs_display_header.c
33         * src/prefs_headers.c
34                 fixed a bug that accidentally destroyed dialogs
35                 when closed them with delete_event
36                 Added *_deleted() which handle delete_event signal correctly.
37         * src/prefs_folder_item.[ch]
38                 added "enable_thread" field for future customization
39         * added src/prefs_matcher.[ch]
40                 sample of the UI to define matching properties
41         * src/procheader.c
42                 using procheader_headername_equal instead of str*cmp functions
43                 using procheader_parse_header() function
44         * src/scoring.c
45                 using MATCHING_XXX instead of SCORING_XXX
46         * src/summaryview.c
47                 display the sender of the news even if this is ourself
48                 when this is a news message.
49         * src/textview.c
50                 using headername_equal() instead of str*cmp functions
51
52 2001-05-08 [alfons]
53
54         0.4.66claws
55
56         * sync with sylpheed 0.4.66
57         * src/gtkstext.c: trace logs added 
58
59 2001-05-08 [sergey]
60
61         * src/prefs_common.[ch]: added option to enable/disable GnuPG
62         signature check popup.
63         * src/rfc2015.c (check_signature): show signature check popup only
64         if it is enabled in preferences.
65
66 2001-05-07 [alfons]
67
68         0.4.66claws4
69         
70         * sync with sylpheed 0.4.66cvs6
71
72 2001-05-07 [darko]
73
74         * src/prefs_common.[ch]: added option to enable/disable
75           looking up sender name in address book for summary pane
76         * src/summaryview.c: look up sender in the address book
77           by using Alfons' address completion code
78
79 2001-05-07 [hiroyuki]
80
81         * src/inc.h
82           src/pop.c: pop3_retr_recv(): removed cur_msg_bytes from the
83           member of Pop3State.
84         * src/news.c: brought #include "defs.h" before #include <glib.h>
85           to prevent the warning of `MIN' and `MAX' redefinition.
86
87 2001-05-06 [hoa]
88
89         * removed src/headers_display.[ch]
90         * removed src/prefs_display_headers.[ch]
91         * src/inc.c
92                 use a temporary file in the user directory for mbox import
93         * src/news.c
94                 added XHDR support to get "To" and "Cc" headers
95                 (in order to match news with to or cc field for
96                 scoring)
97                 added function news_parse_xhdr() to get XHDR response
98         * src/nntp.[ch]
99                 added function nntp_xhdr()
100         * src/matcher.c
101                 fetch the message if necessary
102
103 2001-05-06 [alfons]
104
105         0.4.66claws3
106
107         * sync with sylpheed 0.4.66cvs3-5
108
109 2001-05-06 [hoa]
110
111         * src/utils.[ch]
112                 added function itos_buf() to enable use of several buffers
113         * src/summaryview.c
114                 use of itos_buf() instead of itos() in summary list
115                 to fix the broken display of message number.
116
117 2001-05-06 [alfons]
118
119         * src/gtkstext.c: bug in cursor up navigation fixed,
120                 fixed another unsigned / signed comparison (we're getting there :-)
121
122 2001-05-06 [hoa]
123
124         * src/Makefile.am
125                 added scoring.c scoring.h
126                 prefs_folder_item.c prefs_folder_item.h
127                 matcher.c matcher.h
128         * src/defs.h
129                 added FOLDERITEM_RC SCORING_RC
130         * src/folder.[ch]
131                 added prefs field in FolderItem :
132                 properties for each folder (PrefsFolderItem),
133                 sorting type and mode were added as the first properties.
134         * src/main.c
135                 read config for scoring
136         * added src/matcher.[ch]
137                 gives functions to parse configuration file to do
138                 matching on mails with a list of conditions.
139         * src/mainwindow.c
140                 add option to sort by score
141         * src/prefs_common.[ch]
142                 added preference option to show score and for
143                 the score column size
144         * added src/prefs_folder_item.[ch]
145                 properties for each folder (PrefsFolderItem),
146                 sorting type and mode were added as the first properties.
147         * src/procheader.[ch]
148                 added procheader_parse_header()
149                 added procheader_header_free()
150                 added procheader_headername_equal()
151                 and made modification to use them.
152         * src/procmsg.[ch]
153                 added score field to MsgInfo structure
154         * added src/scoring.[ch]
155                 gives functions to parse configuration file to do
156                 scoring on mails with a list of conditions.
157         * src/summaryview.[ch]
158                 save the sorting type and mode for the folder
159                 added column to display the score of the mail
160                 added function summary_score_clicked()
161                 sorting type and mode are restored to the folder
162                 when it is reopen
163         * src/textview.c
164                 use procheader_parse_header(), procheader_headername_equal()
165                 removed memory leak in text_scan_header when freeing headers
166         * src/filter.c
167                 changed the function to match names of headers
168                 using procheader_headername_equal()
169
170         Scoring functions are implemented, an interface is needed
171         to configure that.
172
173 2001-05-04 [alfons]
174
175         * src/gtkstext.c: 
176                 hopefully fixed the row up navigation bug,
177                 removed adding back / forward lines to cache
178
179 2001-05-04 [sergey]
180
181         * src/prefs_display_headers.c: user interface changes:
182         (prefs_display_headers_create): remove unused "Show" check button;
183         allow reordering of headers by dragging.
184         (prefs_display_headers_write_config): remove unused variables.
185         (prefs_display_headers_set_dialog): do not insert "(New)" at top
186         of lists (not needed with the new UI).
187         (prefs_display_headers_set_list): scan lists starting from row 0,
188         not 1 (do not skip "(New)").
189         (prefs_display_headers_find_header): new function.
190         (prefs_display_headers_clist_set_row): do not allow duplicates.
191         (prefs_display_headers_delete_cb): do not skip row 0; treat
192         closing the alert window by ESC as "No".
193         (prefs_display_headers_up): do not protect row 0.
194         (prefs_display_headers_down): do not protect row 0.
195
196 2001-05-04 [sergey]
197
198         * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
199         functions.  
200
201         * src/summaryview.c
202         (summary_find_next_marked_msg, summary_find_prev_marked_msg,
203         summary_select_next_marked, summary_select_prev_marked): new
204         functions.
205
206 2001-05-03 [sergey]
207
208         * src/news.c: fixed a bug when no article can be fetched after
209         server timeout if the connection was restored by news_post():
210         (news_select_group): new function.
211         (news_fetch_msg): call news_select_group() before fetching
212         article.
213         (news_get_uncached_articles): set session->group after successful
214         GROUP command.
215
216 2001-05-03 [hoa]
217
218         * src/defs.h
219         * src/procmsg.[ch]
220         * src/procheader.c
221                  changed version of cache, added cc field
222
223         * src/prefs_display_headers.c
224                 the interface was changed
225
226         * src/prefs_headers.c
227                 added cancel button
228
229 2001-05-03 [alfons]
230
231         * completed sync of sylpheed cvs2
232         * src/gtkstext.c: updated row up / down cursor navigation
233         * src/textview.c: re-edited, prepared for fixing the email address
234                 scanner.
235
236 2001-05-03 [darko]
237
238         * src/prefs_common.c: use alfons' strftime ui code
239         entry_datefmt and datefmt_sample widgets have to be
240         global in this module because of this change
241
242 2001-05-03 [hoa]
243
244         * src/messageview.c
245         * src/prefs_common.[ch] added option to activate the return receipt
246                 feature.
247
248 2001-05-02 [alfons]
249
250         * src/gtkstext.c: fix for row up/down cursor navigation. 
251
252         0.4.66claws2
253         
254         * sync with 0.4.66cvs2
255
256 2001-05-02 [paul]
257
258         added add-sender-to-addressbook patch
259
260         * src/addressbook.c
261         * src/addressbook.h
262         * src/summaryview.c
263
264 2001-05-02 [sergey]
265
266         * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
267         G_ALERTDISABLE.
268
269         * src/alertpanel.c (alertpanel_create): new argument can_disable,
270         all existing callers changed to pass FALSE; create a check button
271         to disable the message.
272         (alertpanel_message_with_disable): new function.
273         (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
274         (alertpanel_button_toggled): new function.
275         (alertpanel_button_clicked, alertpanel_close): set value using
276         G_ALERT_VALUE_MASK.
277
278         * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
279
280         * src/prefs_common.c (prefs_privacy_create): new check button
281         checkbtn_gpgme_warning.
282
283         * src/main.c (main): moved preferences reading before gpgme
284         initialization; check prefs_common.gpgme_warning before giving the
285         GnuPG warning and set it to FALSE if the user wants to disable the
286         warning.
287
288 2001-05-02 [hiroyuki]
289
290         * src/prefs_display_headers.c: modified the layout and some labels.
291
292 2001-05-02 [sergey]
293
294         * src/prefs_account.c (prefs_account_fix_size): new function.
295         (prefs_account_create): call prefs_account_fix_size(); use
296         gtk_widget_show instead of gtk_widget_show_all (fixes too large
297         size when the window is shown for the first time).
298         (prefs_account_basic_create): changed layout of serv_table; moved
299         localmbox_entry above smtpserv_entry (logically it replaces
300         POP3/IMAP server).
301         (prefs_account_protocol_activated): set sensitivity of
302         nntpauth_chkbtn according to the protocol (in addition to
303         hide/show); commented out gtk_table_set_row_spacing() calls.
304         (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
305         not sensitive (fixes a bug with disabled username/password boxes
306         when editing POP3 account after NNTP with authentication).
307
308 2001-05-02 [hoa]
309
310         * src/account.c
311         * src/inc.c
312         * src/prefs_account.[ch]
313         * src/send.c
314                 removed local account without SMTP server
315                 added option to use mail command instead of a connexion
316                 to SMTP server when a local account is used
317         * src/prefs_headers.c
318                 fixed a bug
319         * src/news.c
320                 fixed a bug when connexion immediately closed
321
322 2001-05-01 [alfons]
323
324         0.4.66claws1
325         
326         * sync with 0.4.65
327
328 2001-05-01 [sergey]
329
330         * src/prefs_account.c (Basic, prefs_account_basic_create): new
331         widget nntpauth_chkbtn.
332         (prefs_account_protocol_activated): handle nntpauth_chkbtn
333         visibility.
334         (prefs_account_nntpauth_toggled): new function.
335
336         * src/news.c (news_session_new_for_folder): use NNTP
337         authentication only if ac->use_nntp_auth is set.
338
339 2001-05-01 [hoa]
340
341         * src/Makefile.am changed headers.[ch] in customheader.[ch]
342         * src/prefs_display_headers.c changed the UI
343         * src/prefs_headers.c changed account_name to account_id
344         * src/compose.c using customheader.h
345
346 2001-05-01 [hiroyuki]
347
348         * src/esmtp.c
349           src/news.c
350           src/nntp.c: changed sock_read() to sock_gets(), they've been left
351           unsynched.
352
353 2001-05-01 [hoa]
354
355         * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
356         * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
357                 for displaying of headers
358         * src/grouplist_dialog.[ch] minor changes to remove warnings
359         * src/prefs_display_headers.[ch] dialog to choose the
360         headers to display in the mail viewer.
361         * src/headers.h correction of #define
362         * src/headers_display.[ch] configuration for displaying of headers.
363         * src/main.c read config of displaying of headers
364         * src/prefs_common.c add a button to access the config dialog
365                 for displaying of headers
366         * src/prefs_display_headers.[ch] dialog for configuration for
367                 displaying of the headers.
368         * src/prefs_headers.c cleaning of code
369         * src/procheader.c comments added to code
370         * src/textview.c changes to reorder the headers depending
371                 on the config for displaying of headers
372
373 2001-04-30 [alfons]
374
375         0.4.65claws7
376
377         * sync with 0.4.65cvs12
378
379         NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
380
381 2001-04-30 [sergey]
382
383         * src/nntp.h (NNTPSockInfo): new field auth_failed.
384
385         * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
386         is set to force reconnection after authentication failure.
387         (nntp_gen_command): set sock->auth_failed on authentication
388         failure, or if sock->userid and sock->passwd are not set.
389
390         * src/news.c (news_session_new_for_folder): set userid=NULL if
391         password dialog is cancelled.
392
393 2001-04-30 [sergey]
394
395         * src/nntp.h (NNTPSockInfo): new type.
396
397         * src/nntp.c: all functions updated to use NNTPSockInfo instead of
398         SockInfo.
399         (nntp_open_auth, nntp_close): new functions.
400         (nntp_gen_command): new function to handle authentication; all
401         NNTP command functions updated to use it.
402         (nntp_authinfo_user, nntp_authinfo_pass): deleted.
403         (nntp_list): removed old useless code.
404
405         * src/news.h (NNTPSession): new field nntp_sock.
406
407         * src/news.c: all functions updated to use NNTPSockInfo instead of
408         SockInfo.
409         (news_session_new): new arguments (userid, passwd); made static;
410         use nntp_open_auth() if needed.
411         (news_session_destroy): use nntp_close() instead of sock_close().
412         (news_query_password): changed arguments.
413         (news_session_new_for_folder): new function.
414         (news_session_get): use news_session_new_for_folder().
415         (news_authenticate): deleted.
416         (news_get_uncached_articles): removed old authentication code.
417
418 2001-04-30 [sergey]
419
420         * src/news.c: reverted my previous changes (need to do NNTP
421         authentication in a cleaner way).
422         
423 2001-04-29 [sergey]
424
425         * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
426         news_nntp_post, news_nntp_mode): new functions (wrappers with
427         authentication support).
428         (news_get_article_cmd, news_get_article, news_get_header): new
429         argument "folder"; all callers changed.
430         (news_get_article_cmd): added authentication support.
431         (news_session_get): use news_nntp_mode() instead of nntp_mode().
432         (news_post): use news_nntp_post() instead of nntp_post().
433         (news_get_uncached_articles): use news_nntp_group() instead of
434         nntp_group() and news_nntp_xover() instead of nntp_xover();
435         removed old authentication code.
436         (news_get_group_list): use news_nntp_list() instead of nntp_list().
437
438         * src/nntp.c (nntp_list): return real error code instead of
439         hardcoded NN_ERROR.
440
441 2001-04-29 [sergey]
442
443         * configure.in: fixed wint_t typedef detection again
444
445 2001-04-28 [hoa]
446
447         * src/prefs_account.[ch], added A_LOCAL_CMD
448                 (send mail with mail command)
449         * src/send.c added function send_message_with_command()
450         * src/inc.c made a more secure get_spool() function with
451                 mktemp() but maybe mkstemp() or something more
452                 secure can be used.
453
454 2001-04-28 [alfons]
455
456         * src/textview.c, colorization of email addresses in headers
457
458         0.4.65claws6
459
460         * bug sync with sylpheed
461         * prefs_common.c: created date format ui for darko
462         * sync with 0.4.65cvs11
463         * configure.in: corrected to have the new gpg checks
464
465 2001-04-27 [alfons]
466
467         * completed sync with 0.4.65cvs10
468         * minor debug things added to gtkstext.c
469
470 2001-04-27 [darko]
471
472         * configure.in: remove check for availability of
473           strftime() as advised by Hiroyuki
474         * src/prefs_common.[ch], src/procheader.c:
475           synch strftime() code with Hiroyki's main branch
476
477 2001-04-26 [sergey]
478
479         * src/news.c: news_query_password(), news_authenticate(): new
480           functions.
481           news_get_uncached_articles(): added NNTP authentication
482           handling.
483         * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
484           new functions.
485         * src/prefs_account.c: prefs_account_protocol_activated():
486           enable userid and password fields for NNTP.
487
488 2001-04-26
489
490         * configure.in: check for availability of strftime()
491           [darko]
492         * src/prefs_common.[ch], src/procheader.c: use
493           strftime() for displaying date in summary pane if it
494           is available
495
496 2001-04-25
497
498         * more .cvsignore cleanups [alfons]
499
500 2001-04-25
501
502         * ac/sv-check-type.m4: new autoconf macro.
503         * configure.in: fixed wint_t typedef detection (did not work
504           with gcc-2.96).
505
506 2001-04-25
507
508         * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
509           [hiroyuki]
510
511 2001-04-24
512         * modified gtkstext.c : buggy cursor navigation fixed, 
513           and font descent also taken in account when drawing
514           cursor. [alfons]
515
516 2001-04-24 [hoa]
517         * added comments in src/news.c src/nntp.c
518         * added src/prefs_headers.[ch]
519         * added src/headers.[ch]
520         * modified compose.c to activate custom headers
521                 added function is_in_custom_headers
522         * modified prefs_account.[ch]
523                 added function prefs_account_customhdr_edit
524         * modified src/defs.h :
525                 added HEADERS_RC : name of the config file
526                 for the custom headers
527
528 2001-04-24
529
530     0.4.65claws5
531
532         * configure.in
533           src/gtkstext.[ch]
534           src/compose.c
535           src/Makefile.am
536           
537           added gtkstext with configure.in patch by Hiroyuki which
538           should fix the XIM detection [alfons]
539
540         * more clean up of cvs [alfons]
541
542                  * removed all Makefile.in files to attic.
543
544                  * updated all .cvsignores to really ignore things that could
545                    be unintentionally committed by a recursive commit.
546
547 2001-04-23 [hoa]
548         * added src/grouplist_dialog.[ch]
549         * changed src/folderview.c to call grouplist_dialog instead
550                 of inputdialog
551         * src/news.c :
552                 added functions news_reset_group_list
553                 and news_get_group_list
554         * src/nntp.c :
555                 added function nntp_list
556         * src/defs.h :
557                 added GROUPLIST_FILE : name of the newsgroup list cache file
558
559 2001-04-21
560
561         * added option to warn about queued messages on exit [sergey]:
562
563           * src/compose.c: compose_queue(): call folder_item_scan()
564             and folderview_update_item() after queueing.
565           * src/folderview.c: folderview_update_node(): draw the queue
566             folder in bold font if there are queued messages.
567           * src/mainwindow.c: queued_messages(): new function.
568             app_exit_cb(): display warning if there are queued messages
569             if warn_queued_on_exit is set.
570           * prefs_common.[ch]: add warn_queued_on_exit option.
571
572         * enhanced GnuPG key selection support [sergey]:
573
574           * src/select-keys.c: updated to newer version from Win32
575             branch with support for selecting arbitrary keys.
576           * src/prefs_account.c: added the Privacy tab to the account
577             options window.
578             prefs_account_privacy_create(),
579             prefs_account_sign_key_set_data_from_radiobtn(),
580             prefs_account_sign_key_set_radiobtn(): new functions.
581           * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
582           * src/rfc2015.c: set_signers(): new function.
583             pgp_sign(): add the account parameter, call set_signers().
584             rfc2015_sign(): add the account parameter, pass it to pgp_sign().
585           * src/rfc2015.h: rfc2015_sign(): updated prototype.
586           * src/compose.c: pass the current account to rfc2015_sign().
587
588         * tag name claws added to prevent confusion with main branch [alfons]
589
590         * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
591
592         * autogen.sh: Added "--enable-maintainer-mode". [sergey]
593
594         * sync with recent sylpheed cvs. Untested though. [alfons]
595