From: John Graham-C. <jgr...@us...> - 2004-11-29 16:44:04
|
Update of /cvsroot/popfile/engine/Services In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27441/Services Modified Files: IMAP.pm Log Message: Make separator lines conform to 78 column maximum Index: IMAP.pm =================================================================== RCS file: /cvsroot/popfile/engine/Services/IMAP.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** IMAP.pm 16 Sep 2004 11:01:52 -0000 1.7 --- IMAP.pm 29 Nov 2004 16:43:54 -0000 1.8 *************** *** 4,8 **** @ISA = ("POPFile::Module"); ! # --------------------------------------------------------------------------------------------- # # IMAP.pm --- a module to use POPFile for an IMAP connection. --- 4,8 ---- @ISA = ("POPFile::Module"); ! # ---------------------------------------------------------------------------- # # IMAP.pm --- a module to use POPFile for an IMAP connection. *************** *** 34,38 **** # http://popfile.sf.net/cgi-bin/wiki.pl?ExperimentalModules/Imap # ! # --------------------------------------------------------------------------------------------- use IO::Socket; --- 34,38 ---- # http://popfile.sf.net/cgi-bin/wiki.pl?ExperimentalModules/Imap # ! # ---------------------------------------------------------------------------- use IO::Socket; *************** *** 105,113 **** ! # --------------------------------------------------------------------------------------------- # # initialize # ! # --------------------------------------------------------------------------------------------- sub initialize --- 105,113 ---- ! # ---------------------------------------------------------------------------- # # initialize # ! # ---------------------------------------------------------------------------- sub initialize *************** *** 148,152 **** ! # --------------------------------------------------------------------------------------------- # # Start. Get's called by the loader and makes us run. --- 148,152 ---- ! # ---------------------------------------------------------------------------- # # Start. Get's called by the loader and makes us run. *************** *** 155,159 **** # folders / mailboxes, so we can populate the configuration UI. # ! # --------------------------------------------------------------------------------------------- sub start --- 155,159 ---- # folders / mailboxes, so we can populate the configuration UI. # ! # ---------------------------------------------------------------------------- sub start *************** *** 200,209 **** ! # --------------------------------------------------------------------------------------------- # stop # # Not much to do here. # ! # --------------------------------------------------------------------------------------------- sub stop --- 200,209 ---- ! # ---------------------------------------------------------------------------- # stop # # Not much to do here. # ! # ---------------------------------------------------------------------------- sub stop *************** *** 225,229 **** ! # --------------------------------------------------------------------------------------------- # # service --- 225,229 ---- ! # ---------------------------------------------------------------------------- # # service *************** *** 233,237 **** # it goes to work. # ! # --------------------------------------------------------------------------------------------- sub service --- 233,237 ---- # it goes to work. # ! # ---------------------------------------------------------------------------- sub service *************** *** 457,461 **** ! # --------------------------------------------------------------------------------------------- # # disconnect_folders__ --- 457,461 ---- ! # ---------------------------------------------------------------------------- # # disconnect_folders__ *************** *** 464,468 **** # done and the next test needs to be done with different settings. # ! # --------------------------------------------------------------------------------------------- sub disconnect_folders__ --- 464,468 ---- # done and the next test needs to be done with different settings. # ! # ---------------------------------------------------------------------------- sub disconnect_folders__ *************** *** 481,485 **** ! # --------------------------------------------------------------------------------------------- # # scan_folder --- 481,485 ---- ! # ---------------------------------------------------------------------------- # # scan_folder *************** *** 498,502 **** # $folder: The folder to scan. # ! # --------------------------------------------------------------------------------------------- sub scan_folder --- 498,502 ---- # $folder: The folder to scan. # ! # ---------------------------------------------------------------------------- sub scan_folder *************** *** 594,598 **** ! # --------------------------------------------------------------------------------------------- # # classify_message --- 594,598 ---- ! # ---------------------------------------------------------------------------- # # classify_message *************** *** 615,619 **** # The emtpy string if the message was not moved # ! # --------------------------------------------------------------------------------------------- sub classify_message --- 615,619 ---- # The emtpy string if the message was not moved # ! # ---------------------------------------------------------------------------- sub classify_message *************** *** 712,716 **** ! # --------------------------------------------------------------------------------------------- # # reclassify_message --- 712,716 ---- ! # ---------------------------------------------------------------------------- # # reclassify_message *************** *** 734,738 **** # true if things went allright # ! # --------------------------------------------------------------------------------------------- sub reclassify_message --- 734,738 ---- # true if things went allright # ! # ---------------------------------------------------------------------------- sub reclassify_message *************** *** 777,781 **** ! # --------------------------------------------------------------------------------------------- # # folder_uid_status__ --- 777,781 ---- ! # ---------------------------------------------------------------------------- # # folder_uid_status__ *************** *** 794,798 **** # undef on error (changed uidvalidity) # true otherwise ! # --------------------------------------------------------------------------------------------- sub folder_uid_status__ --- 794,798 ---- # undef on error (changed uidvalidity) # true otherwise ! # ---------------------------------------------------------------------------- sub folder_uid_status__ *************** *** 873,877 **** ! # --------------------------------------------------------------------------------------------- # # connect --- 873,877 ---- ! # ---------------------------------------------------------------------------- # # connect *************** *** 881,885 **** # Return the socket on sucess or undef on failure # ! # --------------------------------------------------------------------------------------------- sub connect --- 881,885 ---- # Return the socket on sucess or undef on failure # ! # ---------------------------------------------------------------------------- sub connect *************** *** 954,958 **** ! # --------------------------------------------------------------------------------------------- # # login --- 954,958 ---- ! # ---------------------------------------------------------------------------- # # login *************** *** 966,970 **** # 0 on failure # 1 on success ! # --------------------------------------------------------------------------------------------- sub login --- 966,970 ---- # 0 on failure # 1 on success ! # ---------------------------------------------------------------------------- sub login *************** *** 986,990 **** ! # --------------------------------------------------------------------------------------------- # # logout --- 986,990 ---- ! # ---------------------------------------------------------------------------- # # logout *************** *** 998,1002 **** # 0 on failure # 1 on success ! # --------------------------------------------------------------------------------------------- sub logout --- 998,1002 ---- # 0 on failure # 1 on success ! # ---------------------------------------------------------------------------- sub logout *************** *** 1016,1020 **** } ! # --------------------------------------------------------------------------------------------- # # raw_say --- 1016,1020 ---- } ! # ---------------------------------------------------------------------------- # # raw_say *************** *** 1032,1036 **** # undef on error. True on success. # ! # --------------------------------------------------------------------------------------------- sub raw_say --- 1032,1036 ---- # undef on error. True on success. # ! # ---------------------------------------------------------------------------- sub raw_say *************** *** 1056,1060 **** ! # --------------------------------------------------------------------------------------------- # # say__ --- 1056,1060 ---- ! # ---------------------------------------------------------------------------- # # say__ *************** *** 1073,1077 **** # None. Will die on error, though. # ! # --------------------------------------------------------------------------------------------- sub say__ --- 1073,1077 ---- # None. Will die on error, though. # ! # ---------------------------------------------------------------------------- sub say__ *************** *** 1112,1116 **** ! # --------------------------------------------------------------------------------------------- # # raw_get_response --- 1112,1116 ---- ! # ---------------------------------------------------------------------------- # # raw_get_response *************** *** 1135,1139 **** # -3 Server didn't say anything, but the connection is still valid (I guess this cannot happen) # ! # --------------------------------------------------------------------------------------------- sub raw_get_response --- 1135,1139 ---- # -3 Server didn't say anything, but the connection is still valid (I guess this cannot happen) # ! # ---------------------------------------------------------------------------- sub raw_get_response *************** *** 1261,1265 **** ! # --------------------------------------------------------------------------------------------- # # get_response__ --- 1261,1265 ---- ! # ---------------------------------------------------------------------------- # # get_response__ *************** *** 1281,1285 **** # -3: Server didn't say anything # Will die on lost connections! ! # --------------------------------------------------------------------------------------------- sub get_response__ --- 1281,1285 ---- # -3: Server didn't say anything # Will die on lost connections! ! # ---------------------------------------------------------------------------- sub get_response__ *************** *** 1327,1331 **** ! # --------------------------------------------------------------------------------------------- # # get_mailbox_list --- 1327,1331 ---- ! # ---------------------------------------------------------------------------- # # get_mailbox_list *************** *** 1340,1344 **** # # The list of mailboxes ! # --------------------------------------------------------------------------------------------- sub get_mailbox_list --- 1340,1344 ---- # # The list of mailboxes ! # ---------------------------------------------------------------------------- sub get_mailbox_list *************** *** 1374,1378 **** ! # --------------------------------------------------------------------------------------------- # # fetch_message_part__ --- 1374,1378 ---- ! # ---------------------------------------------------------------------------- # # fetch_message_part__ *************** *** 1396,1400 **** # a list containing the lines of the retrieved message (part). # ! # --------------------------------------------------------------------------------------------- sub fetch_message_part__ --- 1396,1400 ---- # a list containing the lines of the retrieved message (part). # ! # ---------------------------------------------------------------------------- sub fetch_message_part__ *************** *** 1483,1487 **** ! # --------------------------------------------------------------------------------------------- # # move_message --- 1483,1487 ---- ! # ---------------------------------------------------------------------------- # # move_message *************** *** 1498,1502 **** # The destination folder. # ! # --------------------------------------------------------------------------------------------- sub move_message --- 1498,1502 ---- # The destination folder. # ! # ---------------------------------------------------------------------------- sub move_message *************** *** 1531,1535 **** ! # --------------------------------------------------------------------------------------------- # # get_new_message_list --- 1531,1535 ---- ! # ---------------------------------------------------------------------------- # # get_new_message_list *************** *** 1546,1550 **** # A list (possibly empty) of the UIDs of matching messages. # ! # --------------------------------------------------------------------------------------------- sub get_new_message_list --- 1546,1550 ---- # A list (possibly empty) of the UIDs of matching messages. # ! # ---------------------------------------------------------------------------- sub get_new_message_list *************** *** 1592,1596 **** ! # --------------------------------------------------------------------------------------------- # # (g|s)etters for configuration variables --- 1592,1596 ---- ! # ---------------------------------------------------------------------------- # # (g|s)etters for configuration variables *************** *** 1600,1604 **** ! # --------------------------------------------------------------------------------------------- # # folder_for_bucket__ --- 1600,1604 ---- ! # ---------------------------------------------------------------------------- # # folder_for_bucket__ *************** *** 1929,1933 **** ! # --------------------------------------------------------------------------------------------- # # configure_item --- 1929,1933 ---- ! # ---------------------------------------------------------------------------- # # configure_item *************** *** 1938,1942 **** # $language Current language # ! # --------------------------------------------------------------------------------------------- sub configure_item --- 1938,1942 ---- # $language Current language # ! # ---------------------------------------------------------------------------- sub configure_item *************** *** 2092,2096 **** ! # --------------------------------------------------------------------------------------------- # # validate_item --- 2092,2096 ---- ! # ---------------------------------------------------------------------------- # # validate_item *************** *** 2102,2106 **** # $form Hash containing all form items # ! # --------------------------------------------------------------------------------------------- sub validate_item --- 2102,2106 ---- # $form Hash containing all form items # ! # ---------------------------------------------------------------------------- sub validate_item |