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