Update of /cvsroot/mahogany/M/src/modules/viewflt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12588/src/modules/viewflt
Modified Files:
QuoteURL.cpp Signature.cpp Trailer.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: QuoteURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/QuoteURL.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -u -2 -r1.11 -r1.12
--- QuoteURL.cpp 14 Mar 2004 22:51:38 -0000 1.11
+++ QuoteURL.cpp 12 Jul 2004 20:53:22 -0000 1.12
@@ -422,5 +422,5 @@
{
// we use the URL itself for text here
- viewer->InsertURL(url, url);
+ m_next->ProcessURL(url, url, viewer);
}
}
Index: Signature.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/Signature.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -u -2 -r1.13 -r1.14
--- Signature.cpp 14 Mar 2004 22:51:38 -0000 1.13
+++ Signature.cpp 12 Jul 2004 20:53:23 -0000 1.14
@@ -214,5 +214,5 @@
{
// the main message text ends here
- viewer->EndText();
+ m_next->EndText();
// and now show the trailer in special style
Index: Trailer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/viewflt/Trailer.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -b -u -2 -r1.14 -r1.15
--- Trailer.cpp 13 Oct 2003 00:41:14 -0000 1.14
+++ Trailer.cpp 12 Jul 2004 20:53:23 -0000 1.15
@@ -123,5 +123,5 @@
// the main message text ends here
- viewer->EndText();
+ m_next->EndText();
// and now show the trailer in special style
-------------------------------------------------------
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