Marc Mutz
273f916e77
Don't encode the @ in addr-specs with rfc2047 if local-part contains
...
non-US-ASCII characters. This happens in anticipation of rfc2047 maybe becoming
allowed for local-parts (IDNA would be used for domain-names). Even if it's not,
this is still better than encoding the complete addr-spec (sans < > )
svn path=/trunk/kdenetwork/kmail/; revision=153614
24 years ago
Kalle Dalheimer
a09f1e65ac
Encryption/Signature state now persists during runtime.
...
Is not saved into index yet, though.
svn path=/trunk/kdenetwork/kmail/; revision=151997
24 years ago
Kalle Dalheimer
3d3d22c76b
Load/save encryption/signature state (bug #1003 (or was that #1006?))
...
svn path=/trunk/kdenetwork/kmail/; revision=151452
24 years ago
Karl-Heinz Zimmer
d17c8a6946
a) Merged AEGYPTEN_BRANCH additions into HEAD branch.
...
( see: http://www.gnupg.org/aegypten/ )
b) Removed some misleading warnings
c) Added Marc Mutz's patch of kmmsgpart.cpp: Make sure
Quoted Printable processing goes analogous to base64
by using KMime now and have some little improvements
in ::body().
d) AEGYPTEN_BRANCH was using KDockWidgets, these have been
(temporarily) disabled in the HEAD branch: will be
activated once KDockWidget has better usability.
Result of this: At the moment the new KMMimePartTree
is invisible - will be fixed right now.
PLEASE use the bug tracker to report any errors that might
result from this merger - additionally you may send mails
directly to me.
Karl-Heinz Zimmer, Senior Software Engineer, Klaraelvdalens Datakonsult AB
<mailto:khz@klaralvdalens-datakonsult.se> <mailto:khz@kde.org>
svn path=/trunk/kdenetwork/kmail/; revision=151089
24 years ago
Michael Haeckel
93699ad7fa
Handle spaces at line breaks between encoded and unencoded words correctely
...
in RFC2047 encoding.
svn path=/trunk/kdenetwork/kmail/; revision=150874
24 years ago
Zack Rusin
7db7f87550
Slowly switching to KRFCDate from DwDate
...
svn path=/trunk/kdenetwork/kmail/; revision=150790
24 years ago
Zack Rusin
edb17dee3f
Reworking date handling. Removing formatDate and fancyDate from kheaders.
...
Making KMail use DateFormatter class from KMime. Adding custom date formats.
Unifying the list and the reader as far as message display goes - make them
use the same configuration options. This one closes all known date related
problems.
svn path=/trunk/kdenetwork/kmail/; revision=148017
24 years ago
Stephan Kulow
9086ae0996
#warning is a gcc extention and I see little point in warning the compiling
...
user about his endian - as if he could anything change about that
svn path=/trunk/kdenetwork/kmail/; revision=140126
24 years ago
Waldo Bastian
77f2dc529d
Make index files portable across platforms.
...
svn path=/trunk/kdenetwork/kmail/; revision=138151
24 years ago
Michael Haeckel
a9babe0dec
Use iso-2022-jp by default for network related stuff and euc-jp for local stuff
...
in Japan.
Patch by Takumi ASAKI <asataku@osk3.3web.ne.jp>
svn path=/trunk/kdenetwork/kmail/; revision=136182
24 years ago
Marc Mutz
c64819537c
Safe part of my local include fixes.
...
svn path=/trunk/kdenetwork/kmail/; revision=131931
25 years ago
Michael Haeckel
7fa7997f14
Make parsing of long address headers _much_ faster.
...
svn path=/trunk/kdenetwork/kmail/; revision=128693
25 years ago
Marc Mutz
1d201a2665
Minor code cleanups, mostly removal of Qt2 defines.
...
svn path=/trunk/kdenetwork/kmail/; revision=127841
25 years ago
Dirk Mueller
aa0cadacd1
CVS-SILENT: fixincludes -e
...
svn path=/trunk/kdenetwork/kmail/; revision=126995
25 years ago
Michael Haeckel
d106dc8427
Don't loose the automatically set replied flags in IMAP folders after
...
restarting KMail.
Patch by Ronen Tzur <rtzur@shani.net>
svn path=/trunk/kdenetwork/kmail/; revision=125237
25 years ago
Marc Mutz
df698f1764
Fixed a few compile warnings.
...
Also this fixes a minor bug in kmpopfiltercnfrmdlg.cpp (5th hunk)
and removes unneeded includes from kmpopfilter..dlg.h.
svn path=/trunk/kdenetwork/kmail/; revision=125200
25 years ago
Michael Haeckel
c0b041df67
Give IMAP headers fetching some more speed.
...
svn path=/trunk/kdenetwork/kmail/; revision=124283
25 years ago
Michael Haeckel
1a0a626a15
Introduce message serial numbers in order to make the context menu in separate
...
reader windows working correctely.
Patch by Ronen Tzur <rtzur@shani.net>
svn path=/trunk/kdenetwork/kmail/; revision=123542
25 years ago
Waldo Bastian
ce39174336
Automatic charset selection.
...
svn path=/trunk/kdenetwork/kmail/; revision=121196
25 years ago
Waldo Bastian
6bda214b0e
- /** Convert all non-ascii characters to question marks */
...
- static const QCString toUsAscii(const QString& _str);
+ /** Convert all non-ascii characters to question marks
+ * If ok is non-null, *ok will be set to true if all characters
+ * where ascii, *ok will be set to false otherwise */
+ static const QCString toUsAscii(const QString& _str, bool *ok=0);
svn path=/trunk/kdenetwork/kmail/; revision=120665
25 years ago
Michael Haeckel
805bbf776c
Don't eat a space, if when decoding RFC2047 headers, and there are more
...
encoded words.
svn path=/trunk/kdenetwork/kmail/; revision=119578
25 years ago
Waldo Bastian
d6a82974f7
Use KCharsets::codecForName() instead of QTextCodec::codecForName()
...
svn path=/trunk/kdenetwork/kmail/; revision=119063
25 years ago
Michael Haeckel
8db155785a
Use the names we get from QTextCodec::mimeName() for the encoding lists.
...
svn path=/trunk/kdenetwork/kmail/; revision=118727
25 years ago
Dirk Mueller
6797558d5d
356 includes less
...
svn path=/trunk/kdenetwork/kmail/; revision=117339
25 years ago
Michael Haeckel
57ab16c6db
Fix possible memory corruption.
...
svn path=/trunk/kdenetwork/kmail/; revision=116054
25 years ago
Michael Haeckel
7806157e15
- Convert between little and big endian to keep compatible with the old index
...
format until a better solution is found.
- Regenerate the .sorted files, there we don't need to play the same game.
svn path=/trunk/kdenetwork/kmail/; revision=112812
25 years ago
Marc Mutz
f1c66804b2
Qt3 compile fixes. The last problem is in kmcomposewin.cpp
...
svn path=/trunk/kdenetwork/kmail/; revision=112567
25 years ago
Michael Haeckel
9f205d3940
Fix the space encoding issue a better way.
...
svn path=/trunk/kdenetwork/kmail/; revision=110141
25 years ago
Michael Haeckel
4bfd62691b
Don't eat the space between two words, that both contain non-ascii characters.
...
svn path=/trunk/kdenetwork/kmail/; revision=110092
25 years ago
Kurt Granroth
0b28159da9
Massive commit to include native maildir-style mailboxes support in
...
KMail. To test, create a Child Folder and select "maildir" as the
mailbox type.
svn path=/trunk/kdenetwork/kmail/; revision=109511
25 years ago
Marc Mutz
f08bcebf07
Fix bug no. 30036. (already present "_" was not encoded in rfc2047 headers,
...
leading to "_"->" " subst's later.
svn path=/trunk/kdenetwork/kmail/; revision=108785
25 years ago
Michael Haeckel
12324018f9
Unfold headers that don't contain non-ascii characters correctely.
...
svn path=/trunk/kdenetwork/kmail/; revision=108234
25 years ago
Marc Mutz
16c12592d8
Correct handling of folded headers.
...
svn path=/trunk/kdenetwork/kmail/; revision=105106
25 years ago
Michael Haeckel
6dcf0406bd
Don't encode the e-mail address in a way the server can't read it, when the
...
space is missing after the next comma.
svn path=/trunk/kdenetwork/kmail/; revision=104717
25 years ago
Marc Mutz
609666b14e
Fix an RFC822 violation that was part of the source of the reply-to-all bug.
...
svn path=/trunk/kdenetwork/kmail/; revision=104541
25 years ago
Daniel Naber
c0ea6cb0e7
When skipping the "Re:" etc, skip the colon, too. Fixes sorting by subject.
...
Okay'ed by Michael.
svn path=/trunk/kdenetwork/kmail/; revision=103316
25 years ago
Michael Haeckel
d3f7ddebee
Don't use separete lines in headers, that contain only blanks.
...
Not that this wouldn't be legal, but it doesn't look nice.
- if (!result.isEmpty() && !(result.right(2) == "\n ") &&
- result.length() - result.findRev("\n ") + encLength + 2 > maxLen)
+ int lastNewLine = result.findRev("\n ");
+ if (!result.mid(lastNewLine).stripWhiteSpace().isEmpty()
+ && result.length() - lastNewLine + encLength + 2 > maxLen)
svn path=/trunk/kdenetwork/kmail/; revision=102541
25 years ago
Michael Haeckel
ba08a83bc8
ASCII_CAST cleanup for kmmsgbase.cpp and kmacctlocal.cpp.
...
svn path=/trunk/kdenetwork/kmail/; revision=102473
25 years ago
Stephan Kulow
fad19ec9f2
converting the remaining qDebug calls to kdDebug(5006)
...
svn path=/trunk/kdenetwork/kmail/; revision=102083
25 years ago
Marc Mutz
20ed595a46
Add #undef QT_NO_{ASCII_CAST,COMPAT}, resp. to the tops of .cpp files that
...
need them, in preparation of the remove of -UQT_NO_* from Makefile.am.
svn path=/trunk/kdenetwork/kmail/; revision=101548
25 years ago
Michael Haeckel
c580d6066c
Patch from Don Sanders <sanders@kde.org> and Sam Magnuson <sam@trolltech.com>
...
Heavy speedup for huge folders.
svn path=/trunk/kdenetwork/kmail/; revision=98218
25 years ago
Stephan Kulow
29021bdb05
.copy on a Qt string is a noop since quite some Qt versions
...
svn path=/trunk/kdenetwork/kmail/; revision=96404
25 years ago
Michael Haeckel
e95d67e14b
Remove obsolete workarounds.
...
svn path=/trunk/kdenetwork/kmail/; revision=95867
25 years ago
Stephan Kulow
1100e40a3d
here too
...
- return ctime(&mDate);
+ return KMHeaders::fancyDate(mDate);
svn path=/trunk/kdenetwork/kmail/; revision=92915
25 years ago
Stephan Kulow
fec2831df5
removing "const QString" in return values and parameters. It only confuses compilers,
...
using const QString& in parameters and QString in return values
svn path=/trunk/kdenetwork/kmail/; revision=92546
25 years ago
Michael Haeckel
7799cf34b9
Flagging messages work now also in IMAP folders.
...
svn path=/trunk/kdenetwork/kmail/; revision=90730
25 years ago
Michael Haeckel
ba89200a66
Rewrite KMMsgBase::encodeRFC2047String to handle multibyte encodigs, e. g.
...
Japanese correctely. It now also uses automatically base64, if more than 16%
of the character are non-us-ascii.
Also a few minor other bugs should be gone.
svn path=/trunk/kdenetwork/kmail/; revision=84624
25 years ago
Michael Haeckel
1634aed8a9
Don't add a space when decoding a header that is broken into several lines.
...
svn path=/trunk/kdenetwork/kmail/; revision=84347
25 years ago
Michael Haeckel
fec89fe67a
Remove the rest of the KRN code and the welcome message.
...
svn path=/trunk/kdenetwork/kmail/; revision=84071
25 years ago
Michael Haeckel
4b092ea3e3
Fix for Japanese:
...
Support for shift_jis (QT only knows the name sjis)
Better support for iso-2022-jp. This format uses the ESC character to show
that the following 7bit text is encoded. These ESC characters made a few
problems throughout KMail's code.
Based on patch by toyohiro@ksmplus.com .
svn path=/trunk/kdenetwork/kmail/; revision=80981
25 years ago