Michael Haeckel
f76e773d62
Make sorting by size and by order of arrival working again.
...
Trolltech decided shortly before Qt-3.0.1, that " 5" comes after " 15".
We use now zeros instead of spaces.
svn path=/trunk/kdenetwork/kmail/; revision=127246
25 years ago
Dirk Mueller
aa0cadacd1
CVS-SILENT: fixincludes -e
...
svn path=/trunk/kdenetwork/kmail/; revision=126995
25 years ago
Marc Mutz
b28f159999
Don't bloat the mbox file when filtering in inbox. Watch this carefully!
...
svn path=/trunk/kdenetwork/kmail/; revision=126936
25 years ago
Stefan Gehn
04c5115f55
CVS_SILENT #include <qcursor.h>
...
svn path=/trunk/kdenetwork/kmail/; revision=126665
25 years ago
Michael Haeckel
e9f184bc14
Fetch the new headers immediately, if messages have been added to the
...
selected folder.
svn path=/trunk/kdenetwork/kmail/; revision=126403
25 years ago
Nikolas Zimmermann
a173cd28be
Compile, anyone please check if that's correct
...
- if (!msg) return; // It appears, that QListView in Qt-3.0 asks for the key
+ if (!msg) return QString::null; // It appears, that QListView in Qt-3.0 as
svn path=/trunk/kdenetwork/kmail/; revision=126185
25 years ago
Michael Haeckel
3df95ff2d6
Don't crash occasionally, when switching folders. Seems, the items are
...
sometimes resorted, while QListView::clear is in progress.
svn path=/trunk/kdenetwork/kmail/; revision=126184
25 years ago
Michael Haeckel
60b16903f1
Don't crash occasionally, when emptying the trash folder.
...
svn path=/trunk/kdenetwork/kmail/; revision=126183
25 years ago
Waldo Bastian
9ace1b904d
Fix color updates for alternate background which is handled by KListView::event()
...
svn path=/trunk/kdenetwork/kmail/; revision=126090
25 years ago
Michael Haeckel
f1c8f60d60
Update the serial numbers correctely, when emtying a folder.
...
Patch by Ronen Tzur <rtzur@shani.net>.
svn path=/trunk/kdenetwork/kmail/; revision=126028
25 years ago
Marc Mutz
2cddffc101
This patch fixes two issues people reported (repeatedly):
...
1. "Outgoing messages" -> "Sent messages":
This (hopefully) makes clear that filters get applied _after_ the
message is sent.
2. ComboBox-> 3 CheckBoxes:
This gets rid of the hidden "feature" that CTRL-J always applied _all_
filters (in and outgoing). You can now disable that if you wish.
(2) doesn't even mean a change in the config file, since "manual-filtering"
was always included in the list of filter sets... ;-)
Oh, and the most important part: Tab->Space conversion.
svn path=/trunk/kdenetwork/kmail/; revision=125537
25 years ago
Carsten Burghardt
9bc7408968
Adds configurable sender/receiver to each folder
...
svn path=/trunk/kdenetwork/kmail/; revision=125247
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
Michael Haeckel
81fd954e5d
Use serial numbers instead of message id for undo.
...
svn path=/trunk/kdenetwork/kmail/; revision=124888
25 years ago
Michael Haeckel
82fd51916b
Seems, this workaround is obsolete.
...
svn path=/trunk/kdenetwork/kmail/; revision=124695
25 years ago
Michael Haeckel
e3894cce4e
Set the forward flags also correctely for forwarding several messages at once.
...
svn path=/trunk/kdenetwork/kmail/; revision=124515
25 years ago
Michael Haeckel
2b4e5f8368
Fix the #128 problem also for forwarding as attachement.
...
svn path=/trunk/kdenetwork/kmail/; revision=124401
25 years ago
Waldo Bastian
9836467a13
Don't crash on null-pointer.
...
svn path=/trunk/kdenetwork/kmail/; revision=124361
25 years ago
Michael Haeckel
f0682a9666
Display the correct identity and not only the other headers, when it was
...
guessed, from the original mail.
svn path=/trunk/kdenetwork/kmail/; revision=123943
25 years ago
Waldo Bastian
779dc72249
Display msg size as "4.3 KB" instead of "4345"
...
svn path=/trunk/kdenetwork/kmail/; revision=123919
25 years ago
Michael Haeckel
19b7a57e89
Per identity configurable drafts folder (local and IMAP).
...
Patch by Carsten Burghardt <cb@emedia-consult.de>
svn path=/trunk/kdenetwork/kmail/; revision=123572
25 years ago
Michael Haeckel
2796f18fec
Strip off everything before the colon from the suggested filename when saving
...
a mail.
svn path=/trunk/kdenetwork/kmail/; revision=123047
25 years ago
Michael Haeckel
b76d04b20d
Trash folder on IMAP server.
...
Patch by Carsten Burghardt <cb@emedia-consult.de>
svn path=/trunk/kdenetwork/kmail/; revision=122322
25 years ago
Ingo Klcker
84112f8d33
Avoid a 'unused variable' compiler warning
...
-void KMHeaders::rightButtonPressed( QListViewItem *lvi, const QPoint &p, int )
+void KMHeaders::rightButtonPressed( QListViewItem *lvi, const QPoint &, int )
svn path=/trunk/kdenetwork/kmail/; revision=121923
25 years ago
Michael Haeckel
2c8432510c
Use the subject as default filename, when saving a mail.
...
svn path=/trunk/kdenetwork/kmail/; revision=121887
25 years ago
Ingo Klcker
a150c1ce06
use rightButtonPressed signal in the header pane to work around a Qt bug(?) (RMB behaviour)To make it work correctly Don's patch is also needed (it will be included in Qt 3.0.1)
...
svn path=/trunk/kdenetwork/kmail/; revision=121664
25 years ago
Waldo Bastian
ce39174336
Automatic charset selection.
...
svn path=/trunk/kdenetwork/kmail/; revision=121196
25 years ago
Michael Haeckel
a9f50bf1f7
- Don't add status headers to the cached headers in IMAP folders
...
- Don't check for an external application modified the cache file while KMail
was running
- Prevent a qWarning about an null hash key
- Remove a kdDebug call
Altogether IMAP header retrieving is now twice as fast as before.
svn path=/trunk/kdenetwork/kmail/; revision=118800
25 years ago
Michael Haeckel
c6af261c96
Don't jump to the next unread message, when clicking Ok in the config dialog.
...
svn path=/trunk/kdenetwork/kmail/; revision=117916
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
Dirk Mueller
dd58455158
CVS_SILENT: fixincludes
...
svn path=/trunk/kdenetwork/kmail/; revision=117155
25 years ago
Carsten Pfeiffer
057100bb21
centralize the ugly exit(1)s, show a messagebox via KNotify and use
...
kdWarning() instead of kdDebug()
svn path=/trunk/kdenetwork/kmail/; revision=116652
25 years ago
Michael Haeckel
67925b72c6
ifdef scoring also here.
...
svn path=/trunk/kdenetwork/kmail/; revision=115660
25 years ago
Michael Haeckel
030afdb5c7
It nearly compiles with QT_NO_COMPAT now, besides a few khtml headers which
...
make trouble.
svn path=/trunk/kdenetwork/kmail/; revision=114869
25 years ago
Michael Haeckel
336d104e7e
Select all now also selects messages in collapsed threads.
...
svn path=/trunk/kdenetwork/kmail/; revision=114251
25 years ago
Malte Starostik
c00f466c13
Reinitialize the iterator after clear()ing the account list, use
...
KListView
svn path=/trunk/kdenetwork/kmail/; revision=112996
25 years ago
Michael Haeckel
52124baaf6
Don't crash in some cases, when switching folders.
...
Seems, that QT3 has the habit to repaint the old items on QListView::clear().
svn path=/trunk/kdenetwork/kmail/; revision=112919
25 years ago
Michael Haeckel
3053058627
QList -> QPtrList
...
svn path=/trunk/kdenetwork/kmail/; revision=112855
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
7dd63eb22a
Another Qt3 compile fix that slipped through the first time :-)
...
svn path=/trunk/kdenetwork/kmail/; revision=112568
25 years ago
Ingo Klcker
1866c8ef46
Multiple
...
- if (!msg) return;
+ if (!msg || !msg->codec()) return;
This fixes the problem that KMail crashes if the user holds down
a key which is bound to a message related actions like reply,
forward, etc. while KMail is started.
svn path=/trunk/kdenetwork/kmail/; revision=111249
25 years ago
Michael Haeckel
e311f445a9
Display the size of the mail and not only the size of the header in IMAP
...
folders, when displaying of the size is enabled.
svn path=/trunk/kdenetwork/kmail/; revision=110469
25 years ago
Michael Haeckel
54102e9879
Don't switch to a different header, when clicking Ok in the config dialog.
...
svn path=/trunk/kdenetwork/kmail/; revision=110448
25 years ago
Don Sanders
48c3cc4c46
Copying messages to other folders had been broken by the maildir commit
...
It works now for mbox, I think there my still be problems with imap.
svn path=/trunk/kdenetwork/kmail/; revision=109988
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
Ingo Klcker
76f80c09ba
Fixes the bug that the second unread message is selected when
...
jumping to the next folder which contains unread messages via
space bar (or Ctrl+Plus/Ctrl+Minus) instead of the first unread message
if the first unread message happens to be the first message in the folder.
svn path=/trunk/kdenetwork/kmail/; revision=106167
25 years ago
Don Sanders
998d6cbaba
Another attempt to fix the sorting bug.
...
svn path=/trunk/kdenetwork/kmail/; revision=105786
25 years ago
Don Sanders
0a457e7315
Making an effort to fix the sorting problems.
...
diff -u -r1.307 kmheaders.cpp
--- kmheaders.cpp 2001/07/10 13:45:46 1.307
+++ kmheaders.cpp 2001/07/12 13:43:31
@@ -350,11 +350,11 @@
virtual QString key( int column, bool /*ascending*/ ) const
{
KMHeaders *headers = static_cast<KMHeaders*>(listView());
- int sortOrder = column |= (1 << 5);
+ int sortOrder = column;
if (headers->mPaintInfo.orderOfArrival)
- sortOrder |= (1 << 7);
- if (headers->mPaintInfo.status)
sortOrder |= (1 << 6);
+ if (headers->mPaintInfo.status)
+ sortOrder |= (1 << 5);
//This code should stay pretty much like this, if you are adding new
//columns put them in generate_key
if(mKey.isEmpty() || mKey[0] != (char)sortOrder) {
@@ -2526,7 +2526,7 @@
}
//Flatten the list and write it to disk
-#define KMAIL_SORT_VERSION 1002
+#define KMAIL_SORT_VERSION 1004
#define KMAIL_SORT_FILE(x) x->indexLocation() + ".sorted"
#define KMAIL_SORT_HEADER "## KMail Sort V%04d\n\t"
#define KMAIL_MAGIC_HEADER_OFFSET 21 //strlen(KMAIL_SORT_HEADER)
svn path=/trunk/kdenetwork/kmail/; revision=105768
25 years ago
Don Sanders
8987d48740
Force the .*.index.osrted file to be regenerated
...
-#define KMAIL_SORT_VERSION 1001
+#define KMAIL_SORT_VERSION 1002
svn path=/trunk/kdenetwork/kmail/; revision=105525
25 years ago