Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12588/src/modules
Modified Files:
HtmlViewer.cpp LayoutViewer.cpp TextViewer.cpp
Log Message:
when replying to PGP-encrypted messages we now use plain text (coming from the
viewer) instead of the encrypted text; for this:
1. added MessageView::OnBodyText() to accumulate the text shown in the viewer
2. added ViewFilter::Start/EndText() and ProcessURL() and overrode them in
TransparentFilter to call OnBodyText()
3. modified the view filters to use the functions above instead of using
MessageViewer methods directly
4. removed NO_QUOTE hack from MailFolder, now we don't quote anything simply
if the msgview is NULL
Index: HtmlViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/HtmlViewer.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -b -u -2 -r1.63 -r1.64
--- HtmlViewer.cpp 16 May 2004 13:08:23 -0000 1.63
+++ HtmlViewer.cpp 12 Jul 2004 20:53:22 -0000 1.64
@@ -113,5 +113,4 @@
virtual void InsertText(const String& text, const MTextStyle& style);
virtual void InsertURL(const String& text, const String& url);
- virtual void EndText();
virtual void EndPart();
virtual void EndBody();
@@ -1100,9 +1099,4 @@
}
-void HtmlViewer::EndText()
-{
- // nothing to do here
-}
-
void HtmlViewer::EndPart()
{
Index: LayoutViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/LayoutViewer.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -b -u -2 -r1.36 -r1.37
--- LayoutViewer.cpp 10 Jan 2004 18:49:24 -0000 1.36
+++ LayoutViewer.cpp 12 Jul 2004 20:53:22 -0000 1.37
@@ -98,5 +98,4 @@
virtual void InsertText(const String& text, const MTextStyle& style);
virtual void InsertURL(const String& text, const String& url);
- virtual void EndText();
virtual void EndPart();
virtual void EndBody();
@@ -622,9 +621,4 @@
}
-void LayoutViewer::EndText()
-{
- // nothing to do here
-}
-
void LayoutViewer::EndPart()
{
Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -b -u -2 -r1.55 -r1.56
--- TextViewer.cpp 10 Jan 2004 18:49:24 -0000 1.55
+++ TextViewer.cpp 12 Jul 2004 20:53:22 -0000 1.56
@@ -121,5 +121,4 @@
virtual void InsertText(const String& text, const MTextStyle& style);
virtual void InsertURL(const String& text, const String& url);
- virtual void EndText();
virtual void EndPart();
virtual void EndBody();
@@ -796,9 +795,4 @@
}
-void TextViewer::EndText()
-{
- // we don't need to do anything special here
-}
-
void TextViewer::EndPart()
{
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates