Ingo Klcker
4750861b26
Port Don's "Rewrite the newish encryption state and signature state code." to HEAD.
...
Please note that this port includes a bug fix which should be ported back to make_it_cool. I've sent the bug fix to the mailing list.
svn path=/trunk/kdenetwork/kmail/; revision=184866
24 years ago
Ingo Klcker
d616951db2
Replace NULL and 0L with 0 everywhere and clean up some delete foo
...
svn path=/trunk/kdenetwork/kmail/; revision=183391
24 years ago
Stephan Kulow
fe1bbc481b
adding .latin1() here too, so that gcc can evaluate the ?: expression
...
svn path=/trunk/kdenetwork/kmail/; revision=180058
24 years ago
Stephan Kulow
7fc0e414c8
replacing quite some tons of qDebug calls with kdDebug calls
...
svn path=/trunk/kdenetwork/kmail/; revision=180042
24 years ago
Stephan Kulow
fc6a53816a
replacing the setEncryptionStatus(char*) functions that are very likely
...
to be called with dangling points with functions called with QChar
arguments, that are safer and easier to program too
svn path=/trunk/kdenetwork/kmail/; revision=179849
24 years ago
Karl-Heinz Zimmer
68bd10e716
Bugfix #47906 : Make sure a char* is valid before accessing it. To reflect the invalid state the debug output will say "***setSignatureState2( ? )" (or "***setEncryptionState2( ? )", resp.) so the bug can be found in case this fix was only removing the symptom but not the real bug.
...
svn path=/trunk/kdenetwork/kmail/; revision=178260
24 years ago
Waldo Bastian
7aa69fe3e1
CCMAIL: 45997-done@bugs.kde.org
...
Fix auto charset detection for empty strings.
(Thanks for the report, your English is fine!)
svn path=/trunk/kdenetwork/kmail/; revision=169815
24 years ago
Stephan Kulow
2892d05a1b
including config.h as first include (it defines quite some controlling defines)
...
use off_t and size_t where fread, fwrite, ftell, fseek is used
svn path=/trunk/kdenetwork/kmail/; revision=159169
24 years ago
Allan Sandfeld Jensen
e7a0485fa1
given:
...
typedef KMMsgBase* KMMsgBasePtr
then:
const KMMsgBasePtr != ( const KMMsgBase* == "(const KMMsgBase)*" )
but rather "const (KMMsgBase*)"
Fix: s/KMMsgBasePtr/KMMsgBase*/ + clean-up const business.
Did anyone need KMMsgBasePtr?
svn path=/trunk/kdenetwork/kmail/; revision=156512
24 years ago
Karl-Heinz Zimmer
dd765f702d
Store/retrieve the signature/encryption status flags of messages by writing/reading the index files (== internal AEGYPTEN bugfix #1006 (and, *no* there are /not/ 1006 bugs in the AEGYPTEN bug tracker ;-)))
...
svn path=/trunk/kdenetwork/kmail/; revision=156412
24 years ago
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