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
Michael Haeckel
ae30f169cc
Support for some broken RFC2047 headers.
...
svn path=/trunk/kdenetwork/kmail/; revision=76119
26 years ago
Antonio Larrosa Jimenez
e1d8883b01
I think it's better not to mark messages as dirty when they're not really
...
dirty. This way, index files are only written when they should, and not
everytime you leave a folder (as was happening before this patch).
svn path=/trunk/kdenetwork/kmail/; revision=75997
26 years ago
Michael Haeckel
b9dde97d16
Support for broken 8-bit unencoded headers.
...
svn path=/trunk/kdenetwork/kmail/; revision=75805
26 years ago
Michael Haeckel
6e5fedecb2
Correct support for windows-125x.
...
Some people seem to like this encoding.
svn path=/trunk/kdenetwork/kmail/; revision=73905
26 years ago
Michael Haeckel
7406eb0230
This time a charset fix for latin users :-)
...
Kill all non 7-bit characters when us-ascii is selected.
QTextCodec::codecForName("us-ascii")->name() returns "ISO 8859-1" for some
reason :-(
svn path=/trunk/kdenetwork/kmail/; revision=73530
26 years ago
Michael Haeckel
30abaf3784
Non-latin characters in attachment file names Part II
...
Decoding should now work also.
svn path=/trunk/kdenetwork/kmail/; revision=72672
26 years ago
Michael Haeckel
9cadd9def9
Support for non latin filenames as attachment Part I
...
Composing encodes them now correctely.
svn path=/trunk/kdenetwork/kmail/; revision=72656
26 years ago