sogo/OpenChange
Jesús García Sáez 05578bfcb6 oc-rtf: control words can also have a space before next tag
This was causing to parse a single space as an empty control
word with length 0, which was the source of several crashes.

Example:

  \f0\fbidi \fcharset0
   --------^

font index is 0, font family is bidi but when parsing charset we were
assuming control word was '' instead of 'charset0'.

This only fixes the crashes, the parseFontTable function works quite
awful right now.
2014-11-19 17:12:28 +01:00
..
classes.txt Monotone-Parent: dcee22693d3a16ba20dcd9824bd2cfd39c0cf369 2010-12-23 20:00:29 +00:00
code-MAPIStorePropertySelectors.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
code-MAPIStorePropertySelectors.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
COPYING Adjusted license terms to GPL v3 in every files 2011-08-12 15:02:01 +00:00
dbmsgreader.m oc/util: Tune dbmsgreader for new caching classes names 2014-11-19 17:12:27 +01:00
gen-charset-table.py semi-colon 2013-03-26 14:01:04 -04:00
gen-property-selectors.py Monotone-Parent: deb19e29a470db5c60606444f9e82eb9aa85ce1d 2012-08-17 20:12:58 +00:00
GNUmakefile Merge pull request #49 from Zentyal/Contrib 2014-09-29 09:07:36 -04:00
GNUmakefile.preamble Delete generated source files when running "make clean". 2014-04-06 22:44:50 +02:00
iCalEvent+MAPIStore.h Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
iCalEvent+MAPIStore.m All day events deladyed one day if user timezone is +XX:XX 2014-07-02 14:59:06 +02:00
iCalTimeZone+MAPIStore.h New method that returns a TimeZoneDefinition 2012-09-19 12:00:07 -04:00
iCalTimeZone+MAPIStore.m New method that returns a TimeZoneDefinition 2012-09-19 12:00:07 -04:00
MAPIApplication.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIApplication.m See ChangeLog 2012-09-13 15:49:22 +00:00
MAPIStoreActiveTables.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreActiveTables.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreAppointmentWrapper.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreAppointmentWrapper.m Removed development tip comment 2014-07-29 18:22:34 +02:00
MAPIStoreAttachment.h move_copy_messages now uses the openchange's memory context. 2012-12-03 09:18:17 -05:00
MAPIStoreAttachment.m move_copy_messages now uses the openchange's memory context. 2012-12-03 09:18:17 -05:00
MAPIStoreAttachmentTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreAttachmentTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreAuthenticator.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreAuthenticator.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreCalendarAttachment.h Moved PidTagException* properties to the right place 2012-09-19 12:22:07 -04:00
MAPIStoreCalendarAttachment.m Moved PidTagException* properties to the right place 2012-09-19 12:22:07 -04:00
MAPIStoreCalendarContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreCalendarContext.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreCalendarEmbeddedMessage.h Monotone-Parent: 3a6e0507a35f90e7be4467763bd26ef4fb15cf80 2012-07-20 15:42:52 +00:00
MAPIStoreCalendarEmbeddedMessage.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreCalendarFolder.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreCalendarFolder.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreCalendarMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreCalendarMessage.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreCalendarMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreCalendarMessageTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsAttachment.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsAttachment.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsContext.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsFolder.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsFolder.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsMessage.m Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
MAPIStoreContactsMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContactsMessageTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreContext.h Moved to abstract index_context instead of tdb_wrap 2014-07-02 14:41:25 +02:00
MAPIStoreContext.m Prevent SOGo backend from crashing when mapistore_set_connection_info is 2014-11-19 17:12:28 +01:00
MAPIStoreDBBaseContext.h Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b 2012-06-29 17:59:38 +00:00
MAPIStoreDBBaseContext.m Updated code to reflect cache regorg. 2014-05-14 06:56:05 -04:00
MAPIStoreDBFolder.h Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b 2012-06-29 17:59:38 +00:00
MAPIStoreDBFolder.m Updated code to reflect cache regorg. 2014-05-14 06:56:05 -04:00
MAPIStoreDBFolderTable.h Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b 2012-06-29 17:59:38 +00:00
MAPIStoreDBFolderTable.m Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b 2012-06-29 17:59:38 +00:00
MAPIStoreDBMessage.h Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b 2012-06-29 17:59:38 +00:00
MAPIStoreDBMessage.m Stability fix when we're untable to determine the message class type 2013-09-19 10:49:42 -04:00
MAPIStoreDBMessageTable.h Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b 2012-06-29 17:59:38 +00:00
MAPIStoreDBMessageTable.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreEmbeddedMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreEmbeddedMessage.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreFAIMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreFAIMessage.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreFAIMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreFAIMessageTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreFallbackContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreFallbackContext.m Moved to abstract index_context instead of tdb_wrap 2014-07-02 14:41:25 +02:00
MAPIStoreFolder.h Updated code to reflect cache regorg. 2014-05-14 06:56:05 -04:00
MAPIStoreFolder.m openchange/MAPIStoreFolder: Add private selector for actual folder delete action 2014-07-02 14:58:33 +02:00
MAPIStoreFolderTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreFolderTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreGCSBaseContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreGCSBaseContext.m Moved to abstract index_context instead of tdb_wrap 2014-07-02 14:41:25 +02:00
MAPIStoreGCSFolder.h Use NSString instances for representing change numbers, rather than NSNumber 2012-10-13 09:59:13 -04:00
MAPIStoreGCSFolder.m Renamed constants in preparation for the big cache cleanup 2014-05-13 17:54:02 -04:00
MAPIStoreGCSMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreGCSMessage.m Use NSString instances for representing change numbers, rather than NSNumber 2012-10-13 09:59:13 -04:00
MAPIStoreGCSMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreGCSMessageTable.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreMailAttachment.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMailAttachment.m Reindentation 2012-09-27 19:23:34 -04:00
MAPIStoreMailContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMailContext.m openchange: return proper url for folders with non-ascii chars 2014-11-19 17:12:27 +01:00
MAPIStoreMailFolder.h 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
MAPIStoreMailFolder.m oc/MailFolder: Add more logging so we can trace invalid message kyes 2014-11-19 17:12:28 +01:00
MAPIStoreMailMessage.h Implemented a mechanism to preload body parts for email messages 2012-10-06 13:02:39 -04:00
MAPIStoreMailMessage.m Fix for bug #2119 2013-06-20 09:10:09 -04:00
MAPIStoreMailMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMailMessageTable.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreMailVolatileMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMailVolatileMessage.m openchange: don't overflow possible recipient type while creating message headers 2014-07-02 14:58:57 +02:00
MAPIStoreMapping.h oc: cached usercontext updates indexing_context 2014-11-19 17:12:28 +01:00
MAPIStoreMapping.m oc: cached usercontext updates indexing_context 2014-11-19 17:12:28 +01:00
MAPIStoreMessage.h Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreMessage.m Replaced unrtf by our own RTF to HTML converter. 2013-03-26 19:32:08 -04:00
MAPIStoreMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMessageTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMIME.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreMIME.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreNotesContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreNotesContext.m Moved to abstract index_context instead of tdb_wrap 2014-07-02 14:41:25 +02:00
MAPIStoreNotesFolder.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreNotesFolder.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreNotesMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreNotesMessage.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreObject.h move_copy_messages now uses the openchange's memory context. 2012-12-03 09:18:17 -05:00
MAPIStoreObject.m Avoid type-issues generating wrong GlobCnt - leading to OpenChange crashes during the sync process. 2013-09-18 14:03:07 -04:00
MAPIStoreObjectProxy.h Monotone-Parent: be9c203f3a5b8055a08854fac75321227532ee8c 2012-07-19 19:28:44 +00:00
MAPIStoreObjectProxy.m Monotone-Parent: 5b4e61e92b3d68b92ea25f1513eb120e502250a1 2012-07-20 15:44:25 +00:00
MAPIStorePermissionsTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStorePermissionsTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreRecurrenceUtils.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreRecurrenceUtils.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreSamDBUtils.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreSamDBUtils.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreSOGo.m increase log level of debug message 2014-07-29 18:25:46 +02:00
MAPIStoreSOGoObject.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreSOGoObject.m Commented out allocation/deallocation debugging code 2012-10-23 23:58:39 -04:00
MAPIStoreTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTable.m Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
MAPIStoreTasksContext.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTasksContext.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTasksFolder.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTasksFolder.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTasksMessage.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTasksMessage.m Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
MAPIStoreTasksMessageTable.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTasksMessageTable.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
MAPIStoreTypes.h Added BSON encoder/decoder for Outlook cache files. 2013-02-18 16:28:06 -05:00
MAPIStoreTypes.m Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
MAPIStoreUserContext.h oc: cached usercontext updates indexing_context 2014-11-19 17:12:28 +01:00
MAPIStoreUserContext.m oc: cached usercontext updates indexing_context 2014-11-19 17:12:28 +01:00
NSArray+MAPIStore.h struct UI8Array_r replaces struct I8Array_r 2012-10-05 09:59:45 -04:00
NSArray+MAPIStore.m struct UI8Array_r replaces struct I8Array_r 2012-10-05 09:59:45 -04:00
NSData+MAPIStore.h Monotone-Parent: c61e2dc9a2d1575387224156c338b5517bdcbae1 2012-08-21 20:39:46 +00:00
NSData+MAPIStore.m Avoid type-issues generating wrong GlobCnt - leading to OpenChange crashes during the sync process. 2013-09-18 14:03:07 -04:00
NSDate+MAPIStore.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
NSDate+MAPIStore.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
NSObject+MAPIStore.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
NSObject+MAPIStore.m oc/TallocWrapper: don't handle Threading initialization here 2014-07-02 15:20:51 +02:00
NSObject+PropertyList.h oc/utils: Make "plext" category publicly visible 2014-07-02 15:19:47 +02:00
NSObject+PropertyList.m oc/utils: Make "plext" category publicly visible 2014-07-02 15:19:47 +02:00
NSString+MAPIStore.h Monotone-Parent: f643d3c57f70e9da6cd4bbc6b07967927a9a0d53 2012-09-06 20:54:29 +00:00
NSString+MAPIStore.m Much better fix over previous commit. 2013-02-19 15:54:52 -05:00
NSValue+MAPIStore.h Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
NSValue+MAPIStore.m Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097 2012-08-17 19:04:57 +00:00
plreader.m oc/utils: Move OCDumpPListData() function into plreader - this is the only user for this function 2014-07-02 15:19:31 +02:00
product.plist Monotone-Parent: e8f76b9dd2119efe8f7197fb78f29b022c901b71 2010-11-18 22:13:45 +00:00
RTFHandler.h Replaced unrtf by our own RTF to HTML converter. 2013-03-26 19:32:08 -04:00
RTFHandler.m oc-rtf: control words can also have a space before next tag 2014-11-19 17:12:28 +01:00
samba-get-config.py oc: Set log level to 0 in samba-get-config script - it is very chatty during builds 2014-11-19 17:12:27 +01:00
SOGoCacheGCSObject+MAPIStore.h Updated code to use the category 2014-05-13 21:14:57 -04:00
SOGoCacheGCSObject+MAPIStore.m Updated code to use the category 2014-05-13 21:14:57 -04:00
SOGoMAPIDBMessage.h Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
SOGoMAPIDBMessage.m Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00