Don Sanders
a0e9a4dca0
Don't compact when kmail is exiting due to a request by session management.
...
svn path=/trunk/kdenetwork/kmail/; revision=107822
25 years ago
Daniel Naber
53aeeef877
really only show the welcoem page once. removing this from
...
configuredialog.cpp:
KConfigGroupSaver saver(config, "General");
config->writeEntry("first-start", false);
config->sync();
...and adding a writeEntry call in kmkernel.cpp
svn path=/trunk/kdenetwork/kmail/; revision=106215
25 years ago
Michael Haeckel
982fa5504d
Use the default charset and not utf8 for sending the mail.
...
svn path=/trunk/kdenetwork/kmail/; revision=104821
25 years ago
Cornelius Schumacher
0a245e8333
Fix for sending RFC2447 attachments via DCOP interface.
...
svn path=/trunk/kdenetwork/kmail/; revision=104789
25 years ago
Michael Haeckel
3d7745a9c8
Allow deleting of folders that were added via dcop.
...
svn path=/trunk/kdenetwork/kmail/; revision=104442
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
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
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
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
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
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
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
2d2893c710
Saving mails and attachments is now network transparent.
...
svn path=/trunk/kdenetwork/kmail/; revision=99874
25 years ago
Carsten Pfeiffer
7962ac55c5
recent email addresses (in completion and the addressbook viewer)
...
svn path=/trunk/kdenetwork/kmail/; revision=99457
25 years ago
Michael Haeckel
669052969c
Prevent some compiler warnings.
...
svn path=/trunk/kdenetwork/kmail/; revision=98230
25 years ago
Don Sanders
5b18261e22
Only call KWin::setActiveWindow when a mainwindow already exists.
...
Some people don't like new windows getting focus.
svn path=/trunk/kdenetwork/kmail/; revision=97725
25 years ago
Michael Haeckel
84eeb6eb0e
Use KConfigGroupSaver everywhere.
...
Patch by Marc Mutz <Marc.Mutz@uni-bielefeld.de>
svn path=/trunk/kdenetwork/kmail/; revision=97385
25 years ago
Michael Haeckel
3e90eb2243
Add the possibility to add attachments via the command line.
...
Patch by Andreas Schlapbach <schlpbch@iam.unibe.ch>
svn path=/trunk/kdenetwork/kmail/; revision=95784
25 years ago
Michael Haeckel
c248041620
Monster patch by Marc Mutz <Marc.Mutz@uni-bielefeld.de>
...
Rewritten filter dialog and some improvements for filtering.
svn path=/trunk/kdenetwork/kmail/; revision=94962
25 years ago
Michael Haeckel
983abdd792
Bann qWarning.
...
svn path=/trunk/kdenetwork/kmail/; revision=94433
25 years ago
Daniel Naber
ff64652737
show the welcome page not only on the very first start of
...
kmail, but also if the user has just updated kmail
svn path=/trunk/kdenetwork/kmail/; revision=93425
25 years ago
Stephan Kulow
774838c000
some fixes for CC
...
svn path=/trunk/kdenetwork/kmail/; revision=92720
25 years ago
Don Sanders
809fc77ecc
Oops checked in a couple lines of experimental code.
...
svn path=/trunk/kdenetwork/kmail/; revision=92191
25 years ago
Don Sanders
1a9f8db889
Fix bug where compact-all-exit setting is ignored.
...
The problem was the current group of THE KConfig object was being changed
due to the new trash folder cleanup code. (It calls trashfolder->close
which calls writeconfig which changes the group to the group for that
folder).
if (the_folderMgr) {
+ config->setGroup("General");
if (config->readBoolEntry("compact-all-on-exit", true))
the_folderMgr->compactAll(); // I can compact for ages in peace now!
svn path=/trunk/kdenetwork/kmail/; revision=92189
25 years ago
Michael Haeckel
51c7263648
Use the pgp code from libkdenetwork.
...
Patch by Mathias Waack <mathias@atoll-net.de>
svn path=/trunk/kdenetwork/kmail/; revision=91016
25 years ago
Michael Haeckel
03fe67ee1b
Don't mark a message as read when there are still unread messages in the inbox
...
and checkMail is called via dcop.
svn path=/trunk/kdenetwork/kmail/; revision=86804
25 years ago
Michael Haeckel
80fd9cdd76
GUI: Expire old messages from the trash folder
...
by Philippe Fremy <pfremy@chez.com>
svn path=/trunk/kdenetwork/kmail/; revision=85809
25 years ago
Michael Haeckel
d78472918a
- Better workaround for a problem with multibyte encodings in QT.
...
- Better font finding for displaying in the composer.
- The default charset setting for the composer should now work for all charsets.
- Better default values for Japanese.
Tested by Toyohiro
svn path=/trunk/kdenetwork/kmail/; revision=82080
25 years ago
Stephan Kulow
b5ff18ed81
I was afraid of this when I commited ;(
...
reverting my garbish commit
svn path=/trunk/kdenetwork/kmail/; revision=79057
26 years ago
Stephan Kulow
9186659fdb
had this on my TODO list for too long now - applying patch by "Steven M. Schultz" <sms@TO.GD-ES.COM> to support BSD/OS or to fix support for it
...
svn path=/trunk/kdenetwork/kmail/; revision=78984
26 years ago
Michael Haeckel
5992929a4c
Don't display -1 messages downladed and play a sound if mail was on the server,
...
but the user aborted before any mail was downloaded.
And I lost iso-8859-2 with my commit yesterday.
svn path=/trunk/kdenetwork/kmail/; revision=78377
26 years ago
Michael Haeckel
c8b53df362
Improve the default sorting order of the encodings in the composer. At least I
...
don't want to force to alphabetical order.
Remove two not/no longer working ones and add windows-1251.
svn path=/trunk/kdenetwork/kmail/; revision=78259
26 years ago
Antonio Larrosa Jimenez
d82ad339f1
Added a dcop method that takes a QString instead of a KURL so that it's
...
possible to use the dcop client to add messages to folders.
Note that you shouldn't use K-classes in dcop methods if you expect them
to be called using the dcop shell, as dcop doesn't link against kdecore.
Anyway, I've left the method that uses KURL in case any application is
already using it.
svn path=/trunk/kdenetwork/kmail/; revision=76277
26 years ago
Michael Haeckel
34d98ed174
The list of available charsets in the composer is now configurable.
...
svn path=/trunk/kdenetwork/kmail/; revision=71916
26 years ago
Hans Dijkema
502229b107
dcopAddMessages changed after proposal Daniel Andor
...
svn path=/trunk/kdenetwork/kmail/; revision=71818
26 years ago
Michael Haeckel
6f6126d0a2
Patch by Hans Dijkema <h.dijkema@hum.org>.
...
Little fix in dcop stuff.
svn path=/trunk/kdenetwork/kmail/; revision=71532
26 years ago
Michael Haeckel
f802f46d07
Patch by Hans Dijkema <h.dijkema@hum.org>
...
Add a dcop function, that allows to add mails. Useful for kmailcvt.
svn path=/trunk/kdenetwork/kmail/; revision=71452
26 years ago
Don Sanders
1230ea1b0e
Drafts folder.
...
svn path=/trunk/kdenetwork/kmail/; revision=71037
26 years ago
Michael Haeckel
c21ca43195
Patch by Mark Deneen <deneen@bucknell.edu>.
...
Expose compactAllFolders() to dcop.
svn path=/trunk/kdenetwork/kmail/; revision=70474
26 years ago
Don Sanders
a81aa2f256
Patch from Wolfgang Rohdewald to fix the following bug:
...
start kmail
start this script
$ while true
> do
> dcop kmail KMailIface checkMail
> done
kmail eats up all available memory
diff -u -b -r1.24 kmkernel.cpp
--- kmkernel.cpp 2000/10/07 20:23:59 1.24
+++ kmkernel.cpp 2000/10/14 22:40:03
@@ -62,11 +62,14 @@
kdDebug() << "KMKernel::checkMail called" << endl;
KMMainWin *mWin = 0;
- if (kapp->mainWidget() && kapp->mainWidget()->isA("KMMainWin"))
+ if (kapp->mainWidget() && kapp->mainWidget()->isA("KMMainWin")) {
mWin = (KMMainWin *) kapp->mainWidget();
- else
+ mWin->slotCheckMail();
+ } else {
mWin = new KMMainWin;
mWin->slotCheckMail();
+ delete mWin;
+ }
}
This patch only changes code that is called by dcop and when kmail is
started with the -check option, so it's pretty safe.
svn path=/trunk/kdenetwork/kmail/; revision=67684
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
Don Sanders
22b10420f9
Patch from Frerich Raabe <frerichraabe@gmx.de>
...
Add a --body commandline parameter which lets you pass a template body
text to KMail without using an extra file
svn path=/trunk/kdenetwork/kmail/; revision=66105
26 years ago
Don Sanders
e77120cc9d
Critical bug fix (well maybe, it's difficult to reproduce the original
...
problem)
Previously even if KMail terminated abnormally it would call an error
handler and (attempt) to sync config and index files and compact dirty
folders. It has been hypothesized that this could cause mail folder and
index corruption if the integrity of data structures had been
compromised by the event which caused the abnormal terminated.
diff -u -b -r1.21 kmkernel.cpp
--- kmkernel.cpp 2000/09/02 06:09:41 1.21
+++ kmkernel.cpp 2000/09/02 17:31:08
@@ -498,7 +498,6 @@
if (win->inherits("KMComposeWin")) ((KMComposeWin*)win)->deadLetter();
// delete win; // WABA: Don't delete, we might crash in there!
}
- cleanup();
}
svn path=/trunk/kdenetwork/kmail/; revision=62478
26 years ago
Waldo Bastian
29d270035a
Cleaning...
...
svn path=/trunk/kdenetwork/kmail/; revision=62459
26 years ago
Hans Petter Bieker
0007cd8b56
Cleaner compilation.
...
svn path=/trunk/kdenetwork/kmail/; revision=59916
26 years ago
Don Sanders
d24d427907
--msg option wasn't working, now it does.
...
svn path=/trunk/kdenetwork/kmail/; revision=59362
26 years ago
Don Sanders
6ab16c3eca
More cleanups.
...
svn path=/trunk/kdenetwork/kmail/; revision=58069
26 years ago
Reginald Stadlbauer
1ac9adb9df
compiles with Matthias' last changes
...
svn path=/trunk/kdenetwork/kmail/; revision=56885
26 years ago
Don Sanders
ffd3df70f8
If KMail is running and the user tries to start another KMail then
...
make the main window of the KMail currently running the active window.
svn path=/trunk/kdenetwork/kmail/; revision=56451
26 years ago