Michael Haeckel
ceffd57016
- Store filenames always in unicode. Although this requires much more local8Bit
...
conversions, it indeed gives a better overview in the code.
This also fixes a few minor problems with non-latin folder names.
- Remove all subfolders, when removing a folder, not only the first one.
- Remove some unused code.
svn path=/trunk/kdenetwork/kmail/; revision=102457
25 years ago
Michael Haeckel
45a4c36953
Don't insert a blank line when quoting messages. Patch by Waldo.
...
svn path=/trunk/kdenetwork/kmail/; revision=102446
25 years ago
Carsten Pfeiffer
71d189a84e
don't create the same QStrings over and over again, there is a
...
performance problem when a LOT of filters are used.
svn path=/trunk/kdenetwork/kmail/; revision=102437
25 years ago
Don Sanders
b4a057a9ed
I noticed kmail crashing when exiting while checking mail is in progress (in KMKernel::cleanup the filter manager was deleted before the account manager, but when the account manager is deleted my kmacctexp account would be deleted, and slotProcessPendingMsgs would be called and this would try to filter message by calling the deleted filter manager).
...
I rearranged the order KMKernel::cleanup destroys objects so that the account manager (which owns accounts) is deleted before filters.
Also I try to be a little paranoid in KMSender to handle the fact that the filter manager is deleted before the message sender is.
svn path=/trunk/kdenetwork/kmail/; revision=102424
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
Marc Mutz
f3228ae776
QT_NO_{ASCII_CAST,COMPAT} fixes.
...
Discussed on the kmail mailing list.
svn path=/trunk/kdenetwork/kmail/; revision=102393
25 years ago
Marc Mutz
345de8b5a9
Obviously corrent fixes to let these files compile with QT_NO_ASCII_CAST
...
and QT_NO_COMPAT, resp.
svn path=/trunk/kdenetwork/kmail/; revision=102369
25 years ago
Michael Haeckel
6b73159f0a
"Empty" works now also for IMAP folders instead of crashing.
...
svn path=/trunk/kdenetwork/kmail/; revision=102289
25 years ago
Michael Haeckel
0b09016a03
Show the translated name of the destination folder after editing the account.
...
- listItem->setText( 2, account->folder()->name() );
+ listItem->setText( 2, account->folder()->label() );
svn path=/trunk/kdenetwork/kmail/; revision=102258
25 years ago
Marc Mutz
57b44c9b3f
QT_NO_ASCII_CAST and QT_NO_COMPAT fixes.
...
This file is now clean.
svn path=/trunk/kdenetwork/kmail/; revision=102243
25 years ago
Carsten Pfeiffer
2adc8c2f4c
- speed up generate_key() a bit, by doing the date stuff only when needed
...
- use QDropEvent as parameter in canDecode(), instead of QDragMoveEvent
(doesn't make a difference, but necessary for the folder dnd stuff,
and I dislike reverting that patchlet to commit the other one now)
svn path=/trunk/kdenetwork/kmail/; revision=102207
25 years ago
Michael Haeckel
6307a6fd98
Save the pane sizes correctely.
...
Patch by Ingo Klöcker <ingo.kloecker@epost.de>
svn path=/trunk/kdenetwork/kmail/; revision=102183
25 years ago
Don Sanders
0fc6d1a6c7
sync the seenUidList config file earlier to prevent duplicate
...
message download when KMail is destroyed by a kill happy
session manager.
Disclaimer: Duplicate message download can still occur if
KMail is killed while message retrieval is in progress.
svn path=/trunk/kdenetwork/kmail/; revision=102123
25 years ago
Stephan Kulow
fad19ec9f2
converting the remaining qDebug calls to kdDebug(5006)
...
svn path=/trunk/kdenetwork/kmail/; revision=102083
25 years ago
Michael Haeckel
f7a1f829cd
Don't crash in a some cases, by accessing a non existant QTimer object.
...
svn path=/trunk/kdenetwork/kmail/; revision=102002
25 years ago
Michael Haeckel
f7f348553f
Honour the charset header of attachments, it might be different, that the
...
charset of the first body part.
svn path=/trunk/kdenetwork/kmail/; revision=101973
25 years ago
David Faure
54c970ebbe
Use mimelib from ../mimelib
...
svn path=/trunk/kdenetwork/kmail/; revision=101960
25 years ago
Torsten Rahn
1c58216cd9
Adding a shadow
...
25 years ago
Michael Haeckel
7eaa69b7a2
Readd and old dcop function for backwards compatibility.
...
svn path=/trunk/kdenetwork/kmail/; revision=101950
25 years ago
Michael Haeckel
0ba45ca7fd
Handle mailing list identities with a transport correctely and don't override
...
manually changed headers, when editing again.
svn path=/trunk/kdenetwork/kmail/; revision=101949
25 years ago
George Staikos
2d3754fa61
Enough is enough. If it doesn't work, don't ship it.
...
--- kmmainwin.cpp 2001/06/12 09:44:14 1.329
+++ kmmainwin.cpp 2001/06/13 06:46:55
@@ -1318,8 +1318,10 @@
connect(win, SIGNAL(statusMsg(const QString&)),
this, SLOT(statusMsg(const QString&)));
+/*
connect(win, SIGNAL(popupMenu(const KURL&,const QPoint&)),
this, SLOT(slotMsgPopup(const KURL&,const QPoint&)));
+*/
connect(win, SIGNAL(urlClicked(const KURL&,int)),
this, SLOT(slotUrlClicked(const KURL&,int)));
connect(win, SIGNAL(showAtmMsg(KMMessage *)),
svn path=/trunk/kdenetwork/kmail/; revision=101928
25 years ago
Marc Mutz
37e0f0e01e
Change KMMessage member functions dealing with Cte, mime-type or
...
mime-subtype to return resp. take QCStrings.
Checked to compile with current CVS.
This file is still not QT_NO_... safe.
svn path=/trunk/kdenetwork/kmail/; revision=101856
25 years ago
Michael Haeckel
8a54e01be7
More verbose error reporting.
...
I don't think, that most users know, what error 451 means :-)
- responseLine.truncate( 3 );
svn path=/trunk/kdenetwork/kmail/; revision=101853
25 years ago
Michael Haeckel
2ce325ec2b
Don't crash 30 seconds after cancelling the transfer.
...
svn path=/trunk/kdenetwork/kmail/; revision=101787
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
Michael Haeckel
6b2501454e
Don't allow foldernames starting with a dot. These folders disappear otherwise
...
after a restart.
+ fldName.replace(QRegExp("^\\."), "");
svn path=/trunk/kdenetwork/kmail/; revision=101774
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
Michael Haeckel
f5fbc88803
kmfolder and kmheaders are not also ascii cast free.
...
Still 11 files left.
svn path=/trunk/kdenetwork/kmail/; revision=101702
25 years ago
Michael Haeckel
9fe2c405dd
Found another bug, while cleaning up data types.
...
- KMessageBox::information( 0, i18n("Cannot remove mail from\nmailbox `%1':\n%2").arg(mailFolder.location().arg(strerror(rc))));
+ KMessageBox::information( 0, i18n("Cannot remove mail from\nmailbox `%1':\n%2").arg(mailFolder.location()).arg(strerror(rc)));
svn path=/trunk/kdenetwork/kmail/; revision=101700
25 years ago
Michael Haeckel
cb06a0be06
Revert another unauthorizied commit. I wonder what's up today.
...
I think it is very good, if the reciever knows, that the mail was redirected.
Otherwise this might even end up in legal issues, because someone pretends to be
someone else.
svn path=/trunk/kdenetwork/kmail/; revision=101677
25 years ago
Michael Haeckel
1ea3c09114
Revert two broken commits.
...
svn path=/trunk/kdenetwork/kmail/; revision=101661
25 years ago
Holger Schurig
89c2ba7a0d
Transparent redirect
...
svn path=/trunk/kdenetwork/kmail/; revision=101647
25 years ago
Christophe Prud'homme
9032a32ae6
make it compile[remove the warning]
...
Index: kmkernel.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmkernel.cpp,v
retrieving revision 1.54
diff -c -r1.54 kmkernel.cpp
*** kmkernel.cpp 2001/06/11 13:09:54 1.54
--- kmkernel.cpp 2001/06/11 14:58:36
***************
*** 599,605 ****
// left behind.
if (!KMReaderWin::attachDir().isEmpty())
{
! cmd.sprintf("rm -rf '%s'", KMReaderWin::attachDir().local8Bit());
system (cmd.data()); // delete your owns only
}
//--- Sven's save attachments to /tmp end ---
--- 599,605 ----
// left behind.
if (!KMReaderWin::attachDir().isEmpty())
{
! cmd.sprintf("rm -rf '%s'", (const char*)KMReaderWin::attachDir().local8Bit() );
system (cmd.data()); // delete your owns only
}
//--- Sven's save attachments to /tmp end ---
svn path=/trunk/kdenetwork/kmail/; revision=101632
25 years ago
Christophe Prud'homme
f582447eef
make it compile
...
Index: kmsearchpatternedit.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmsearchpatternedit.cpp,v
retrieving revision 1.14
diff -c -r1.14 kmsearchpatternedit.cpp
*** kmsearchpatternedit.cpp 2001/06/11 13:08:30 1.14
--- kmsearchpatternedit.cpp 2001/06/11 14:44:24
***************
*** 125,131 ****
if ( aName.isEmpty() ) return -1;
! QString i18n_aName = i18n( aName );
for (i=sFilterFieldList.count()-1; i>=0; i--) {
if (*(sFilterFieldList.at(i))==i18n_aName) break;
--- 125,131 ----
if ( aName.isEmpty() ) return -1;
! QString i18n_aName = i18n( aName.latin1() );
for (i=sFilterFieldList.count()-1; i>=0; i--) {
if (*(sFilterFieldList.at(i))==i18n_aName) break;
svn path=/trunk/kdenetwork/kmail/; revision=101630
25 years ago
Luk Tinkl
83535fa909
passing .latin1() to system() is a no no
...
svn path=/trunk/kdenetwork/kmail/; revision=101589
25 years ago
Michael Haeckel
79103e2e17
Again QT_NO_ASCII_CAST fixes and two charset related fixes for bugs I found on
...
the way.
svn path=/trunk/kdenetwork/kmail/; revision=101586
25 years ago
Luk Tinkl
b6f894a55c
another i18n fix
...
svn path=/trunk/kdenetwork/kmail/; revision=101585
25 years ago
Luk Tinkl
03eae127ab
a little i18n fix
...
svn path=/trunk/kdenetwork/kmail/; revision=101584
25 years ago
Michael Haeckel
24b5865763
Some more QT_NO_ASCII_CAST fixes.
...
svn path=/trunk/kdenetwork/kmail/; revision=101572
25 years ago
Michael Haeckel
d821421216
Make this code compiling with -DQT_NO_ASCII_CAST
...
svn path=/trunk/kdenetwork/kmail/; revision=101569
25 years ago
Marc Mutz
ff1b7c1452
Make KMMessage::asString() return a QCString instead of a QString and take
...
immediate advantage of that by making kmfilteraction.cpp QT_NO_ASCII_CAST
-safe.
svn path=/trunk/kdenetwork/kmail/; revision=101564
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
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
a1400b9494
Hopefully get really rid of the font size problems.
...
svn path=/trunk/kdenetwork/kmail/; revision=101537
25 years ago
Marc Mutz
cb77715754
Make kmmainwin.cpp compile with QT_NO_ASCII_CAST by starting
...
the new-mail-notification command via KShellProcess instead of system().
svn path=/trunk/kdenetwork/kmail/; revision=101419
25 years ago
Marc Mutz
68919fa2cc
Make kfileio.cpp compile with QT_NO_ASCII_CAST:
...
- Changed an unlink() to QFile::remove()
- Changed rename() to QDir::rename()
- Removed unneeded QFileInfo: There is also a QFile::exists().
- Removed unused includes.
- Changed return "" to return FALSE in function returning bool.
- Changed QString == NULL tests to QString.isEmpty().
All changes are local to kBytesToFile.
svn path=/trunk/kdenetwork/kmail/; revision=101408
25 years ago
Michael Haeckel
e79831951e
At least I do still need this header to be able to compile.
...
+#include <stdlib.h>
svn path=/trunk/kdenetwork/kmail/; revision=101401
25 years ago
Holger Schurig
befb4ccab0
Removed empty line at top of redirected mail (using "E" key)
...
Tried most functions that call asQuotedString to make sure they still work
createReply now doesn't contain the ugly mime text anymore when replying
to a mail with attachments.
svn path=/trunk/kdenetwork/kmail/; revision=101303
25 years ago
Daniel Naber
272f5a72de
fixing wrong argument for warning box, thanks to Marc Mutz
...
svn path=/trunk/kdenetwork/kmail/; revision=101300
25 years ago
Anders Widell
4138b31244
Capitalise first letter in message header if format string starts with %
...
svn path=/trunk/kdenetwork/kmail/; revision=101298
25 years ago