New NNTP authentication code.
[claws.git] / ChangeLog.claws
index 4e44f895c66ec7004b87794a1c45b0839febe3e7..2616eb7597e46552d8c367bf775e497a8f7d3253 100644 (file)
@@ -1,6 +1,71 @@
+2001-04-30 [sergey]
+
+       * src/nntp.h (NNTPSockInfo): new type.
+
+       * src/nntp.c: all functions updated to use NNTPSockInfo instead of
+       SockInfo.
+       (nntp_open_auth, nntp_close): new functions.
+       (nntp_gen_command): new function to handle authentication; all
+       NNTP command functions updated to use it.
+       (nntp_authinfo_user, nntp_authinfo_pass): deleted.
+       (nntp_list): removed old useless code.
+
+       * src/news.h (NNTPSession): new field nntp_sock.
+
+       * src/news.c: all functions updated to use NNTPSockInfo instead of
+       SockInfo.
+       (news_session_new): new arguments (userid, passwd); made static;
+       use nntp_open_auth() if needed.
+       (news_session_destroy): use nntp_close() instead of sock_close().
+       (news_query_password): changed arguments.
+       (news_session_new_for_folder): new function.
+       (news_session_get): use news_session_new_for_folder().
+       (news_authenticate): deleted.
+       (news_get_uncached_articles): removed old authentication code.
+
+2001-04-30 [sergey]
+
+       * src/news.c: reverted my previous changes (need to do NNTP
+       authentication in a cleaner way).
+       
+2001-04-29 [sergey]
+
+       * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
+       news_nntp_post, news_nntp_mode): new functions (wrappers with
+       authentication support).
+       (news_get_article_cmd, news_get_article, news_get_header): new
+       argument "folder"; all callers changed.
+       (news_get_article_cmd): added authentication support.
+       (news_session_get): use news_nntp_mode() instead of nntp_mode().
+       (news_post): use news_nntp_post() instead of nntp_post().
+       (news_get_uncached_articles): use news_nntp_group() instead of
+       nntp_group() and news_nntp_xover() instead of nntp_xover();
+       removed old authentication code.
+       (news_get_group_list): use news_nntp_list() instead of nntp_list().
+
+       * src/nntp.c (nntp_list): return real error code instead of
+       hardcoded NN_ERROR.
+
+2001-04-29 [sergey]
+
+       * configure.in: fixed wint_t typedef detection again
+
+2001-04-28 [hoa]
+
+       * src/prefs_account.[ch], added A_LOCAL_CMD
+               (send mail with mail command)
+       * src/send.c added function send_message_with_command()
+       * src/inc.c made a more secure get_spool() function with
+               mktemp() but maybe mkstemp() or something more
+               secure can be used.
 
 2001-04-28 [alfons]
 
+       * src/textview.c, colorization of email addresses in headers
+
+       0.4.65claws6
+
+       * bug sync with sylpheed
        * prefs_common.c: created date format ui for darko
        * sync with 0.4.65cvs11
        * configure.in: corrected to have the new gpg checks
          and font descent also taken in account when drawing
          cursor. [alfons]
 
-2001-04-24
+2001-04-24 [hoa]
        * added comments in src/news.c src/nntp.c
        * added src/prefs_headers.[ch]
        * added src/headers.[ch]
                 * updated all .cvsignores to really ignore things that could
                   be unintentionally committed by a recursive commit.
 
-2001-04-23
+2001-04-23 [hoa]
        * added src/grouplist_dialog.[ch]
        * changed src/folderview.c to call grouplist_dialog instead
                of inputdialog