and the systray icon is enabled. (I renamed getSystray to systray)
CCMAIL: Nathan Toone <nathan@toonetown.com>
svn path=/trunk/kdepim/; revision=315609
the subscription dialog, for dimap. *Disconnected* imap means that network
operations should happen from the sync button!
What's more, that listDirectory() would interfer with the current mailcheck,
and lead to a crash.
This makes the new virtual listDirectory() pretty useless, sorry Carsten :)
Behavior should be unchanged for online-imap (kmmainwidget.cpp calls listDirectory
in that case).
svn path=/trunk/kdepim/; revision=314918
I created a new FolderStorage::listDirectory method to make it easier.
Add a Refresh folder list to the context menu of imap folders as the user
will probably not know how to refresh the listing (collapsing does the same).
This is needed together with the list-only-open-folders thing.
svn path=/trunk/kdepim/; revision=314858
mbox and maildir folders in the background.
This fixes compaction not happening in kontact at all, and not happening
either for cached imap folders in kmail. It also makes kmail exit faster.
svn path=/trunk/kdepim/; revision=314475
to kmkernel, renaming it "mailCheckAborted", since it's now only used for this.
Reimplemented the real "abort all" code (that used to be for the littleprogress' cross button)
in ProgressManager, so that Key_Escape calls it, like it used to. It simply acts as
if the 'abort' button of any running job had been clicked.
svn path=/trunk/kdepim/; revision=314224
> The new messages are counted in KMAccount::processNewMsg(). Since for dIMAP only messages in the INBOX and for IMAP no messages are processed with processNewMsg() those unprocessed new messages are counted in KMAcct(Cached)Imap. The result of the mail check (a map folder<->number of new messages) is emitted with the extended checkedMail signal. In KMMainWidget a summary of the mail check is created and passed to the new mail event.
> TODO:
> - Make the detailed new mail notification optional.
> - Add possibility to ignore new mail in certain folders (which is now very easy to implement).
svn path=/trunk/kdepim/; revision=313356
progresswidget auto-hides, and that the statusbar doesn't revert to "None"
(I removed "Clean") before the progresswidget is hidden.
Some old-code cleanups and typo fixes.
svn path=/trunk/kdepim/; revision=313231
others can react to it, such as the old progress thingie changing state.
Works when hiding/showing the progress dialog programmitcally now as well.
svn path=/trunk/kdepim/; revision=313156
Maybe kmkernel::getKMMainWidget should be ported to it.
Reimplemented auto-showing the progress dialog for cached imap.
svn path=/trunk/kdepim/; revision=313094
This shows the presence of a mail's sender in the message view when using fancy headers and can show their KABC picture if set. ( currently disabled )
It also adds a Chat With.. action to the context menu for email addresses.
Zack points out this will give a performance hit as KABC is accessed each time a message is viewed, and KABC is not a fast library. If this is a problem this code can be disabled by removing 'status' from richHeaders in kmail/headerstrategy.cpp.
svn path=/trunk/kdepim/; revision=312901
positioned above the rest, to avoid relayouts.
Made the statusbar button toggle the showing (instead of always showing).
A frame is missing - will add that now.
svn path=/trunk/kdepim/; revision=312863
kmail-devel and is therefor perfect. :) This is still work in progress,
but David wants to start using it for dimap and I'll be working on it
over the next few days. Right now the following stuff iÑ done:
- replace the old cancel button with an up-arrow button which displays
the detailed progress dialog where individual actions can be canceled
- port the SmallProgressDlg to be a ProgressManager listener, which always
shows the latest transaction's (top level only) progress.
- port imapaccountbase and its displayProgress() catch all progress/cancel
handling to a single ProgressItem for now, per operation progress can
replace that one by one
- port KMMoveCommand
- port online imap mail check
Help with porting the remaining areaÑ of KMail would of course be
appreciated and a convenient way for you guys to find out if the API
sucks. :)
svn path=/trunk/kdepim/; revision=312708
[Bug 78585] JJ: "Check Mail In ->" menu item should be disabled if no child items exist
CCMAIL: 78585-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=312090
Thanks to Till for the advice on how to do that (storing folder id and using a KMMoveCommand)
Added kmkernel::findFolderById() to avoid copy/pasting yet another time
the code that looks in the 3 foldermgrs; ported the existing code to that.
CCMAIL: 43218-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=311024
instead of "on exit" (which made it non-working in kontact, with session management etc.)
GUI: removed the "Warn before expiring messages" and "On Exit: Expire old messages" options.
Tasks are filed with the jobscheduler, and the job for that task is started
only if the folder isn't opened - so this needed some special handling of search
folder (asking them to try releasing a given folder) and some fixes relative to
open() and close() calls, in kmfoldercachedimap and kmfoldersearch in particular.
Don: please check the kmfoldersearch.cpp changes, in particular the added close()
CCMAIL: sanders@kde.org
svn path=/trunk/kdepim/; revision=310272
Fixed statusbar message after imap/dimap mail checking to show the right number of "new messages"
(wasn't implemented at all for dimap; didn't subtract unread-but-not-new count for imap)
Fixed logic error in KMMainWidget::updateFolderMenu() which wrongly enabled "check mail for this folder"
for other types of folder than online-imap, but instead of disabling it for dimap I hooked it up
and it seems to work nicely.
svn path=/trunk/kdepim/; revision=309216
- Move the MsgDictSizeHint config key to the new Internal config group which should be used for all internal information that's saved in the configuration file.
svn path=/trunk/kdepim/; revision=307994
this texts into the kmail.kcfg in the hope that they get more love there.
Add a note in the startupwizard that the stuff in there accessing options
is no longer up to date. Make kconfig_compiler generate item accessors and
make it import user texts.
These options are new, right? No need for update scripts because of the
renaming?
svn path=/trunk/kdepim/; revision=301183
job continue in the background but delete it, it's not needed anymore.
Make sure the imapjob dtor cleans up associated KIO jobs if they are still
around and resets the progress thingie etc.
We can't really keep the server from answering already sent queries
completely, but we can discard as much of the infrastructure as possible,
to keep things snappy.
svn path=/trunk/kdepim/; revision=300844
only update when that particular message arrives. This is necessary
because when an imap message is selected the reader window gets a
setMsg(0), which means it does not otherwise know it's "current" message.
Move the signal which updates from kmmainwidget to kmreaderwin where it
belongs.
This should probably be solved by not setting the msg to 0, but rather
treating it as a message with 0 body parts and then using the observer
code that is used for load on demand. I'll talk to Carsten when he gets
back from his holiday in the sun. The bastard.
CCMAIL: 62452-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=300735
This reduces the signal storms and cpu spikes as well as the flicker which
are especially noticable over slower links. Seems quite a bit smoother now
here.
svn path=/trunk/kdepim/; revision=298121
will be shown in a separate message window. The message will not be
added to a folder. If the file contains multiple messages (in mbox
format) then only the first message will be shown.
- Add KMCommand::parentWidget() which returns the private mParent because
otherwise subclasses have to store the parent in an additional variable
which is complete nonsense.
svn path=/trunk/kdepim/; revision=297682
addFooColumn because the toggle causes a premature folder listing if
expanded imap root folders are reloaded as a result of it. At this point
we don't have a functioning progress dialog yet, so let's wait for the
reload on expansion of the folder itself.
The progress indication is not quite right yet, but at least the user
sees there is something going on and it is cancelable.
CCMAIL: 73973-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=297388
The problem is that show() is apparently called when the main window is restored (when clicking on the system tray applet). Unfortunately hide() isn't called when the main window is hidden, so that we don't have a chance to save the changed sizes of the panes in hide(). Also QSplitter doesn't emit a signal sizesChanged(). But I anyway don't think that it's necessary to set the size of the panes in show(). show() is called in exactly one place and for this call it should be okay not to set the sizes. So let's simply remove the size setting from show() and look what happens. If no negative side effects are encountered the fix can be backported.
svn path=/trunk/kdepim/; revision=297206