There is a serious problem that when operating on a selection of messages all those messages (I mean the entire message including its body) are loaded into main memory. This is not a good idea when operating on thousands of messages.
I've looked into fixing this but it's not so simple. Some functions like movemsg in kmheaders operate on a list of selected messages. And that list of selected messages is a list of whole messages not just message headers.
Even if I fix those functions I still need to know when a message is being referenced. I can audit the code and modify it as needed, but then I will still be relying on an implicit contract. Instead it would be best to modify KMFolder::getMsg so that it returns a referenced counted KMMessage wrapper by value.
svn path=/trunk/kdenetwork/kmail/; revision=47734
Some of this code is absolute crap, but it shouldn't be too hard to make something respectable out of it. I've got to check it in before I go away for a few days.
svn path=/trunk/kdenetwork/kmail/; revision=45771
Compaction works again.
Old messages on pop server are marked unread. (But something weird is going on there).
Index files should be more robust but I have made a non backwards compatible change to the file format.
Hmm is that all, well the index file problem was bloody hard to reproduce. Blaa blaa
Hey it's Saturday night time to take a break.
svn path=/trunk/kdenetwork/kmail/; revision=43137
Better handling of single part html mail.
In composer support undo/redo and new qmultilinedit word wrap.
Trying to debug access function in kmfolder.cpp.
svn path=/trunk/kdenetwork/kmail/; revision=35098
drag&drop of messages is therefore broken.
* Added support for subdirectories in ~/Mail -> hierarchical
folders!
* Changed ancient folder edit/create dialog to something
more useful.
svn path=/trunk/kdenetwork/kmail/; revision=30538
- fixed size on folder dialog
- Show receivers works for sent&queued messages
- Add an extra \n to previous message when appending new one to
mailbox => against rewriting last char in previous message =>
against corrupting attachment in previus message.
*** Index version number changed; compact your mailboxes before
installing kmail, or you'll see ghost messages.
svn path=/trunk/kdenetwork/kmail/; revision=16403
"long folder list" and "short folder list". Option
setable in settings->appearance.
* New feature: the "From" column now contains the
receiver for the folders outbox and sent-mail. Column
"Sender" automatically switches it's title to "Receiver"
for these folders.
* Incorporated new documentation.
svn path=/trunk/kdenetwork/kmail/; revision=15828
random hangs, with stock qsort -- hopefully working now ;-)
* Fixed: folder list went out of scope (current item pointing to
nowhere) when folder was deleted.
* Composer: fixed broken confirm-close dialog.
* Increased version to better match upcoming Kde-1.1 release.
* Added call to kapp->quit() when last window is closed.
svn path=/trunk/kdenetwork/kmail/; revision=11183
* Folder status messages for index creation and
compacting folder reduced from every 100th to every 10th.
svn path=/trunk/kdenetwork/kmail/; revision=8632
* Composer: answering the confirmation is no longer
ignored.
* Finetuning: added missing pixmaps to makefile and
repainted pixmap for queued and sent messages.
svn path=/trunk/kdenetwork/kmail/; revision=8608
displayed when opening a folder.
* Message-status: now messages change status from
new to unread when the user changes folder (and
not when the folder is closed somewhere within KMail).
* Reader: worked around problem of current HTML widget
with long lines (without '\n')
svn path=/trunk/kdenetwork/kmail/; revision=8351
creation to a more suitable place. Should be lots
faster now.
* Composer: Now path of last filedialog for attachments
is stored.
svn path=/trunk/kdenetwork/kmail/; revision=8178
be alerted, this will happen once for everybody now ;-)
* Fonts: implemented font setting for HTML widget,
list of messages, and composer.
* Drag&Drop: implemented drag&drop of messages to
folders. Dropping into HTML widget crashes KMail.
Could be a bug of the HTML widget, however.
* Move-message: improved folder selection dialog.
* Message-list: now cleared properly when the current
folder is deleted.
svn path=/trunk/kdenetwork/kmail/; revision=8157
marked new. Now fixed.
* Folders: when opening and locking a folder there were
cases (in fact most of the time) when the folder seemed
to be not locked but was. Now this is handled better.
svn path=/trunk/kdenetwork/kmail/; revision=6363
to ignore special characters at the end, e.g. "." or ")".
* Messagelist: finally fixed sorting of messages. Also
implemented ascending/descending/none sorting (use multiple
clicks on the column headers to switch). Sorting order "none"
is what was IMO missing for the trash folder :-)
svn path=/trunk/kdenetwork/kmail/; revision=6198
activated, then the individual header line menu entries are
disabled now.
* Folders: changed creation of folders to -rw-------
instead of the default -rw-r--r--. Same for the initial
creation of ~/Mail.
* Attachments: temporary files (when viewing attachments)
are now also created with permissions -rw-------.
svn path=/trunk/kdenetwork/kmail/; revision=6160
* sometimes the blank line between messages in a folder was missing
* Cc: should not be copied when reply is pressed, now fixed
svn path=/trunk/kdenetwork/kmail/; revision=5732
It is disabled by default, but it can be enabled by defining CHARSETS macro.
For examble executing:
make CPPFLAGS=-DCHARSETS
Of course, if it works, -DCHARSETS should be put into Makefile.am, or better
all "#ifdef CHARSETS" and such should be removed from code.
I am waiting for comments (jajcus@zeus.polsl.gliwice.pl)
svn path=/trunk/kdenetwork/kmail/; revision=5580