David Faure
0420a9b7d9
utf8 is no CTE. Let's have CTE==8bit
...
(so that the XML files can be validated from the disk storage, hopefully)
and charset=utf8
svn path=/branches/proko2/kdepim/; revision=324928
22 years ago
David Faure
8debe53e91
Improved error handling (print more meaningful messages than "not an imap resource folder")
...
Spotted a few wrong return values and a wrong folderById instead of folderResource in deleteIncidenceKolab.
svn path=/branches/proko2/kdepim/; revision=324923
22 years ago
David Faure
0d64b7fba0
Fixed "QGDict::hashKeyString: Invalid null key" warning
...
svn path=/branches/proko2/kdepim/; revision=324903
22 years ago
Bo Thorsen
196c101692
Fix the fix: Returning the serial number. I hate int returns for error stuff :-(
...
svn path=/branches/proko2/kdepim/; revision=324880
22 years ago
Bo Thorsen
a8e26a6863
Fix returning the serial number
...
svn path=/branches/proko2/kdepim/; revision=324879
22 years ago
Bo Thorsen
b341b4dad3
Less dense but more readable code. Only cosmetic
...
svn path=/branches/proko2/kdepim/; revision=324870
22 years ago
Bo Thorsen
d9387cf3d4
findMessageBySerNum complains when asking with a nonexisting serialnumber. So don't even try, when we know it's wrong
...
svn path=/branches/proko2/kdepim/; revision=324868
22 years ago
Bo Thorsen
e9b39b79ee
Add a method to locate the xml folder. This list of methods to locate folders needs cleaning up
...
svn path=/branches/proko2/kdepim/; revision=324867
22 years ago
David Faure
75915331dd
reorder - setContentsType looks into the map
...
svn path=/branches/proko2/kdepim/; revision=324857
22 years ago
Karl-Heinz Zimmer
eb96fe4486
Enable KMail to store/update/delete single attachments of a Kolab mail without touching other attachments that might be stored inside the same mail.
...
svn path=/branches/proko2/kdepim/; revision=324806
22 years ago
Bo Thorsen
1955a0624a
Return the serial number instead of just a bool
...
svn path=/branches/proko2/kdepim/; revision=324629
22 years ago
Bo Thorsen
da790ba09a
Tell the sernum for quicker access
...
svn path=/branches/proko2/kdepim/; revision=324599
22 years ago
David Faure
9ccba94cd1
Check the storage format from the various methods, to use the right folders.
...
Fixed a bug in khz's code (use find() instead of contains() to find a char's pos)
svn path=/branches/proko2/kdepim/; revision=323023
22 years ago
David Faure
59d7c5323b
Added configuration option for the storage format (ical/vcard or xml)
...
Store per-folder storage format in kmailicalifaceimpl and in a specific group of kmailrc.
Create groupware folders with the English names always, and set a translated label on them
(when using the xml storage)
svn path=/branches/proko2/kdepim/; revision=323018
22 years ago
David Faure
b2f0a6dba0
Removed type from ExtraFolder struct. I see no reason for it, folder->storage()->contentsType()
...
has the same information already. The only reason was maybe to detect changes, but
FolderStorage::setContentsType does it already.
svn path=/branches/proko2/kdepim/; revision=322917
22 years ago
David Faure
b92de3ec08
No need to iterate when one can use find()
...
svn path=/branches/proko2/kdepim/; revision=322803
22 years ago
Karl-Heinz Zimmer
3169bcab1b
sorry
...
svn path=/branches/proko2/kdepim/; revision=322763
22 years ago
Karl-Heinz Zimmer
60db5817a8
do not forget to return the default folder for kolab
...
svn path=/branches/proko2/kdepim/; revision=322762
22 years ago
Karl-Heinz Zimmer
3b51a71592
subresourceKolab() - but isXMLFolder() still missing
...
svn path=/branches/proko2/kdepim/; revision=322757
22 years ago
Karl-Heinz Zimmer
5aa0167074
OOPS.
...
svn path=/branches/proko2/kdepim/; revision=322747
22 years ago
Karl-Heinz Zimmer
8c49cd1414
Name the parameter after its purpose
...
svn path=/branches/proko2/kdepim/; revision=322743
22 years ago
Karl-Heinz Zimmer
9bc7fe808b
Use a Q_UINT32 instead of a QString as serial number of a message.
...
svn path=/branches/proko2/kdepim/; revision=322626
22 years ago
David Faure
22389489c0
* Set contents type of the resource folders (contacts/notes/etc.). Amazing that this wasn't done before :)
...
* Store contents type on server using a "set annotations" job. Currently using /comment,
since imapd doesn't support /vendor/* yet. Discussion is under way.
svn path=/branches/proko2/kdepim/; revision=321827
22 years ago
David Faure
ad357d7257
fix the "async commands" problem better.
...
svn path=/branches/proko2/kdepim/; revision=321687
22 years ago
David Faure
2d3fce19d2
Revert yesterday's commit and fix it better: since KMDeleteMsgCommand is async,
...
and we need sync deletion, let's just do it directly, with removeMsg().
svn path=/trunk/kdepim/; revision=321684
22 years ago
Karl-Heinz Zimmer
cbbe3a38d8
Interface extended for Kolab, see kdepim/kresources/kolab/shared, implementation not committed, still being worked at.
...
svn path=/branches/proko2/kdepim/; revision=321665
22 years ago
David Faure
6c6e8cebc2
apply crash fix from HEAD
...
svn path=/branches/proko2/kdepim/; revision=321482
22 years ago
David Faure
b3bde7a5ac
Fixed crash when editing events in korganizer using the kmail-imap resource (kolab issue189).
...
The mResourceQuiet hack used here (to silence signals from kmfolder) broke
when the KMCommands were made async. Got rid of it, and introduced this instead:
+ // Ignore 'added' notifications for those incidences, we added them ourselves
+ // This is a temporary storage, between addIncidence and slotIncidenceAdded,
+ // which is called a bit later.
+ // We store the KMMessage* since we don't have a serial number yet.
+ QValueList<KMMessage*> mIgnoreAdded;
+ // Ignore 'deleted' notifications for those incidences, we deleted them ourselves
+ // This is a temporary storage, between deleteIncidence and slotIncidenceDeleted,
+ // which is called a bit later.
+ QValueList<Q_UINT32> mIgnoreDeleted;
svn path=/trunk/kdepim/; revision=321475
22 years ago
David Faure
e84be9650c
turn int into enum (patch applied in HEAD)
...
svn path=/branches/proko2/kdepim/; revision=321432
22 years ago
David Faure
828eb79550
Turn Bo's ugly numbers into a nice enum.
...
svn path=/trunk/kdepim/; revision=321431
22 years ago
Bo Thorsen
db802c462c
When making a new entry, figure out what folder this should go into. It looks through the list of folders, and asks KMail if they're writable. If more than one is possible, it asks the user.
...
svn path=/trunk/kdepim/; revision=313128
22 years ago
Bo Thorsen
684c8dc095
Getting closer towards full multifolder support. And now there are no more warnings
...
svn path=/trunk/kdepim/; revision=312036
22 years ago
Bo Thorsen
6a848d4bbc
Support fetching multiple IMAP resource folders
...
svn path=/trunk/kdepim/; revision=311401
22 years ago
David Faure
b1da3c11d7
GUI: Implemented "Expire messages by moving them to another folder".
...
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
22 years ago
Bo Thorsen
3a3a7e7aed
- Convert a couple more emitDCOPSignal calls to the typesafe skel version
...
- Return the real type of extra resource folders
- Listen to extra folders signals from adding and removing messages
svn path=/trunk/kdepim/; revision=311011
22 years ago
David Faure
211185cb51
Fixed crash when starting korganizer and kmail isn't running and when using the imap resource.
...
Better add the dcop signal to the skel and call it, instead of forgetting arguments....
svn path=/trunk/kdepim/; revision=310681
22 years ago
Bo Thorsen
ddaeabecb5
Be able to mark folders as having groupware contents. And check in the icalIface stuff to match up the imap resource again
...
svn path=/trunk/kdepim/; revision=310641
22 years ago
Bo Thorsen
be9424a5e2
Beginning the process of having multiple sub resources. Especially necessary for several calendar folders in the IMAP resource. Discussed way back in the Osnabrueck meeting but never implemented - now I'm finally getting to it
...
svn path=/trunk/kdepim/; revision=310015
22 years ago
Bo Thorsen
b8802fc6a8
And revert stuff that was not supposed to go in yet
...
svn path=/trunk/kdepim/; revision=303957
22 years ago
Bo Thorsen
ad5a51b9ca
Save the kconfigxt configuration along with the rest of the config. Otherwise these configurations were not saved in Kontact at all
...
svn path=/trunk/kdepim/; revision=303955
22 years ago
Till Adam
f0eba5fa4d
Port the Groupware and IMAP Resource options to KConfigXt. Move the whats
...
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
22 years ago
Bo Thorsen
b915faee44
Implement hiding the IMAP resource folders from the foldertree. This was
...
one of the things we decided upon doing back in Osnabrueck.
CCMAIL: kmail-devel@kde.org
svn path=/trunk/kdepim/; revision=299504
22 years ago
Andrew Coles
af11dae280
Corrected typographical errors.
...
22 years ago
Laurent Montel
dfccf5ce0c
Fix kddebug
...
svn path=/trunk/kdepim/; revision=295858
22 years ago
Bo Thorsen
fe84cc8475
Hopefully this fixes the creation of IMAP folders in the IMAP resource. Doesn't fix the bigger bug that files are not read correctly by the resource
...
svn path=/trunk/kdepim/; revision=287670
22 years ago
Cornelius Schumacher
edda63a584
Return actual return code.
...
svn path=/trunk/kdepim/; revision=286283
22 years ago
Ingo Klcker
2c715b30da
Merge from osnabrueck_branch: all
...
svn path=/trunk/kdepim/; revision=280772
22 years ago
Marc Mutz
c4df6a1a84
Add <config.h> to all .cpp files as in aegypten_branch we really
...
depend on th values there.
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
Changes done by this script:
for i in *.cpp; do
if ! grep -q '<config.h>' $i; then
echo $i
fi
done | xargs -n1 perl -pi\~ -e \
'if ( /#include/ && !$first ) {
$_ = "#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n" . $_;
$first=1;
}'
svn path=/trunk/kdepim/; revision=278891
23 years ago
Bo Thorsen
6fad09b117
There are of course no differences between the different libkcal items here
...
svn path=/trunk/kdepim/; revision=277801
23 years ago
Bo Thorsen
df7c03546c
Merge the KAddressBook IMAP resource from osnabrueck_branch. This is now complete, tested and functional
...
svn path=/trunk/kdepim/; revision=277778
23 years ago