sync with 0.9.2cvs2
authorPaul Mangan <paul@claws-mail.org>
Wed, 18 Jun 2003 06:17:03 +0000 (06:17 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 18 Jun 2003 06:17:03 +0000 (06:17 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.ac
src/pop.c

index 26f5508..b57415a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2003-06-16
+
+       * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
+         UIDL list is not found (fixes inability of initial retrieval).
+
+2003-06-10
+
+       * src/main.c: added the option '--status-full' which shows the status
+         of each folder specified. The option '--status' also takes
+         following arguments for folders (thanks to Yuri Arapov).
+       * src/folder.[ch]: folder_get_status(): new. it takes the array of
+         folders as the argument and returns their status.
+         folder_count_total_msgs(): removed.
+
 2003-06-06
 
        * src/filesel.c
index bdd7b42..007696d 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-18 [paul]      0.9.0claws42
+
+       * sync with 0.9.2cvs2
+               see ChangeLog 2003-06-16
+
 2003-06-17 [alfons]    0.9.0claws41
 
        * src/procmsg.c
index 9615dda..eebea87 100644 (file)
@@ -1,3 +1,18 @@
+2003-06-16
+
+       * src/pop.c: pop3_get_uidl_table(): UIDL ¥ê¥¹¥È¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç
+         ¤Ç¤â¶õ¤Î¥Ï¥Ã¥·¥å¥Æ¡¼¥Ö¥ë¤òÊÖ¤¹¤è¤¦¤Ë¤·¤¿(½é²ó¤Ë¥á¥Ã¥»¡¼¥¸¤ò¼èÆÀ
+         ½ÐÍè¤Ê¤¤¥Ð¥°¤ò½¤Àµ)¡£
+
+2003-06-10
+
+       * src/main.c: »ØÄꤷ¤¿³Æ¥Õ¥©¥ë¥À¤Î¥¹¥Æ¡¼¥¿¥¹¤òɽ¼¨¤¹¤ë¥ª¥×¥·¥ç¥ó
+         '--status-full' ¤òÄɲᣥª¥×¥·¥ç¥ó '--status' ¤â³¤¯°ú¿ô¤Ç¥Õ¥©¥ë¥À
+         ¤ò»ØÄê²Äǽ(Yuri Arapov ¤µ¤ó thanks)¡£
+       * src/folder.[ch]: folder_get_status(): ¿·µ¬¡£¥Õ¥©¥ë¥À¤ÎÇÛÎó¤ò°ú¿ô
+         ¤È¤·¤Æ¼õ¤±¼è¤ê¡¢¤½¤ì¤é¤Î¥¹¥Æ¡¼¥¿¥¹¤òÊÖ¤¹¡£
+         folder_count_total_msgs(): ºï½ü¡£
+
 2003-06-06
 
        * src/filesel.c
index ed80da9..ca220b3 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws41
+EXTRA_VERSION=claws42
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 8aa4d8a..ee38820 100644 (file)
--- a/src/pop.c
+++ b/src/pop.c
@@ -88,6 +88,7 @@ static gint pop3_session_recv_data_finished   (Session        *session,
                                                 guchar         *data,
                                                 guint           len);
 
+
 static gint pop3_greeting_recv(Pop3Session *session, const gchar *msg)
 {
        session->state = POP3_GREETING;
@@ -426,6 +427,8 @@ GHashTable *pop3_get_uidl_table(PrefsAccount *ac_prefs)
        time_t recv_time;
        time_t now;
 
+       table = g_hash_table_new(g_str_hash, g_str_equal);
+
        path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S,
                           "uidl", G_DIR_SEPARATOR_S, ac_prefs->recv_server,
                           "-", ac_prefs->userid, NULL);
@@ -438,13 +441,11 @@ GHashTable *pop3_get_uidl_table(PrefsAccount *ac_prefs)
                if ((fp = fopen(path, "rb")) == NULL) {
                        if (ENOENT != errno) FILE_OP_ERROR(path, "fopen");
                        g_free(path);
-                       return NULL;
+                       return table;
                }
        }
        g_free(path);
 
-       table = g_hash_table_new(g_str_hash, g_str_equal);
-
        now = time(NULL);
 
        while (fgets(buf, sizeof(buf), fp) != NULL) {