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