from
/branches/work/kmail-nommap (r799390..804487)
/branches/work/kdepim-nommap/kmail (r804484..804960)
The SQLite mode is currently enabled only on Windows (by KMAIL_SQLITE_INDEX define),
so on !Windows, the code for standard 'mmap' mode is compiled.
CCMAIL:kde-pim@kde.org
svn path=/trunk/KDE/kdepim/; revision=805075
1. For creating emails use codec returned by KGlobal::locale()->encoding(), what on non-windows is equal to QTextCodec::codecForLocale() (see KLocalePrivate::initEncoding()).
On windows QTextCodec::codecForLocale() returns "System", so we're using GetLocaleInfo() to get the actual CP system's charset.
Thus, Windows no longer displays strange ?system? prefix in the From: field if non-latin1 character was used
2. Add LGPL'd CP -> ISO maping code (locale.c) from GNU Mailutils that we'll use soon
(on any platform, I guess)
(reviewed)
svn path=/trunk/KDE/kdepim/; revision=788616
- rename kmail_util.h to actually reflect its content
- a{ays} is apparently not supported, so let's try a(ays) instead, we
don't really need a map here anyway
- prepare the Kolab resource to use the generated interface instead
doing manual calls
svn path=/trunk/KDE/kdepim/; revision=785303
FolderStorage::canAccess() now returns bool,
and thus also the same method in KMFolderSearch, KMFolderMaildir,
KMFolderMbox, KMFolder
- Maildir filenames: use '!' character separator instead of ':' for windows
(KMAIL_MAILDIR_FNAME_SEPARATOR macro),
as it is impossible to create a file containing ':' (regardless of the
used filesystem - it is a property of the FS API itself)
- KMFolderMaildir::canAccess() use QFileInfo instead of access() - solves
problem with undefined
X_OK flag on windows and is still enough efficient as there are no hundreds
of dirs in a maildir
- KMFolderIndex::recreateIndex() now returns bool
- KMFolderDir::reload() simplified
svn path=/trunk/KDE/kdepim/; revision=773959
This also removes crashes in two places at least for msvc - apparently,
iterator was not invalidated. The code is also simpler.
svn path=/branches/work/kdab-post-4.0/kdepim/; revision=758317
only delay the D-Bus registration until KMKernel::setupDBus()
is called.
This is needed because KMFolderCachedImap::readConfig accesses
the groupware interface, and it is called before setupDBus().
This probably fixes
BUG: 154256
svn path=/trunk/KDE/kdepim/; revision=751262
not work with D-Bus.
Remove the overloaded dbusAddMessage and dbusAddMessage_fastImport, the
only difference was KUrl instead of QString anyway.
svn path=/trunk/KDE/kdepim/; revision=750987
- Remove the existing org.kde.kmail.kmail/kmailpart/mailcomposer.xml files, and let them
be generated at build time instead. This is done by extracting the slots and signals
marked with Q_SCRIPTABLE.
I had to adjust the CMake files of all users of the XML files to use the one from the
build directory now.
Currently, the XML files are also installed. I am not sure if this is a good idea, as that
implies we have to keep some sort of compatibility.
- Fix incorrect D-Bus path and method call in the summary view. Now the generated interface is
used instead. Checking the accounts with the sync actions works again now.
- Some DCOP->D-Bus renamings in comments
- Some style fixes around D-Bus related lines
The D-Bus test of KMail and the Kontact KMail summary still work.
This needs the new FindQt4.cmake from kdelibs.
This probably needs a clean build.
I did not touch the groupware interface or the SMIME security config page
(which talks to Kleopatra). This is left for KDAB to fix, but it would be
nice to contact me before.
svn path=/trunk/KDE/kdepim/; revision=750976
in the standalone message reader window (menubar and popup), to make them
consistent with the main window menus. Split out the menu generation from
KMMainWin into a new class CustomTemplatesMenu to allow for this.
GUI:
svn path=/trunk/KDE/kdepim/; revision=730317
KConfigBase:
- remove separator argument from list entry reading/writing functions
- introduce {read,write}XdgListEntry()
- kill readPathListEntry(), add readPathEntry() overload
instead. the default value is not optional any more, as it defines the
return type. this is consistent with the readEntry() functions.
- rename clean() => markAsClean(), remove rollback()
- rename ConfigState => AccessMode, getConfigState() => accessMode()
- rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
- remove NLS alias to Localized
KConfig:
- remove setGroup() & group()
- reshuffle OpenFlag enum, introduce NoCascade for symmetry
- remove setExtraConfigFiles() alias to addConfigSources()
KConfigGroup:
- inherit KConfigBase::deleteGroup() overloads
- make convertToQVariant() private, it will probably change somehow
- KConfig & KConfigGroup: deprecate entryMap()
- remove bogus declarations: KConfigGroup::setReadDefaults(),
KConfig::readEntryUntranslated()
- apidox
- reshuffle the declarations in the headers
svn path=/trunk/KDE/kdepim/; revision=728852
SVN commit 716415 by tilladam:
Add a non-gui option to allow the application to close even if there is a systray icon
active. Default to false, in accordance with the HIG. Document it.
svn path=/branches/work/kdab-post-4.0/kdepim/; revision=716421
We now simply delay the registration of the D-BUS objects until we
are ready to process them.
Also, remove some redunant kDebug calls and remove one superfluous
D-Bus signal.
svn path=/trunk/KDE/kdepim/; revision=710334
- Port from K3ListView to QTreeWidget
- Make the dbus communication work
- Fix signal/slot
svn path=/trunk/KDE/kdepim/kontact/plugins/; revision=709262
property from a QString to an int. This broke config compatibility,
so this needed to be reverted.
This needs an up-to-date kdepimlibs, sorry.
svn path=/trunk/KDE/kdepim/; revision=708036
Reasons:
- Most parts are disabled/commented out anyway
- The kdelibs part does not work
- Kopete won't be ready for KDE 4.0
- The author of KIMProxy (Will) is not going to fix KIMProxy,
but there are plans to add something similar later, probably
based on Decibel.
svn path=/trunk/KDE/kdepim/; revision=706534
- Use the TransportComboBox in the identity dialog
- Remove some leftover code which is now handled by the mailtransport library
- Use the transport IDs as identifiers instead of their names, this should be much
more fail-safe
- Fix the Send Now Via/Send Later Via toolbuttons in the composer
- Remove an unrelated unused function
- Also, fix signal/slot for autosavemessage
svn path=/trunk/KDE/kdepim/; revision=702520
Instead of skipping some template tags like QUOTE or HEADERS, now the whole
template is skipped when doing a blank reply.
BUG: 142483
svn path=/trunk/KDE/kdepim/; revision=700384
for the new kDebug/kError/kWarning/kFatal syntax.
You can use the following command to find 'old' code:
egrep -r -A 5 '(kDebug|kError|kWarning|kFatal).*' * | grep -v ".svn" | grep "<< *endl;"
svn path=/trunk/KDE/kdepim/; revision=695781
but since the difficult part is over, I hope I will improve it over time.
Currently it has the following features:
- Ability to tag emails (with possibly more than one tag)
- Changing the appearance of message headers (font and text color) according to the message's tags.
- Configuration of tags through a new tab called "Message Tags" on the "Configure KMail->Appearance" configuration page.
- You can add toolbar buttons for easy tagging.
- You can assign shortcuts to tags.
- Tagging through the right-click menu.
- Quick filtering using the combobox for "status" filtering. See the screenshot.
Some short-term todos:
- Incorporate Nepomuk
- A column for tags in the header view
- Incorporate Ellen's usability comments
Some long-term todos:
- Filter action for automatic tagging
- Searching based on tags ( which enables having 'tag folders' through use of search folders )
I'm sorry that I didn't have enough time to test my current commit completely. In the last two days, I have been constantly compiling
kdelibs, kdepimlibs, kdebase to keep up with very frequent changes. I finally was able to compile all at once:)
BUGS: 50409
CCBUG: 15391, 122977
svn path=/trunk/KDE/kdepim/; revision=692089