Looks like the change was made in webbrowser.cpp
Here is the readme.txt file in the 9/15 source.
YPOPs Experimental Patch: Leave as unread, big emails processing,
download limit changed, long message ids trimmed,
usage report and crumb parsing with new inteface,
sign out
Patch #ltd040915a
Daniel Bryg <
[email protected]>, YahooPOPs! project developer
2004-09-15
Summary:
1.'Leave as unread' option will not mark old messages. The name
of the option should be changed to 'Don't mark as read' in the future.
WebBrowser.cpp
- while scanning messages in FetchInboxList(), parsing retieves
style of displayed message. This determines whether message
has been read.
- MarkUnread() rewritten to affect only previously unread messages.
This also should fix the crashing bug.
ServiceClient.cpp,Webbrowser.h/.cpp
- Processing of QUIT command changed to delete messages even with
the new option on and to respond with an error if there's a problem
with deleting.
Email.h/.cpp
- new parameter and methods to save and retrieve the read/unread
status of messages.
2.Section that replaces LF with CRLF sequence and takes care of
doubling dots has been rewritten to speed up processing.
WebBrowser.cpp
- Instead of calling CStdString::Replace(), two loops are doing
the job in CWebBrowser::DownloadEmail(). First loop scans the
message to determine the required memory, second loop copies the
message body while replacing as needed.
- CWebBrowser::DownloadEmail() checks whether email body is NULL
(bugfix - Exception was thrown when email body was empty).
3.New option 'Apply Limit to Message List' limits the number
of messages that are reported to client.
MiscConfigPage.h/.cpp,DataHolder.h/.cpp,resources
- new item on the Miscellanous configuration page (automatically
disabled if Ignore exact email size is off).
Webbrowser.cpp
- the loop in FetchMailboxList() is aborted if limit is reached
and the new option is on (m_bApplyLimit).
4.Very long message ids are trimmed to sequences of 7 numbers (bugfix).
WebBrowser.cpp
- code extracting UIDL in FetchMailboxList() is changed.
5.Message counter is increased only when downloading headers (bugfix).
WebBrowser.cpp
- counter does not impact downloading message body in DownloadEmail().
6.Null content type of retrieved pages (when a network problem
occurs) is not causing crashing and hanging popup windows.
HttpClientResponse.cpp
- checking for NULL in SetContentType() and ContentTypeContains()
7.Crumb extraction adapted for the new javascript interface (bugfix).
WebBrowser.cpp
- regular expression changed in ConnectToYahoo()
8.YPOPs signs out of the Yahoo! services after each session
if the cookie timeout is set to 0 (security improvement).
Webbrowser.h/.cpp
- new method LogOff() calls Yahoo sign-out page.
YahooStuff.h/.cpp
- new URL for the sign-out page
ServiceClient.cpp
- CWebBrowser::LogOff() is the last call made for servicing
the POP3 QUIT command.
SmtpClient.cpp
- CWebBrowser::LogOff() is called after receiving
the SMTP QUIT command.
9.Logging of the mailbox usage is adapted for the new Yahoo
interface and done with every retrieval of message lists.
Webbrowser.cpp
- update in FetchInboxList().
10.Source code that was missing from 0.6 release is back and fixed,
making the 'Ingore exact mail size' option work again.
DataHolder.cpp,ConfigMiscPage.h/.cpp
All changes for this patch were made to files included in the
v0.6 source release.
ltD>