The fixed issue: only overwriting previous acounts was possible, so no new accounts were stored.
For fresh installation that means 0 accounts.
CCMAIL:159029-done@bugs.kde.org
svn path=/trunk/KDE/kdepim/; revision=785085
I found it useful for testing/debugging connections when only one or two (of many configured) accounts are important in the current context, so breakpoints are reached only when we do expect that.
Moreover, for some users, the option is more fine-grained than going globally offline.
This option could be later provided in the configuration dialog as well.
Implementation detail:
AccountManager skips disabled accounts when reading the config and leaves them untouched on writing back the config.
Reviewed by A.Winter
svn path=/trunk/KDE/kdepim/; revision=780603
> SVN commit 706446 by bvirlet:
>
> Forward port r706174 and r706425
This commit caused a crash when checking mail for the second time.
AFAIK, this was also reverted in the enterprise branch.
Forward port of:
> SVN commit 709145 by tokoe:
>
> compile++
svn path=/trunk/KDE/kdepim/; revision=709448
Warning: If you have been using rev. 689148 or higher, you need to manually run kconf_update before starting KMail or you will lose your account settings. See kmail.upd for details.
svn path=/trunk/KDE/kdepim/; revision=689633
Now, we use enums instead of strings.
Add the names of the types to KAccount. They can now be translated.
Also, provide an update script for easy config migration.
BUG: 90509
svn path=/trunk/KDE/kdepim/; revision=689148
account manager into NetworkAccount, and add a virtual
mailCheckCanProceed() which defaults to true and which aforementioned
NetworkAccount reimplements to return false if the maximum number of
connections is exceeded and (after Matt has added his bit) when we are
in offline mode. The map is static in NetworkAccount, since there could
be more than one account on the same server, so per account is not what
we want.
svn path=/trunk/KDE/kdepim/; revision=437969
account manager's getAccounts() listing. It was only called with false
or the default, which is also false.
svn path=/trunk/KDE/kdepim/; revision=435545
were "saved" to kmailrc, but kmailrc wasn't synced, so in case of a kmail crash, X crash, power failure, kernel oops...
the settings would be lost, and on the next kmail restart very strange errors would happen when syncing
(can't create folder, folder already there, folder missing, etc.)
The solution: sync(). But while being at it I implemented buffering of sync requests
which was a TODO in kmkernel, but did it in GlobalSettings as Till suggested;
which in turn means we need our own GlobalSettings inheriting GlobalSettingsBase,
and the code lacked ::self()-> in many places to allow that.
srcdir!=builddir users: don't forget to delete globalsettings.{cpp,h} from the builddir
since it's not generated anymore!
CCMAIL: kmail-devel@kde.org
svn path=/trunk/KDE/kdepim/; revision=432538
were "saved" to kmailrc, but kmailrc wasn't synced, so in case of a kmail crash, X crash, power failure, kernel oops...
the settings would be lost, and on the next kmail restart very strange errors would happen when syncing
(can't create folder, folder already there, folder missing, etc.)
The solution: sync(). But while being at it I implemented buffering of sync requests
which was a TODO in kmkernel, but did it in GlobalSettings as Till suggested;
which in turn means we need our own GlobalSettings inheriting GlobalSettingsBase,
and the code lacked ::self()-> in many places to allow that.
svn path=/branches/kdepim/proko2/kdepim/; revision=432536
Turnes out that all accounts created get a QTimer instance per account.
This is wrong in the config dialog since they are not officially OK-ed yet.
This is IMO a better fix then the one I removed yesterday in KMAcctCachedImap
since this solves it for all types of accounts.
svn path=/trunk/KDE/kdepim/; revision=431140