Marc Mutz
904b6ca4fa
Choose between base64 and qp also based on CharFreq::printableRatio()
...
svn path=/trunk/kdenetwork/kmail/; revision=131617
25 years ago
Marc Mutz
4da09d9072
New method KMMessagePart::setBodyAndGuessCte(), which auto-detects the
...
best Content-Transfer-Encoding to use (using KMime::CharFreq).
Not yet used anywhere in KMail.
svn path=/trunk/kdenetwork/kmail/; revision=131522
25 years ago
Michael Haeckel
86fe96a27d
Again don't crash on zero size attachments.
...
svn path=/trunk/kdenetwork/kmail/; revision=131487
25 years ago
Marc Mutz
d0da8492ff
cache the decodedSize; add warnings for "binary used as text" like
...
in kmmessage.
svn path=/trunk/kdenetwork/kmail/; revision=131449
25 years ago
Marc Mutz
527a276574
Be more careful with DwString<->QCString<->QByteArray conversions, pt. II:
...
- Don't copy the attachment even more often than is needed.
- KMMessagePart::size() is now decodedSize() to make it's purpose clearer.
- Don't try to outsmart QByteArray with resize+1,[size]=0,resize-1 tricks.
- Use KIO::convertSize() instead of homebrewn ->KB formatter.
svn path=/trunk/kdenetwork/kmail/; revision=131276
25 years ago
Michael Haeckel
7158995854
Revert to the good old mimelib functions. These KCodecs functions don't seem
...
to know that there needs to be a line break after 76 characters.
svn path=/trunk/kdenetwork/kmail/; revision=129478
25 years ago
Michael Haeckel
dcb7d8a820
Oops, seems I just broke decoding of binary base64 attachments.
...
Sorry, but these functions in KCodecs are really everything else than
consistent in what data types they use.
svn path=/trunk/kdenetwork/kmail/; revision=128721
25 years ago
Michael Haeckel
d98a8d6ad6
Support for attachments that are smaller than 3 bytes.
...
svn path=/trunk/kdenetwork/kmail/; revision=128700
25 years ago
Dirk Mueller
aa0cadacd1
CVS-SILENT: fixincludes -e
...
svn path=/trunk/kdenetwork/kmail/; revision=126995
25 years ago
Dirk Mueller
607016bca8
KMD5 porting
...
svn path=/trunk/kdenetwork/kmail/; revision=123763
25 years ago
Michael Haeckel
8f753c2855
Make non-ascii attachment filenames and descriptions working again.
...
svn path=/trunk/kdenetwork/kmail/; revision=121810
25 years ago
David Faure
60198e652a
CVS_SILENT fixheaders
...
svn path=/trunk/kdenetwork/kmail/; revision=117511
25 years ago
Dirk Mueller
6797558d5d
356 includes less
...
svn path=/trunk/kdenetwork/kmail/; revision=117339
25 years ago
Cornelius Schumacher
0a245e8333
Fix for sending RFC2447 attachments via DCOP interface.
...
svn path=/trunk/kdenetwork/kmail/; revision=104789
25 years ago
Marc Mutz
d7239ff4fc
Fix a crahs when the "filename" parameter to Content-disposition was
...
empty like so: "filename=".
svn path=/trunk/kdenetwork/kmail/; revision=103796
25 years ago
Michael Haeckel
d942bedded
Get rid of all remaining ASCII_CAST and COMPAT issues.
...
It is now even possible to give accounts non-latin names.
svn path=/trunk/kdenetwork/kmail/; revision=102514
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
Marc Mutz
b346876ab2
QT_NO{COMPAT,ASCII_CAST} fixes as discussed on the mailing list.
...
The changes to kmmsgpart.cpp are the origin of the other changes.
svn path=/trunk/kdenetwork/kmail/; revision=102401
25 years ago
Michael Haeckel
d1e06744c9
More reliable mime type recognition for attachments, thanks to leonb@research.att.com.
...
- body = bodyDecoded();
+ body = bodyDecodedBinary();
svn path=/trunk/kdenetwork/kmail/; revision=101777
25 years ago
Stephan Kulow
6164556515
use debug area 5006 - so I can read mails without seeing tons of debug output
...
svn path=/trunk/kdenetwork/kmail/; revision=101769
25 years ago
Marc Mutz
e12ef0feec
Prepending yet more files with necessary #undef QT_NO_{ASCII_CAST,COMPAT}.
...
Finally making the transition in Makefile.am.
svn path=/trunk/kdenetwork/kmail/; revision=101557
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
487b57ef57
Use the md5 code from kdelibs.
...
Patch by Marc Mutz <Marc.Mutz@uni-bielefeld.de>
svn path=/trunk/kdenetwork/kmail/; revision=96394
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
ef6f7079df
Nicer icons for the mime types.
...
svn path=/trunk/kdenetwork/kmail/; revision=91878
25 years ago
Michael Haeckel
c1dc421a7d
Don't add a \0 character at the end when saving a 8bit encoded attachment to
...
a file.
svn path=/trunk/kdenetwork/kmail/; revision=91310
25 years ago
Michael Haeckel
993c7b8f6d
Remove debugging statement.
...
svn path=/trunk/kdenetwork/kmail/; revision=72766
26 years ago
Michael Haeckel
8146fbb9fb
Patch by Wolfgang Rohdewald <WRohdewald@dplanet.ch>
...
Correct handling of the trailing /0 when converting between QCString and
QByteArray. Fixes a problem, where garbage was displayed at the end of the
message.
svn path=/trunk/kdenetwork/kmail/; revision=72708
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
Jacek Stolarczyk
462dfc4af7
Fix for passing non-encoded strings to setName function. It was expecting encoded ones.
...
svn path=/trunk/kdenetwork/kmail/; revision=70086
26 years ago
Michael Haeckel
e566928e3a
Rename decodeRFC1522String to decodeRFC2047String in order to prevent some
...
confusion.
svn path=/trunk/kdenetwork/kmail/; revision=69880
26 years ago
Don Sanders
af7b051c81
Large patch from Denis Perchine and Jacek Stolarczyk to add
...
non-iso8859-1 support to KMail. This has a GUI change a "Set encoding..."
menu item has been added to the "Options" menu of the composer. This patch
fixes many bugs that non-iso8859-1 users consider critical. I've been
testing if for a few days now, it seems not to adversely affect iso-8859-1
only users, but it's pretty big and needs more testing.
Also a small patch from me to fix some int methods returning bools in
kmfilteraction.cpp (notice by Rik Hemsley, thanks Rik).
Update version number to 1.1.95.3
svn path=/trunk/kdenetwork/kmail/; revision=66711
26 years ago
Waldo Bastian
dae746a353
RFC 2231 encoding.
...
Patch by Michael Haeckel <Michael@Haeckel.Net>
svn path=/trunk/kdenetwork/kmail/; revision=61929
26 years ago
Daniel Naber
e5d4ef411a
Michael Haeckel's patch for better RFC 2047 compliance
...
svn path=/trunk/kdenetwork/kmail/; revision=60534
26 years ago
Hans Petter Bieker
0007cd8b56
Cleaner compilation.
...
svn path=/trunk/kdenetwork/kmail/; revision=59916
26 years ago
Rik Hemsley
d7833a7f90
Fixed compilation with an explicit const_cast.
...
svn path=/trunk/kdenetwork/kmail/; revision=50103
26 years ago
Don Sanders
f13a9ed54c
Converted some 'const QString' to 'const QString&'
...
Use MD5 digests Base 64 encoded for replyId and msgId
Fixed a few errors in threading code.
pre-strip 'From' and 'To' fields in index.
svn path=/trunk/kdenetwork/kmail/; revision=49855
26 years ago
Don Sanders
a35a6d1acc
Try to make the icons for attachments look right.
...
svn path=/trunk/kdenetwork/kmail/; revision=48469
26 years ago
Don Sanders
636147c05c
Attaching files should work again, again.
...
a = b can do some pretty weird stuff when a and b are QByteArrays
svn path=/trunk/kdenetwork/kmail/; revision=45603
26 years ago
Helge Deller
de12d11be0
Decode the names of the attachment before displaying the (file-)name.
...
This fixes all my Umlaut-problems with attachments I get from
Windows-Users...
NB: I think, this fix should go into KDE_1_1_BRANCH too ....
svn path=/trunk/kdenetwork/kmail/; revision=42065
26 years ago
Don Sanders
8f1dd985ec
Merging in some of the background mail checking stuff. The new experimental
...
pop account type won't work until I check in an updated pop3 kioslave
(which won't be for a few more days at least). But everything should still
compile and run fine(ish) anyway.
Email me sanders@kde.org cc'ing the kmail list if something is screwed.
svn path=/trunk/kdenetwork/kmail/; revision=42010
26 years ago
David Faure
932c998b9f
Robert: almost. No need to convert a QByteArray to a QCString
...
and then back to QByteArray... :)
svn path=/trunk/kdenetwork/kmail/; revision=41342
26 years ago
Robert Williams
624b4e1045
magicSetType()
...
Uses new KMimeMagic - compiles
Is this correct code?
svn path=/trunk/kdenetwork/kmail/; revision=41310
26 years ago
Don Sanders
6790dab5c3
Unknown icon supported.
...
svn path=/trunk/kdenetwork/kmail/; revision=35951
27 years ago
Don Sanders
c988339a21
Icons attachments should work again.
...
svn path=/trunk/kdenetwork/kmail/; revision=35912
27 years ago
Don Sanders
184a616140
Minor updates. (Suppress warnings)
...
svn path=/trunk/kdenetwork/kmail/; revision=33207
27 years ago
Don Sanders
b3075eceb3
The Merge. QT 2.1 (cvs) now required.
...
svn path=/trunk/kdenetwork/kmail/; revision=33018
27 years ago
Stephan Kulow
9408b3fa6e
some more KDE2 changes. Some left. I'm neither a XDND or QSplitter expert :)
...
svn path=/trunk/kdenetwork/kmail/; revision=26078
27 years ago
Dirk Mueller
286d2dabc1
Make it compile with recent Qt&kdelibs changes
...
(some ugly hacks needed :( )
svn path=/trunk/kdenetwork/kmail/; revision=22817
27 years ago
Don Sanders
15ed541272
Replaced config.setGroup("KDE Desktop Entry"); with config.setDesktopGroup();
...
This is required due to changes in the KConfig class.
svn path=/trunk/kdenetwork/kmail/; revision=22436
27 years ago