Commit Graph

857 Commits

Author SHA1 Message Date
Wolfgang Sourdeau
420e5e0759 include inttypes.h for PRIx64 2012-10-10 11:55:06 -04:00
Wolfgang Sourdeau
dd1a8e9285 only preload message bodies of normal messages, ignore FAI ones 2012-10-10 10:38:50 -04:00
Wolfgang Sourdeau
37e8f7ca98 "preload_message_bodies" now take an additional "enum mapistore_table_type" argument 2012-10-10 10:38:25 -04:00
Wolfgang Sourdeau
060c036936 ensure that object versions are properly "masked" to 48-bit integers 2012-10-10 08:43:21 -04:00
Wolfgang Sourdeau
ad2b5fe413 ensure that shifted property ids are correctly "masked" to 16-bit integers 2012-10-10 08:42:44 -04:00
Wolfgang Sourdeau
5b7cbb6350 Use NSString instances as keys rather than NSNumber, to work around a performance issue with GNUstep < 1.24 2012-10-09 16:39:24 -04:00
Wolfgang Sourdeau
c9dad4cab6 Make use of +[NSString stringWithUnsignedLongLong:] from NGExtensions 2012-10-09 14:14:58 -04:00
Wolfgang Sourdeau
113a95d2c7 show "dealloc" messages since "init" messages are shown already 2012-10-07 00:17:42 -04:00
Wolfgang Sourdeau
65462b273a dealloc: release the associated woContext, thereby fixing a mem leak 2012-10-07 00:17:06 -04:00
Wolfgang Sourdeau
2758b44d37 Small optimization, we avoid copying potentially big array of bytes by attaching a wrapper around the NSData object to the resulting binary structure 2012-10-06 14:19:34 -04:00
Wolfgang Sourdeau
a549773554 Implemented a mechanism to preload body parts for email messages 2012-10-06 13:02:39 -04:00
Wolfgang Sourdeau
a7691c552b Renamed -preloadMessageBodies: to preloadMessageBodiesWithMIDs: and perform a conversion of MIDs to message keys instead of the subclass code 2012-10-06 13:01:44 -04:00
Wolfgang Sourdeau
46c82286d8 Added -childKeyFromURL: as translation method and refactored -lookupMessageByURL: and -lookupFolderByURL: to make use of it 2012-10-05 13:51:58 -04:00
Wolfgang Sourdeau
b2ee81f75a Commented out freebusy exception for read accesses 2012-10-05 10:09:38 -04:00
Wolfgang Sourdeau
671ce26a48 struct UI8Array_r replaces struct I8Array_r 2012-10-05 09:59:45 -04:00
Wolfgang Sourdeau
eca09c87cc Implemented the folder.preload_message_bodies backend op 2012-10-05 09:55:01 -04:00
Wolfgang Sourdeau
aa24d5133e Without the backend prefix, the mapistore backend context would never be found 2012-10-05 09:54:22 -04:00
Wolfgang Sourdeau
1b02490e85 Improved the performance of the dict population by using NSString keys rather than NSNumber ones. The discussion here "https://savannah.gnu.org/bugs/?37494" seems to indicate that this occurs only with old versions of GNUstep. 2012-10-03 11:25:47 -04:00
Wolfgang Sourdeau
08eb4d9f84 Only fetch subfolders when they are supported 2012-09-27 19:23:56 -04:00
Wolfgang Sourdeau
ead3c8f6b9 Reindentation 2012-09-27 19:23:34 -04:00
Wolfgang Sourdeau
2711e0a0db Retrieve the displayName rather the address part of the email address 2012-09-26 17:07:19 -04:00
Wolfgang Sourdeau
37ccb0875c Check whether the "INBOX" folder has the "noinferiors" flag set before declaring that it accepts subfolder creation 2012-09-26 11:50:28 -04:00
Wolfgang Sourdeau
a6a30afe75 Set PidLidRecurrentPattern 2012-09-26 09:28:37 -04:00
Wolfgang Sourdeau
49ea183835 PidLidFExceptionalBody should be set only on event exceptions 2012-09-26 09:27:59 -04:00
Wolfgang Sourdeau
2760e35f15 PidTagAccessLevel should not be set on folder objects 2012-09-26 09:26:38 -04:00
Wolfgang Sourdeau
23ebc24d94 Handle permissions on embedded messages too 2012-09-24 10:24:46 -04:00
Wolfgang Sourdeau
569a34c0f4 Added PidTagHasNamedProperties 2012-09-19 16:06:27 -04:00
Wolfgang Sourdeau
1f8f31daff Embedded message can always be "saved" 2012-09-19 16:05:52 -04:00
Wolfgang Sourdeau
72fb3f552d PidTagBody: do not return a body if it is an empty string or a simple crlf 2012-09-19 12:25:20 -04:00
Wolfgang Sourdeau
04d5284ef3 Added PidLidRecurrenceType, PidLidAppointmentTimeZoneDefinitionStartDisplay and PidLidAppointmentTimeZoneDefinitionEndDisplay 2012-09-19 12:23:56 -04:00
Wolfgang Sourdeau
cad770bf76 Moved PidTagException* properties to the right place 2012-09-19 12:22:07 -04:00
Wolfgang Sourdeau
89a41a9aa9 New method that returns a TimeZoneDefinition 2012-09-19 12:00:07 -04:00
Wolfgang Sourdeau
2758b486f7 Output url of object being registered 2012-09-19 11:58:52 -04:00
Wolfgang Sourdeau
d120b003bc Fixed MID returned for embedded messages which have not yet been registered, in a way that registers them when required 2012-09-19 11:57:53 -04:00
Wolfgang Sourdeau
9669cd37c4 One comment and one header added. 2012-09-18 10:12:36 -04:00
Wolfgang Sourdeau
049095a77b Removed PidNameContentClass as it was useless 2012-09-18 09:13:02 -04:00
Ludovic Marcotte
fc65172756 Fix for bug #1689
Monotone-Parent: 7605704028eff50386f4f9c1e4e93aa47eea31c3
Monotone-Revision: ae08767667624a609d7996a164800377cb574081

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-17T10:06:18
Monotone-Branch: ca.inverse.sogo
2012-09-17 10:06:18 +00:00
Ludovic Marcotte
0da9573834 See ChangeLog
Monotone-Parent: df3aa42d7aa65c233839e872cc103d9cf8c2d654
Monotone-Revision: 9e1649b38d7b35c48bc95fdbaa0ed062a6046495

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-13T15:49:22
Monotone-Branch: ca.inverse.sogo
2012-09-13 15:49:22 +00:00
Ludovic Marcotte
c9b456c86d See ChangeLog
Monotone-Parent: 0be42fb4ac553a3b8b6b1d18144d2c4aa9dfdd0e
Monotone-Revision: df3aa42d7aa65c233839e872cc103d9cf8c2d654

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-12T14:42:24
Monotone-Branch: ca.inverse.sogo
2012-09-12 14:42:24 +00:00
Ludovic Marcotte
e87e1ab083 See ChangeLog
Monotone-Parent: 05dfd85bdc0651db027e7df47810671a4f906fad
Monotone-Revision: 0be42fb4ac553a3b8b6b1d18144d2c4aa9dfdd0e

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-12T10:16:20
Monotone-Branch: ca.inverse.sogo
2012-09-12 10:16:20 +00:00
Wolfgang Sourdeau
fc62d76b1f Monotone-Parent: 7c8fce0426b2ec4def5226f16a9bcf2cff5dcfb9
Monotone-Revision: 1cc99cc487a5bfdb791d4067042b904d7eb47795

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-07T16:46:18
Monotone-Branch: ca.inverse.sogo
2012-09-07 16:46:18 +00:00
Wolfgang Sourdeau
772c73ac13 Monotone-Parent: 053b5d33cbcf453e7c7216c0b2a168a0f0ffa0d5
Monotone-Revision: 7c8fce0426b2ec4def5226f16a9bcf2cff5dcfb9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-07T16:44:13
Monotone-Branch: ca.inverse.sogo
2012-09-07 16:44:13 +00:00
Wolfgang Sourdeau
868c7b19cd Monotone-Parent: f643d3c57f70e9da6cd4bbc6b07967927a9a0d53
Monotone-Revision: 053b5d33cbcf453e7c7216c0b2a168a0f0ffa0d5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T20:54:29
Monotone-Branch: ca.inverse.sogo
2012-09-06 20:54:29 +00:00
Wolfgang Sourdeau
fcc4334f76 Monotone-Parent: 9284db2af3ffef975cdd8b2d8850440185181e83
Monotone-Revision: f643d3c57f70e9da6cd4bbc6b07967927a9a0d53

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T20:53:42
Monotone-Branch: ca.inverse.sogo
2012-09-06 20:53:42 +00:00
Wolfgang Sourdeau
7e79f39c8a Monotone-Parent: 92936cd67e5a99d0fc17d50aa99fbbaa31b167d0
Monotone-Revision: 61e6bd1534fa646d1aa34f95f3966c2f8533153d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T19:09:05
Monotone-Branch: ca.inverse.sogo
2012-09-06 19:09:05 +00:00
Wolfgang Sourdeau
68dc738239 Monotone-Parent: 1f5b4286b78bd24005e7d3227993347564bf76b5
Monotone-Revision: 92936cd67e5a99d0fc17d50aa99fbbaa31b167d0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T19:05:59
Monotone-Branch: ca.inverse.sogo
2012-09-06 19:05:59 +00:00
Wolfgang Sourdeau
acea40f295 Monotone-Parent: a1a4f8e01241e22f0964fc0320be28504ae6e68b
Monotone-Revision: 1f5b4286b78bd24005e7d3227993347564bf76b5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T18:29:25
Monotone-Branch: ca.inverse.sogo
2012-09-06 18:29:25 +00:00
Wolfgang Sourdeau
1d95cdae7c Monotone-Parent: 0b736cc980075f71e643c2c71341dee25f434fb9
Monotone-Revision: a1a4f8e01241e22f0964fc0320be28504ae6e68b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T18:29:08
Monotone-Branch: ca.inverse.sogo
2012-09-06 18:29:08 +00:00
Wolfgang Sourdeau
2bf242c97b Monotone-Parent: 3cd1b3a63a62fe841a9e4978d5ca818ab175f870
Monotone-Revision: e95189d2eb78ea96edf9291b7136e415251a7eb4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T14:15:03
Monotone-Branch: ca.inverse.sogo
2012-09-06 14:15:03 +00:00
Wolfgang Sourdeau
fe39d82f5d Monotone-Parent: b6e0c5de869a2a15ff75f7dd4850ede790373285
Monotone-Revision: 3cd1b3a63a62fe841a9e4978d5ca818ab175f870

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-09-06T14:13:24
Monotone-Branch: ca.inverse.sogo
2012-09-06 14:13:24 +00:00