View | Details | Raw Unified | Return to bug 204618 | Differences between
and this patch

Collapse All | Expand All

(-)sogo/Makefile (-3 / +6 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/www/sogo/Makefile 400146 2015-10-25 06:49:11Z pi $
2
# $FreeBSD: head/www/sogo/Makefile 400146 2015-10-25 06:49:11Z pi $
3
3
4
PORTNAME=		sogo
4
PORTNAME=		sogo
5
PORTVERSION=		2.3.2
5
PORTVERSION=		2.3.3
6
PORTREVISION=		2
7
CATEGORIES=		www gnustep
6
CATEGORIES=		www gnustep
8
MASTER_SITES=		http://www.sogo.nu/files/downloads/SOGo/Sources/
7
MASTER_SITES=		http://www.sogo.nu/files/downloads/SOGo/Sources/
9
DISTNAME=		SOGo-${PORTVERSION}
8
DISTNAME=		SOGo-${PORTVERSION}
Lines 20-26 Link Here
20
OPTIONS_DEFINE=		ACTIVESYNC
19
OPTIONS_DEFINE=		ACTIVESYNC
21
OPTIONS_SUB=		yes
20
OPTIONS_SUB=		yes
22
21
23
ACTIVESYNC_DESC=	Enable support for ActiveSync protocol (Experimental)
22
ACTIVESYNC_DESC=	Enable support for ActiveSync protocol
24
23
25
ACTIVESYNC_LIB_DEPENDS=	libwbxml2.so:${PORTSDIR}/textproc/wbxml2
24
ACTIVESYNC_LIB_DEPENDS=	libwbxml2.so:${PORTSDIR}/textproc/wbxml2
26
25
Lines 31-36 Link Here
31
USE_GNUSTEP=		base build
30
USE_GNUSTEP=		base build
32
USE_LDCONFIG=		${GNUSTEP_LOCAL_LIBRARIES}/sogo
31
USE_LDCONFIG=		${GNUSTEP_LOCAL_LIBRARIES}/sogo
33
32
33
CONFLICTS?=		sogo-activesync-[0-9]*
34
34
USE_RC_SUBR=		sogod
35
USE_RC_SUBR=		sogod
35
36
36
SUB_LIST+=		GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
37
SUB_LIST+=		GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
Lines 55-60 Link Here
55
	${MKDIR} ${STAGEDIR}/var/spool/sogo
56
	${MKDIR} ${STAGEDIR}/var/spool/sogo
56
	${MKDIR} ${STAGEDIR}${ETCDIR}
57
	${MKDIR} ${STAGEDIR}${ETCDIR}
57
	(cp ${WRKSRC}/Scripts/sogo.conf ${STAGEDIR}${ETCDIR}/sogo.conf.sample)
58
	(cp ${WRKSRC}/Scripts/sogo.conf ${STAGEDIR}${ETCDIR}/sogo.conf.sample)
59
	(cp ${WRKSRC}/Apache/SOGo.conf ${STAGEDIR}${ETCDIR}/SOGo-Apache.conf.sample)
60
	(cp ${WRKSRC}/Apache/SOGo-apple-ab.conf ${STAGEDIR}${ETCDIR}/SOGo-apple-ab.Apache.conf.sample)
58
	(cp ${FILESDIR}/expire-autoreply.creds.sample ${STAGEDIR}${ETCDIR}/)
61
	(cp ${FILESDIR}/expire-autoreply.creds.sample ${STAGEDIR}${ETCDIR}/)
59
	(cp ${FILESDIR}/ealarms-notify.creds.sample ${STAGEDIR}${ETCDIR}/)
62
	(cp ${FILESDIR}/ealarms-notify.creds.sample ${STAGEDIR}${ETCDIR}/)
60
	(cp ${FILESDIR}/cron-ealarms-notify.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/)
63
	(cp ${FILESDIR}/cron-ealarms-notify.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/)
(-)sogo/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (SOGo-2.3.2.tar.gz) = 7830e2ad684b54c89a4720edf7e73250a076885a3e25052c093e7894227939ac
1
SHA256 (SOGo-2.3.3.tar.gz) = 9c369f07799d4adfd9981664f342339f487f3873063c981e5c8e057e006f2d96
2
SIZE (SOGo-2.3.2.tar.gz) = 11781695
2
SIZE (SOGo-2.3.3.tar.gz) = 11847195
(-)sogo/files/patch-ActiveSync_GNUmakefile (-1 / +1 lines)
Lines 1-4 Link Here
1
--- ActiveSync/GNUmakefile.orig	2015-09-16 18:41:28 UTC
1
--- ActiveSync/GNUmakefile.orig	2015-11-11 19:25:43 UTC
2
+++ ActiveSync/GNUmakefile
2
+++ ActiveSync/GNUmakefile
3
@@ -34,7 +34,7 @@ ActiveSync_RESOURCE_FILES +=		\
3
@@ -34,7 +34,7 @@ ActiveSync_RESOURCE_FILES +=		\
4
 ADDITIONAL_OBJCFLAGS += -Wno-deprecated-declarations
4
 ADDITIONAL_OBJCFLAGS += -Wno-deprecated-declarations
(-)sogo/files/patch-Main_SOGo+DAV.m (-11 lines)
Lines 1-11 Link Here
1
--- Main/SOGo+DAV.m.orig	2015-09-16 18:41:29 UTC
2
+++ Main/SOGo+DAV.m
3
@@ -267,7 +267,7 @@
4
   NSObject <DOMNodeList> *list;
5
   NSObject <DOMNode> *valueNode;
6
   NSArray *elements;
7
-  NSString *property, *match;
8
+  NSString *property=nil, *match=nil;
9
 
10
   list = [searchElement getElementsByTagName: @"prop"];
11
   if ([list length])
(-)sogo/files/patch-SOPE_GDLContentStore_GCSChannelManager.m (-11 lines)
Lines 1-11 Link Here
1
--- SOPE/GDLContentStore/GCSChannelManager.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/GDLContentStore/GCSChannelManager.m
3
@@ -500,7 +500,7 @@ static NSTimeInterval ChannelCollectionT
4
   ms = [NSMutableString stringWithCapacity: 256];
5
   [ms appendFormat: @"<0x%p[%@]: ", self, NSStringFromClass ([self class])];
6
 
7
-  [ms appendFormat: @" #adaptors=%d", [urlToAdaptor count]];
8
+  [ms appendFormat: @" #adaptors=%d", (int)[urlToAdaptor count]];
9
 
10
   [ms appendString: @">"];
11
   return ms;
(-)sogo/files/patch-SOPE_NGCards_CardElement.m (-11 lines)
Lines 1-11 Link Here
1
--- SOPE/NGCards/CardElement.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/NGCards/CardElement.m
3
@@ -414,7 +414,7 @@
4
   if (group)
5
     [str appendFormat: @"%@ (group: %@)\n", tag, group];
6
   else
7
-    [str appendFormat: @"%@\n", tag, group];
8
+    [str appendFormat: @"%@\n", tag];
9
 
10
   [str appendString: [self versitString]];
11
 
(-)sogo/files/patch-SOPE_NGCards_CardGroup.m (-11 lines)
Lines 1-11 Link Here
1
--- SOPE/NGCards/CardGroup.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/NGCards/CardGroup.m
3
@@ -409,7 +409,7 @@ static NGCardsSaxHandler *sax = nil;
4
   max = [children count];
5
   if (max > 0)
6
     {
7
-      [str appendFormat: @"\n  %d children: {\n", [children count]];
8
+      [str appendFormat: @"\n  %d children: {\n", (int)[children count]];
9
       for (count = 0; count < max; count++)
10
         [str appendFormat: @"  %@\n",
11
              [[children objectAtIndex: count] description]];
(-)sogo/files/patch-SOPE_NGCards_NSCalendarDate+NGCards.m (-24 lines)
Lines 1-24 Link Here
1
--- SOPE/NGCards/NSCalendarDate+NGCards.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/NGCards/NSCalendarDate+NGCards.m
3
@@ -32,16 +32,16 @@
4
 - (NSString *) iCalFormattedDateTimeString
5
 {
6
   return [NSString stringWithFormat: @"%.4d%.2d%.2dT%.2d%.2d%.2d",
7
-                   [self yearOfCommonEra], [self monthOfYear],
8
-                   [self dayOfMonth], [self hourOfDay],
9
-                   [self minuteOfHour], [self secondOfMinute]];
10
+                   (int)[self yearOfCommonEra], (int)[self monthOfYear],
11
+                   (int)[self dayOfMonth], (int)[self hourOfDay],
12
+                   (int)[self minuteOfHour], (int)[self secondOfMinute]];
13
 }
14
 
15
 - (NSString *) iCalFormattedDateString
16
 {
17
   return [NSString stringWithFormat: @"%.4d%.2d%.2d",
18
-                   [self yearOfCommonEra], [self monthOfYear],
19
-                   [self dayOfMonth]];
20
+                   (int)[self yearOfCommonEra], (int)[self monthOfYear],
21
+                   (int)[self dayOfMonth]];
22
 }
23
 
24
 @end
(-)sogo/files/patch-SOPE_NGCards_iCalMonthlyRecurrenceCalculator.m (-20 lines)
Lines 1-20 Link Here
1
--- SOPE/NGCards/iCalMonthlyRecurrenceCalculator.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/NGCards/iCalMonthlyRecurrenceCalculator.m
3
@@ -348,7 +348,7 @@ static inline unsigned iCalDoWForNSDoW (
4
                   if ([byDayMask occursOnDay: currentWeekDay])
5
                     {
6
                       if ([bySetPos containsObject:
7
-                                      [NSString stringWithFormat: @"%d", currentPos]])
8
+                                      [NSString stringWithFormat: @"%d", (int)currentPos]])
9
                         monthDays[monthDay+1] = YES;
10
                       currentPos++;
11
                     }
12
@@ -362,7 +362,7 @@ static inline unsigned iCalDoWForNSDoW (
13
                   if ([byDayMask occursOnDay: currentWeekDay])
14
                     {
15
                       if ([bySetPos containsObject:
16
-                                      [NSString stringWithFormat: @"%d", currentPos]])
17
+                                      [NSString stringWithFormat: @"%d", (int)currentPos]])
18
                         monthDays[monthDay] = YES;
19
                       currentPos--;
20
                     }
(-)sogo/files/patch-SOPE_NGCards_iCalPerson.m (-11 lines)
Lines 1-11 Link Here
1
--- SOPE/NGCards/iCalPerson.m.orig	2015-09-16 18:41:36 UTC
2
+++ SOPE/NGCards/iCalPerson.m
3
@@ -256,7 +256,7 @@
4
 - (BOOL)isEqual:(id)_other {
5
   if(_other == nil)
6
     return NO;
7
-  if([_other class] != self->isa)
8
+  if([_other class] != object_getClass(self))
9
     return NO;
10
   if([_other hash] != [self hash])
11
     return NO;
(-)sogo/files/patch-SOPE_NGCards_iCalRecurrenceRule.m (-15 lines)
Lines 1-15 Link Here
1
--- SOPE/NGCards/iCalRecurrenceRule.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/NGCards/iCalRecurrenceRule.m
3
@@ -309,10 +309,10 @@ NSString *iCalWeekDayString[] = { @"SU",
4
       else if ([frequency isEqualToString:@"SECONDLY"])
5
 	freq = iCalRecurrenceFrequenceSecondly;
6
       else
7
-	freq = NSNotFound;
8
+	freq = (iCalRecurrenceFrequency) NSNotFound;
9
     }
10
   else
11
-    freq = NSNotFound;
12
+    freq = (iCalRecurrenceFrequency) NSNotFound;
13
 
14
   return freq;
15
 }
(-)sogo/files/patch-SOPE_NGCards_versitCardsSaxDriver_VSSaxDriver.m (-20 lines)
Lines 1-20 Link Here
1
--- SOPE/NGCards/versitCardsSaxDriver/VSSaxDriver.m.orig	2015-09-16 18:41:29 UTC
2
+++ SOPE/NGCards/versitCardsSaxDriver/VSSaxDriver.m
3
@@ -1045,7 +1045,7 @@ static NSCharacterSet *whitespaceCharSet
4
   if (debugOn)
5
     {
6
       NSLog(@"%s: trying to decode data (0x%p,len=%d) ...",
7
-	    __PRETTY_FUNCTION__, _data, [_data length]);
8
+	    __PRETTY_FUNCTION__, _data, (int)[_data length]);
9
     }
10
   
11
   if ((len = [_data length]) == 0)
12
@@ -1164,7 +1164,7 @@ static NSCharacterSet *whitespaceCharSet
13
   if (debugOn)
14
     {
15
       NSLog(@"%s: trying to parse string (0x%p,len=%d) ...",
16
-            __PRETTY_FUNCTION__, _source, [_source length]);
17
+            __PRETTY_FUNCTION__, _source, (int)[_source length]);
18
     }
19
   if (!_sysId) _sysId = @"<string>";
20
   [self _parseString: _source];
(-)sogo/files/patch-SoObjects_Appointments_MSExchangeFreeBusy.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Appointments/MSExchangeFreeBusy.m.orig	2015-09-16 18:41:29 UTC
2
+++ SoObjects/Appointments/MSExchangeFreeBusy.m
3
@@ -344,7 +344,7 @@ size_t curl_body_function_freebusy(void 
4
   NSMutableString *s;
5
 
6
   s = [NSMutableString stringWithCapacity: 64];
7
-  [s appendFormat:@"<0x%08X[%@]:", self, NSStringFromClass([self class])];
8
+  [s appendFormat:@"<0x%08X[%@]:", (unsigned int)self, NSStringFromClass([self class])];
9
   if (freeBusyViewType)
10
     [s appendFormat:@" freeBusyViewType='%@'", freeBusyViewType];
11
   if (mergedFreeBusy)
(-)sogo/files/patch-SoObjects_Appointments_SOGoAppointmentFolder.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Appointments/SOGoAppointmentFolder.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Appointments/SOGoAppointmentFolder.m
3
@@ -2387,7 +2387,7 @@ firstInstanceCalendarDateRange: (NGCalen
4
   request = [context request];
5
   if (!([request isIPhone] || [request isICal4]))
6
     {
7
-      gdRT = [self groupDavResourceType];
8
+      gdRT = (NSArray *) [self groupDavResourceType];
9
       gdVEventCol = [NSArray arrayWithObjects: [gdRT objectAtIndex: 0],
10
                   XMLNS_GROUPDAV, nil];
11
       [colType addObject: gdVEventCol];
(-)sogo/files/patch-SoObjects_Appointments_SOGoAppointmentObject.m (-64 lines)
Lines 1-64 Link Here
1
--- SoObjects/Appointments/SOGoAppointmentObject.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Appointments/SOGoAppointmentObject.m
3
@@ -45,6 +45,7 @@
4
 #import <NGCards/iCalDateTime.h>
5
 #import <NGCards/iCalTimeZone.h>
6
 #import <NGCards/iCalTimeZonePeriod.h>
7
+#import <NGCards/iCalToDo.h>
8
 #import <NGCards/NSString+NGCards.h>
9
 
10
 #import <SOGo/SOGoConstants.h>
11
@@ -747,11 +748,14 @@ inRecurrenceExceptionsForEvent: (iCalEve
12
     {
13
       e = [events objectAtIndex: i];
14
       if ([e recurrenceId])
15
-        for (j = 0; j < [theAttendees count]; j++)
16
-          if (shouldAdd)
17
+        for (j = 0; j < [theAttendees count]; j++) {
18
+          if (shouldAdd) {
19
             [e addToAttendees: [theAttendees objectAtIndex: j]];
20
-          else
21
+          }
22
+          else {
23
             [e removeFromAttendees: [theAttendees objectAtIndex: j]];
24
+          }
25
+        }
26
     }
27
 }
28
 
29
@@ -1037,7 +1041,7 @@ inRecurrenceExceptionsForEvent: (iCalEve
30
           if ([delegateEmail length])
31
             otherDelegate = [event findAttendeeWithEmail: delegateEmail];
32
           else
33
-            otherDelegate = NO;
34
+            otherDelegate = nil;
35
           
36
           /* we handle the addition/deletion of delegate users */
37
           addDelegate = NO;
38
@@ -1075,7 +1079,7 @@ inRecurrenceExceptionsForEvent: (iCalEve
39
                   if ([delegateEmail length])
40
                     otherDelegate = [event findAttendeeWithEmail: delegateEmail];
41
                   else
42
-                    otherDelegate = NO;
43
+                    otherDelegate = nil;
44
                 }
45
             }
46
           if (addDelegate)
47
@@ -1232,7 +1236,7 @@ inRecurrenceExceptionsForEvent: (iCalEve
48
               if ([delegateEmail length])
49
                 otherDelegate = [event findAttendeeWithEmail: delegateEmail];
50
               else
51
-                otherDelegate = NO;
52
+                otherDelegate = nil;
53
             }
54
           
55
           [self sendEMailUsingTemplateNamed: @"Deletion"
56
@@ -1990,7 +1994,7 @@ inRecurrenceExceptionsForEvent: (iCalEve
57
       if ([container resourceNameForEventUID: eventUID])
58
         {
59
           return [NSException exceptionWithHTTPStatus: 403
60
-                                               reason: [NSString stringWithFormat: @"Event UID already in use. (%s)", eventUID]];
61
+                                               reason: [NSString stringWithFormat: @"Event UID already in use. (%s)", (char *)eventUID]];
62
         }
63
      
64
       //
(-)sogo/files/patch-SoObjects_Appointments_SOGoCalendarComponent.m (-25 lines)
Lines 1-25 Link Here
1
--- SoObjects/Appointments/SOGoCalendarComponent.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Appointments/SOGoCalendarComponent.m
3
@@ -140,6 +140,13 @@
4
   return aclManager;
5
 }
6
 
7
+- (NSException *) changeParticipationStatus: (NSString *) newPartStat
8
+                               withDelegate: (iCalPerson *) delegate
9
+                                      alarm: (iCalAlarm *) alarm;
10
+{
11
+  return nil;
12
+}
13
+
14
 - (id) init
15
 {
16
   if ((self = [super init]))
17
@@ -171,7 +178,7 @@
18
 
19
 - (Class *) parsingClass
20
 {
21
-  return [iCalCalendar class];
22
+  return (Class *) [iCalCalendar class];
23
 }
24
 
25
 - (NSString *) davContentType
(-)sogo/files/patch-SoObjects_Appointments_iCalAlarm+SOGo.m (-14 lines)
Lines 1-14 Link Here
1
--- SoObjects/Appointments/iCalAlarm+SOGo.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Appointments/iCalAlarm+SOGo.m
3
@@ -102,9 +102,9 @@
4
         }
5
       
6
       if ([reminderReference caseInsensitiveCompare: @"BEFORE"] == NSOrderedSame)
7
-        aValue = [NSString stringWithString: @"-P"];
8
+        aValue = (NSString *) @"-P";
9
       else
10
-        aValue = [NSString stringWithString: @"P"];
11
+        aValue = (NSString *) @"P";
12
       
13
       if ([reminderUnit caseInsensitiveCompare: @"MINUTES"] == NSOrderedSame ||
14
           [reminderUnit caseInsensitiveCompare: @"HOURS"] == NSOrderedSame)
(-)sogo/files/patch-SoObjects_Appointments_iCalEvent+SOGo.h (-6 lines)
Lines 1-11 Link Here
1
--- SoObjects/Appointments/iCalEvent+SOGo.h.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Appointments/iCalEvent+SOGo.h
3
@@ -28,7 +28,7 @@
4
 @interface iCalEvent (SOGoExtensions)
5
 
6
 - (BOOL) isStillRelevant;
(-)sogo/files/patch-SoObjects_Appointments_iCalEvent+SOGo.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Appointments/iCalEvent+SOGo.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Appointments/iCalEvent+SOGo.m
3
@@ -259,7 +259,7 @@
4
 
5
 - (NSTimeInterval) occurenceInterval
6
 {
7
-  return [[self endDate] timeIntervalSinceDate: [self startDate]];
8
+  return (NSTimeInterval) [[self endDate] timeIntervalSinceDate: [self startDate]];
9
 }
10
 
11
 /**
(-)sogo/files/patch-SoObjects_Contacts_NGVCard+SOGo.m (-26 lines)
Lines 1-26 Link Here
1
--- SoObjects/Contacts/NGVCard+SOGo.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Contacts/NGVCard+SOGo.m
3
@@ -297,7 +297,7 @@ convention:
4
 
5
   if (year && month && day)
6
     [self setBday: [NSString stringWithFormat: @"%.4d-%.2d-%.2d",
7
-                             year, month, day]];
8
+                             (int)year, (int)month, (int)day]];
9
   else
10
     [self setBday: @""];
11
 
12
@@ -614,11 +614,11 @@ convention:
13
   birthDay = [[self bday] asCalendarDate];
14
   if (birthDay)
15
     {
16
-      stringValue = [NSString stringWithFormat: @"%.4d", [birthDay yearOfCommonEra]];
17
+      stringValue = [NSString stringWithFormat: @"%.4d", (int)[birthDay yearOfCommonEra]];
18
       [self _setValue: @"birthyear" to: stringValue inLDIFRecord: ldifRecord];
19
-      stringValue = [NSString stringWithFormat: @"%.2d", [birthDay monthOfYear]];
20
+      stringValue = [NSString stringWithFormat: @"%.2d", (int)[birthDay monthOfYear]];
21
       [self _setValue: @"birthmonth" to: stringValue inLDIFRecord: ldifRecord];
22
-      stringValue = [NSString stringWithFormat: @"%.2d", [birthDay dayOfMonth]];
23
+      stringValue = [NSString stringWithFormat: @"%.2d", (int)[birthDay dayOfMonth]];
24
       [self _setValue: @"birthday" to: stringValue inLDIFRecord: ldifRecord];
25
     }
26
   [self _setValue: @"description" to: [self note] inLDIFRecord: ldifRecord];
(-)sogo/files/patch-SoObjects_Contacts_SOGoContactEntryPhoto.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Contacts/SOGoContactEntryPhoto.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Contacts/SOGoContactEntryPhoto.m
3
@@ -59,7 +59,7 @@
4
 
5
       [response setHeader: [self davContentType] forKey: @"content-type"];
6
       [response setHeader: [NSString stringWithFormat:@" %d",
7
-                                     [data length]]
8
+                                     (int)[data length]]
9
                    forKey: @"content-length"];
10
       [response setContent: data];
11
     }
(-)sogo/files/patch-SoObjects_Contacts_SOGoContactFolders.m (-15 lines)
Lines 1-15 Link Here
1
--- SoObjects/Contacts/SOGoContactFolders.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Contacts/SOGoContactFolders.m
3
@@ -268,9 +268,9 @@ Class SOGoContactSourceFolderK;
4
   SOGoUser *currentUser;
5
   id <SOGoSource> source;
6
 
7
-  if ([sourceID isEqualToString: @"personal"])
8
-    result = [NSException exceptionWithHTTPStatus: 403
9
-                                           reason: (@"folder '%@' cannot be deleted", sourceID)];
10
+  if ([sourceID isEqualToString: @"personal"]){
11
+    result = [NSException exceptionWithHTTPStatus: 403 reason: [NSString stringWithFormat: (@"folder '%@' cannot be deleted"), sourceID]];
12
+  }
13
   else
14
     {
15
       result = nil;
(-)sogo/files/patch-SoObjects_Contacts_SOGoContactGCSEntry.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Contacts/SOGoContactGCSEntry.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Contacts/SOGoContactGCSEntry.m
3
@@ -50,7 +50,7 @@
4
 
5
 - (Class *) parsingClass
6
 {
7
-  return [NGVCard class];
8
+  return (Class *)[NGVCard class];
9
 }
10
 
11
 /* content */
(-)sogo/files/patch-SoObjects_Contacts_SOGoContactGCSList.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Contacts/SOGoContactGCSList.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Contacts/SOGoContactGCSList.m
3
@@ -45,7 +45,7 @@
4
 
5
 - (Class *) parsingClass
6
 {
7
-  return [NGVList class];
8
+  return (Class *)[NGVList class];
9
 }
10
 
11
 
(-)sogo/files/patch-SoObjects_Contacts_SOGoContactSourceFolder.m (-20 lines)
Lines 1-20 Link Here
1
--- SoObjects/Contacts/SOGoContactSourceFolder.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Contacts/SOGoContactSourceFolder.m
3
@@ -94,7 +94,7 @@
4
     {
5
       if (![newDisplayName length])
6
         newDisplayName = newName;
7
-      ASSIGN (displayName, newDisplayName);
8
+      ASSIGN (displayName, [newDisplayName mutableCopy]);
9
     }
10
 
11
   return self;
12
@@ -657,7 +657,7 @@
13
   BOOL otherIsPersonal;
14
 
15
   otherIsPersonal = ([otherFolder isKindOfClass: [SOGoContactGCSFolder class]]
16
-                     || ([otherFolder isKindOfClass: isa] && [otherFolder isPersonalSource]));
17
+                     || ([otherFolder isKindOfClass: object_getClass(self)] && [otherFolder isPersonalSource]));
18
 
19
   if (isPersonalSource)
20
     {
(-)sogo/files/patch-SoObjects_Mailer_NSDictionary+Mail.m (-10 lines)
Lines 1-10 Link Here
1
--- SoObjects/Mailer/NSDictionary+Mail.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Mailer/NSDictionary+Mail.m
3
@@ -20,6 +20,7 @@
4
 
5
 #import <Foundation/NSDictionary.h>
6
 #import <Foundation/NSString.h>
7
+#import <NGExtensions/NSString+misc.h>
8
 
9
 #import "NSDictionary+Mail.h"
10
 
(-)sogo/files/patch-SoObjects_Mailer_NSString+Mail.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Mailer/NSString+Mail.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Mailer/NSString+Mail.m
3
@@ -533,7 +533,7 @@
4
   messageID = [NSMutableString string];
5
   [messageID appendFormat: @"<%@", [SOGoObject globallyUniqueObjectId]];
6
   pGUID = [[NSProcessInfo processInfo] globallyUniqueString];
7
-  [messageID appendFormat: @"@%u>", [pGUID hash]];
8
+  [messageID appendFormat: @"@%u>", (unsigned int)[pGUID hash]];
9
 
10
   return [messageID lowercaseString];
11
 }
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailAccounts.m (-28 lines)
Lines 1-28 Link Here
1
--- SoObjects/Mailer/SOGoMailAccounts.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Mailer/SOGoMailAccounts.m
3
@@ -41,6 +41,8 @@
4
 
5
 #define XMLNS_INVERSEDAV @"urn:inverse:params:xml:ns:inverse-dav"
6
 
7
+// TODO: prune redundant methods
8
+
9
 @implementation SOGoMailAccounts
10
 
11
 - (NSArray *) mailAccounts
12
@@ -206,6 +208,9 @@
13
 </D:multistatus>
14
 
15
 */
16
+
17
+/* No longer in use, causes objc-method-access warning
18
+
19
 - (NSException *) setDavMailsLabels: (NSString *) newLabels
20
 {
21
   id <DOMElement> documentElement, labelNode;
22
@@ -253,5 +258,6 @@
23
 
24
   return nil;
25
 }
26
+*/
27
 
28
 @end /* SOGoMailAccounts */
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailBaseObject.m (-14 lines)
Lines 1-14 Link Here
1
--- SoObjects/Mailer/SOGoMailBaseObject.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Mailer/SOGoMailBaseObject.m
3
@@ -32,9 +32,11 @@
4
 #import <NGExtensions/NSString+misc.h>
5
 #import <NGExtensions/NSURL+misc.h>
6
 #import <NGImap4/NGImap4Connection.h>
7
+#import <NGImap4/NGImap4Client.h>
8
 
9
 #import <SOGo/SOGoCache.h>
10
 #import <SOGo/SOGoUser.h>
11
+#import <SOGo/WORequest+SOGo.h>
12
 
13
 #import "SOGoMailAccount.h"
14
 #import "SOGoMailManager.h"
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailBodyPart.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Mailer/SOGoMailBodyPart.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Mailer/SOGoMailBodyPart.m
3
@@ -396,7 +396,7 @@ static BOOL debugOn = NO;
4
 	    mimeType = @"application/octet-stream";
5
 	  
6
 	  [response setHeader: mimeType forKey: @"content-type"];
7
-	  [response setHeader: [NSString stringWithFormat:@"%d", [data length]]
8
+	  [response setHeader: [NSString stringWithFormat:@"%d", (int)[data length]]
9
 		    forKey: @"content-length"];
10
   
11
 	  if (asAttachment)
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailFolder.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Mailer/SOGoMailFolder.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Mailer/SOGoMailFolder.m
3
@@ -1645,7 +1645,7 @@ _compareFetchResultsByMODSEQ (id entry1,
4
 
5
   sortOrderings = [NSMutableArray array];
6
 
7
-  if ([self _sortElementIsAscending: sortElement])
8
+  if ([self _sortElementIsAscending: (NGDOMNodeWithChildren <DOMElement> *)sortElement])
9
     sortOrderingOrder = EOCompareAscending;
10
   else
11
     sortOrderingOrder = EOCompareDescending;
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailForward.m (-15 lines)
Lines 1-15 Link Here
1
--- SoObjects/Mailer/SOGoMailForward.m.orig	2015-09-16 18:41:30 UTC
2
+++ SoObjects/Mailer/SOGoMailForward.m
3
@@ -73,10 +73,10 @@
4
 
5
 - (NSString *) newLine
6
 {
7
-  NSString *rc = [NSString stringWithString: @" "];
8
+  NSString *rc = @" ";
9
   
10
   if (htmlComposition)
11
-    rc = [NSString stringWithString: @"<br/>"];
12
+    rc = @"<br/>";
13
 
14
   return rc;
15
 }
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailLabel.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/Mailer/SOGoMailLabel.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Mailer/SOGoMailLabel.m
3
@@ -74,7 +74,7 @@
4
   int i;
5
 
6
   allLabels = [NSMutableArray array];
7
-  allKeys = [[theDefaults allKeys] sortedArrayUsingSelector: @selector (caseInsensitiveCompare:)];
8
+  allKeys = [[[theDefaults allKeys] sortedArrayUsingSelector: @selector (caseInsensitiveCompare:)] mutableCopy];
9
   
10
   for (i = 0; i < [allKeys count]; i++)
11
     {
(-)sogo/files/patch-SoObjects_Mailer_SOGoMailObject.m (-46 lines)
Lines 1-46 Link Here
1
--- SoObjects/Mailer/SOGoMailObject.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/Mailer/SOGoMailObject.m
3
@@ -765,7 +765,7 @@ static BOOL debugSoParts       = NO;
4
 		       [part objectForKey: @"type"],
5
 		       [part objectForKey: @"subtype"]];
6
 
7
-  if (!filename)
8
+  if (!filename) {
9
       // We might end up here because of MUA that actually strips the
10
       // Content-Disposition (and thus, the filename) when mails containing
11
       // attachments have been forwarded. Thunderbird (2.x) does just that
12
@@ -773,10 +773,14 @@ static BOOL debugSoParts       = NO;
13
       if ([mimeType hasPrefix: @"application/"] ||
14
 	  [mimeType hasPrefix: @"audio/"] ||
15
 	  [mimeType hasPrefix: @"image/"] ||
16
-	  [mimeType hasPrefix: @"video/"])
17
+	  [mimeType hasPrefix: @"video/"]) {
18
           filename = [NSString stringWithFormat: @"unknown_%@", path];
19
-      else if ([mimeType isEqualToString: @"message/rfc822"])
20
-        filename = [NSString stringWithFormat: @"email_%@.eml", path];
21
+      }
22
+      else {
23
+        if ([mimeType isEqualToString: @"message/rfc822"])
24
+          filename = [NSString stringWithFormat: @"email_%@.eml", path];
25
+      }
26
+  }
27
   
28
 
29
   if (filename)
30
@@ -820,13 +824,13 @@ static BOOL debugSoParts       = NO;
31
 	{
32
 	  currentPart = [subparts objectAtIndex: i-1];
33
 	  if (path)
34
-	    newPath = [NSString stringWithFormat: @"%@.%d", path, i];
35
+	    newPath = [NSString stringWithFormat: @"%@.%d", path, (int)i];
36
 	  else
37
-	    newPath = [NSString stringWithFormat: @"%d", i];
38
+	    newPath = [NSString stringWithFormat: @"%d", (int)i];
39
 	  [self _fetchFileAttachmentKeysInPart: currentPart
40
                                      intoArray: keys
41
                                       withPath: newPath
42
-                                     andPrefix: [NSString stringWithFormat: @"%@/%i", prefix, i]];
43
+                                     andPrefix: [NSString stringWithFormat: @"%@/%i", prefix, (int)i]];
44
 	}
45
     }
46
   else
(-)sogo/files/patch-SoObjects_SOGo_BSONCodec.m (-20 lines)
Lines 1-20 Link Here
1
--- SoObjects/SOGo/BSONCodec.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/BSONCodec.m
3
@@ -310,7 +310,7 @@ static NSDictionary *BSONTypes()
4
 
5
 		case 'q': return 0x12;
6
 		default:
7
-			[NSException raise: NSInvalidArgumentException format: @"%@::%s - invalid encoding type '%c'", [self class], _cmd, encoding];
8
+			[NSException raise: NSInvalidArgumentException format: @"%@::%s - invalid encoding type '%c'", [self class], (char *)NSStringFromSelector(_cmd), encoding];
9
 	}
10
 	return 0;
11
 }
12
@@ -385,7 +385,7 @@ static NSDictionary *BSONTypes()
13
 	}
14
 
15
 
16
-	[NSException raise: NSInvalidArgumentException format: @"%@::%s - invalid encoding type '%c'", [self class], _cmd, encoding];
17
+	[NSException raise: NSInvalidArgumentException format: @"%@::%s - invalid encoding type '%c'", [self class], (char *)NSStringFromSelector(_cmd), encoding];
18
 	return nil;
19
 }
20
 
(-)sogo/files/patch-SoObjects_SOGo_LDAPSource.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/LDAPSource.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/LDAPSource.m
3
@@ -1703,7 +1703,7 @@ _makeLDAPChanges (NGLdapConnection *ldap
4
                             hostname: hostname
5
                                 port: [NSString stringWithFormat: @"%d", port]
6
                           encryption: encryption
7
-                   bindAsCurrentUser: NO];
8
+                   bindAsCurrentUser: [NSString stringWithFormat: @"%d", NO]];
9
               [ab                     setBaseDN: [entry dn]
10
                                         IDField: @"cn"
11
                                         CNField: @"displayName"
(-)sogo/files/patch-SoObjects_SOGo_NSCalendarDate+SOGo.m (-28 lines)
Lines 1-28 Link Here
1
--- SoObjects/SOGo/NSCalendarDate+SOGo.m.orig	2015-09-16 18:41:36 UTC
2
+++ SoObjects/SOGo/NSCalendarDate+SOGo.m
3
@@ -88,9 +88,9 @@ static NSString *rfc822Months[] = {@"", 
4
   NSString *str;
5
 
6
   str = [NSString stringWithFormat: @"%.4d%.2d%.2d",
7
-                  [self yearOfCommonEra],
8
-                  [self monthOfYear],
9
-                  [self dayOfMonth]];
10
+                  (int)[self yearOfCommonEra],
11
+                  (int)[self monthOfYear],
12
+                  (int)[self dayOfMonth]];
13
 
14
   return str;
15
 }
16
@@ -107,9 +107,9 @@ static NSString *rfc822Months[] = {@"", 
17
 
18
   return
19
     [NSString stringWithFormat: @"%@, %.2d %@ %d %.2d:%.2d:%.2d %+.4d",
20
-	      rfc822Days[[self dayOfWeek]], [self dayOfMonth],
21
-	      rfc822Months[[self monthOfYear]], [self yearOfCommonEra],
22
-	      [self hourOfDay], [self minuteOfHour], [self secondOfMinute],
23
+	      rfc822Days[[self dayOfWeek]], (int)[self dayOfMonth],
24
+	      rfc822Months[[self monthOfYear]], (int)[self yearOfCommonEra],
25
+	      (int)[self hourOfDay], (int)[self minuteOfHour], (int)[self secondOfMinute],
26
 	      timeZoneShift];
27
 }
28
 
(-)sogo/files/patch-SoObjects_SOGo_NSData+Crypto.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/NSData+Crypto.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/NSData+Crypto.m
3
@@ -23,7 +23,7 @@
4
  * Boston, MA 02111-1307, USA.
5
  */
6
 
7
-#ifndef __OpenBSD__
8
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
9
 #include <crypt.h>
10
 #endif
11
 
(-)sogo/files/patch-SoObjects_SOGo_NSDictionary+DAV.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/NSDictionary+DAV.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/NSDictionary+DAV.m
3
@@ -46,7 +46,7 @@
4
 {
5
   NSString *newTag;
6
 
7
-  newTag = [NSString stringWithFormat: @"n%d", [namespaces count]];
8
+  newTag = [NSString stringWithFormat: @"n%d", (int)[namespaces count]];
9
   [namespaces setObject: newTag forKey: newNS];
10
 
11
   return newTag;
(-)sogo/files/patch-SoObjects_SOGo_NSString+Utilities.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/NSString+Utilities.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/NSString+Utilities.m
3
@@ -309,7 +309,7 @@ static int cssEscapingCount;
4
           c == 0xD ||
5
           (c >= 0x20 && c <= 0xD7FF) ||
6
           (c >= 0xE000 && c <= 0xFFFD) ||
7
-          (c >= 0x10000 && c <= 0x10FFFF))
8
+          (c >= (unichar)0x10000 && c <= (unichar)0x10FFFF))
9
         {
10
           *(start+j) = c;
11
           j++;
(-)sogo/files/patch-SoObjects_SOGo_SOGoCache.h (-10 lines)
Lines 1-10 Link Here
1
--- SoObjects/SOGo/SOGoCache.h.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoCache.h
3
@@ -21,6 +21,7 @@
4
 #ifndef SOGOCACHE_H
5
 #define SOGOCACHE_H
6
 
7
+#import <Foundation/Foundation.h>
8
 #import <Foundation/NSObject.h>
9
 
10
 #include <libmemcached/memcached.h>
(-)sogo/files/patch-SoObjects_SOGo_SOGoCacheGCSFolder.h (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/SOGoCacheGCSFolder.h.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoCacheGCSFolder.h
3
@@ -40,6 +40,8 @@
4
 
5
 - (NSMutableString *) pathForChild: (NSString *) childName;
6
 
7
+- (void) addUserInAcls: (NSString *) user;
8
+
9
 - (NSArray *) toOneRelationshipKeys;
10
 - (NSArray *) toManyRelationshipKeys;
11
 
(-)sogo/files/patch-SoObjects_SOGo_SOGoCacheGCSFolder.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/SOGoCacheGCSFolder.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoCacheGCSFolder.m
3
@@ -364,7 +364,7 @@ Class SOGoCacheGCSObjectK = Nil;
4
   if (record)
5
     {
6
       if ([[record objectForKey: @"c_type"] intValue] == MAPIFolderCacheObject)
7
-        objectClass = isa;
8
+        objectClass = object_getClass(self);
9
       else
10
         objectClass = SOGoCacheGCSObjectK;
11
 
(-)sogo/files/patch-SoObjects_SOGo_SOGoCacheGCSObject.m (-68 lines)
Lines 1-68 Link Here
1
--- SoObjects/SOGo/SOGoCacheGCSObject.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoCacheGCSObject.m
3
@@ -87,7 +87,7 @@ static EOAttribute *textColumn = nil;
4
     {
5
       tableUrl = nil;
6
       initialized = NO;
7
-      objectType = -1;
8
+      objectType = (SOGoCacheObjectType) -1;
9
       deleted = NO;
10
       version = 0;
11
     }
12
@@ -383,7 +383,7 @@ static EOAttribute *textColumn = nil;
13
                            @"SELECT * FROM %@ WHERE c_path = %@",
14
                          tableName, pathValue];
15
   if (startVersion > -1)
16
-    [sql appendFormat: @" AND c_version > %d", startVersion];
17
+    [sql appendFormat: @" AND c_version > %d", (int)startVersion];
18
 
19
   /* execution */
20
   records = [self performSQLQuery: sql];
21
@@ -411,18 +411,16 @@ static EOAttribute *textColumn = nil;
22
 
23
   tableName = [self tableName];
24
   adaptor = [self tableChannelAdaptor];
25
-  pathValue = [adaptor formatValue: [NSString stringWithFormat: @"/%@", deviceId]
26
-                      forAttribute: textColumn];
27
 
28
   /* query */
29
   sql = [NSMutableString stringWithFormat:
30
                            @"SELECT * FROM %@ WHERE c_type = %d AND c_deleted <> 1", tableName, objectType];
31
 
32
   if (startVersion > -1)
33
-    [sql appendFormat: @" AND c_version > %d", startVersion];
34
+    [sql appendFormat: @" AND c_version > %d", (int)startVersion];
35
 
36
   if (deviceId) {
37
-    pathValue = [adaptor formatValue: [NSString stringWithFormat: @"/%@%", deviceId]
38
+    pathValue = [adaptor formatValue: [NSString stringWithFormat: @"/%@", deviceId]
39
                       forAttribute: textColumn];
40
     [sql appendFormat: @" AND c_path like %@", pathValue];
41
   }
42
@@ -546,7 +544,7 @@ static EOAttribute *textColumn = nil;
43
   
44
   lastModifiedValue = (NSInteger) [lastModified timeIntervalSince1970];
45
   
46
-  if (objectType == -1)
47
+  if (objectType == (SOGoCacheObjectType) -1)
48
     [NSException raise: @"SOGoCacheIOException"
49
                 format: @"object type has not been set for object '%@'",
50
                  self];
51
@@ -576,7 +574,7 @@ static EOAttribute *textColumn = nil;
52
                          @")"),
53
                       tableName,
54
                       pathValue, parentPathValue, objectType,
55
-                      creationDateValue, lastModifiedValue,
56
+                      (int)creationDateValue, (int)lastModifiedValue,
57
                       propsValue];
58
       isNew = NO;
59
     }
60
@@ -590,7 +588,7 @@ static EOAttribute *textColumn = nil;
61
                          @"      c_version = %d, c_content = %@"
62
                          @" WHERE c_path = %@"),
63
                       tableName,
64
-                      lastModifiedValue, deletedValue, version, propsValue,
65
+                      (int)lastModifiedValue, (int)deletedValue, (int)version, propsValue,
66
                     pathValue];
67
     }
68
 
(-)sogo/files/patch-SoObjects_SOGo_SOGoCacheObject.h (-6 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/SOGoCacheObject.h.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoCacheObject.h
3
@@ -42,8 +42,6 @@
4
 - (NSCalendarDate *) creationDate;
5
 - (NSCalendarDate *) lastModified;
6
 
(-)sogo/files/patch-SoObjects_SOGo_SOGoContentObject.m (-39 lines)
Lines 1-39 Link Here
1
--- SoObjects/SOGo/SOGoContentObject.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoContentObject.m
3
@@ -94,7 +94,7 @@
4
 {
5
   [self subclassResponsibility: _cmd];
6
   
7
-  return nil;
8
+  return (Class *) nil;
9
 }
10
 
11
 - (void) _setRecord: (NSDictionary *) objectRecord
12
@@ -254,6 +254,9 @@
13
 - (NSException *) moveToFolder: (SOGoGCSFolder *) newFolder
14
 {
15
   [self subclassResponsibility: _cmd];
16
+
17
+  // TODO: Add exception handling code and return it
18
+  return (NSException *) nil;
19
 }
20
 
21
 - (NSException *) delete
22
@@ -345,7 +348,7 @@
23
 
24
       /* attempt a save */
25
       
26
-      error = [self saveComponent: [[self parsingClass] parseSingleFromSource: [rq contentAsString]]
27
+      error = [self saveComponent: [(id)[self parsingClass] parseSingleFromSource: [rq contentAsString]]
28
                       baseVersion: baseVersion];
29
       if (error)
30
 	response = (WOResponse *) error;
31
@@ -410,7 +413,7 @@
32
   else
33
     length = 0;
34
 
35
-  return [NSString stringWithFormat: @"%u", length];
36
+  return [NSString stringWithFormat: @"%u", (unsigned int)length];
37
 }
38
 
39
 - (NSException *) davMoveToTargetObject: (id) _target
(-)sogo/files/patch-SoObjects_SOGo_SOGoFolder.m (-11 lines)
Lines 1-11 Link Here
1
--- SoObjects/SOGo/SOGoFolder.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoFolder.m
3
@@ -107,7 +107,7 @@
4
 
5
 - (void) setDisplayName: (NSString *) newDisplayName
6
 {
7
-  ASSIGN (displayName, newDisplayName);
8
+  ASSIGN (displayName, [newDisplayName mutableCopy]);
9
 }
10
 
11
 - (NSString *) displayName
(-)sogo/files/patch-SoObjects_SOGo_SOGoGCSFolder.m (-27 lines)
Lines 1-27 Link Here
1
--- SoObjects/SOGo/SOGoGCSFolder.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoGCSFolder.m
3
@@ -376,12 +376,12 @@ static NSArray *childRecordFields = nil;
4
   if (!displayName)
5
     {
6
       if (activeUserIsOwner)
7
-        displayName = [self _displayNameFromOwner];
8
+        displayName = [[self _displayNameFromOwner] mutableCopy];
9
       else
10
         {
11
-          displayName = [self _displayNameFromSubscriber];
12
+          displayName = [[self _displayNameFromSubscriber] mutableCopy];
13
           if (!displayName)
14
-            displayName = [self _displayNameFromOwner];
15
+            displayName = [[self _displayNameFromOwner] mutableCopy];
16
         }
17
       [displayName retain];
18
     }
19
@@ -829,7 +829,7 @@ static NSArray *childRecordFields = nil;
20
     {
21
       currentID = [ids objectAtIndex: count];
22
       names = [[currentID componentsSeparatedByString: @"/"] objectEnumerator];
23
-      deleteObject = self;
24
+      deleteObject = (SOGoContentObject *)self;
25
       while ((currentName = [names nextObject]))
26
         {
27
           deleteObject = [deleteObject lookupName: currentName
(-)sogo/files/patch-SoObjects_SOGo_SOGoGroup.m (-20 lines)
Lines 1-20 Link Here
1
--- SoObjects/SOGo/SOGoGroup.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoGroup.m
3
@@ -135,7 +135,7 @@
4
 {
5
   NSArray *allSources;
6
   NGLdapEntry *entry;
7
-  NSObject <SOGoSource> *source;
8
+  NSObject <SOGoSource, SOGoDNSource> *source;
9
   id o;
10
   NSEnumerator *gclasses;
11
   NSString *gclass;
12
@@ -154,7 +154,7 @@
13
 
14
   for (i = 0; i < [allSources count]; i++)
15
     {
16
-      source = [[SOGoUserManager sharedUserManager] sourceWithID: [allSources objectAtIndex: i]];
17
+      source = (NSObject <SOGoSource, SOGoDNSource> *) [[SOGoUserManager sharedUserManager] sourceWithID: [allSources objectAtIndex: i]];
18
 
19
       // Our different sources might not all implements groups support
20
       if ([source respondsToSelector: theSelector])
(-)sogo/files/patch-SoObjects_SOGo_SOGoObject.m (-29 lines)
Lines 1-29 Link Here
1
--- SoObjects/SOGo/SOGoObject.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoObject.m
3
@@ -1066,7 +1066,7 @@
4
     [_ms appendFormat:@" name=%@", nameInContainer];
5
   if (container)
6
     [_ms appendFormat:@" container=0x%08X/%@", 
7
-         container, [container valueForKey:@"nameInContainer"]];
8
+         (unsigned int)container, [container valueForKey:@"nameInContainer"]];
9
 }
10
 
11
 - (NSString *) description
12
@@ -1074,7 +1074,7 @@
13
   NSMutableString *ms;
14
 
15
   ms = [NSMutableString stringWithCapacity:64];
16
-  [ms appendFormat:@"<0x%08X[%@]:", self, NSStringFromClass([self class])];
17
+  [ms appendFormat:@"<0x%08X[%@]:", (unsigned int) self, NSStringFromClass([self class])];
18
   [self appendAttributesToDescription:ms];
19
   [ms appendString:@">"];
20
 
21
@@ -1084,7 +1084,7 @@
22
 - (NSString *) loggingPrefix
23
 {
24
   return [NSString stringWithFormat:@"<0x%08X[%@]:%@>",
25
-		   self, NSStringFromClass([self class]),
26
+		   (unsigned int) self, NSStringFromClass([self class]),
27
 		   [self nameInContainer]];
28
 }
29
 
(-)sogo/files/patch-SoObjects_SOGo_SOGoParentFolder.h (-10 lines)
Lines 1-10 Link Here
1
--- SoObjects/SOGo/SOGoParentFolder.h.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoParentFolder.h
3
@@ -45,6 +45,7 @@
4
 
5
 - (NSException *) appendPersonalSources;
6
 - (void) removeSubFolder: (NSString *) subfolderName;
7
+- (NSException *) appendCollectedSources;
8
 
9
 - (void) setBaseOCSPath: (NSString *) newOCSPath;
10
 
(-)sogo/files/patch-SoObjects_SOGo_SOGoParentFolder.m (-41 lines)
Lines 1-41 Link Here
1
--- SoObjects/SOGo/SOGoParentFolder.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SOGoParentFolder.m
3
@@ -423,6 +423,38 @@ static SoSecurityManager *sm = nil;
4
   return error;
5
 }
6
 
7
+- (NSException *) appendCollectedSources
8
+{
9
+  GCSChannelManager *cm;
10
+  EOAdaptorChannel *fc;
11
+  NSURL *folderLocation;
12
+  NSString *sql, *gcsFolderType;
13
+  NSException *error;
14
+
15
+  cm = [GCSChannelManager defaultChannelManager];
16
+  folderLocation = [[GCSFolderManager defaultFolderManager] folderInfoLocation];
17
+  fc = [cm acquireOpenChannelForURL: folderLocation];
18
+  if ([fc isOpen])
19
+  {
20
+    gcsFolderType = [[self class] gcsFolderType];
21
+
22
+    sql = [NSString stringWithFormat: (@"SELECT c_path4 FROM %@"
23
+                                       @" WHERE c_path2 = '%@'"
24
+                                       @" AND c_folder_type = '%@'"),
25
+           [folderLocation gcsTableName], owner, gcsFolderType];
26
+  
27
+    error = [self fetchSpecialFolders: sql withChannel: fc andFolderType: SOGoCollectedFolder];
28
+
29
+    [cm releaseChannel: fc];
30
+  }
31
+  else
32
+    error = [NSException exceptionWithName: @"SOGoDBException"
33
+                                    reason: @"database connection could not be open"
34
+                                  userInfo: nil];
35
+ 
36
+  return error;
37
+}
38
+
39
 - (NSException *) initSubFolders
40
 {
41
   NSException *error;
(-)sogo/files/patch-SoObjects_SOGo_SQLSource.m (-56 lines)
Lines 1-56 Link Here
1
--- SoObjects/SOGo/SQLSource.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/SQLSource.m
3
@@ -880,7 +880,7 @@
4
 
5
   reason = [NSString stringWithFormat: @"method '%@' is not available"
6
                      @" for class '%@'", NSStringFromSelector (_cmd),
7
-                     NSStringFromClass (isa)];
8
+                     NSStringFromClass (object_getClass(self))];
9
 
10
   return [NSException exceptionWithName: @"SQLSourceIOException"
11
                                  reason: reason
12
@@ -893,7 +893,7 @@
13
 
14
   reason = [NSString stringWithFormat: @"method '%@' is not available"
15
                      @" for class '%@'", NSStringFromSelector (_cmd),
16
-                     NSStringFromClass (isa)];
17
+                     NSStringFromClass (object_getClass(self))];
18
 
19
   return [NSException exceptionWithName: @"SQLSourceIOException"
20
                                  reason: reason
21
@@ -906,7 +906,7 @@
22
 
23
   reason = [NSString stringWithFormat: @"method '%@' is not available"
24
                      @" for class '%@'", NSStringFromSelector (_cmd),
25
-                     NSStringFromClass (isa)];
26
+                     NSStringFromClass (object_getClass(self))];
27
 
28
   return [NSException exceptionWithName: @"SQLSourceIOException"
29
                                  reason: reason
30
@@ -932,7 +932,7 @@
31
 
32
   reason = [NSString stringWithFormat: @"method '%@' is not available"
33
                      @" for class '%@'", NSStringFromSelector (_cmd),
34
-                     NSStringFromClass (isa)];
35
+                     NSStringFromClass (object_getClass(self))];
36
 
37
   return [NSException exceptionWithName: @"SQLSourceIOException"
38
                                  reason: reason
39
@@ -947,7 +947,7 @@
40
 
41
   reason = [NSString stringWithFormat: @"method '%@' is not available"
42
                      @" for class '%@'", NSStringFromSelector (_cmd),
43
-                     NSStringFromClass (isa)];
44
+                     NSStringFromClass (object_getClass(self))];
45
 
46
   return [NSException exceptionWithName: @"SQLSourceIOException"
47
                                  reason: reason
48
@@ -961,7 +961,7 @@
49
 
50
   reason = [NSString stringWithFormat: @"method '%@' is not available"
51
                      @" for class '%@'", NSStringFromSelector (_cmd),
52
-                     NSStringFromClass (isa)];
53
+                     NSStringFromClass (object_getClass(self))];
54
 
55
   return [NSException exceptionWithName: @"SQLSourceIOException"
56
                                  reason: reason
(-)sogo/files/patch-SoObjects_SOGo_WORequest+SOGo.m (-35 lines)
Lines 1-35 Link Here
1
--- SoObjects/SOGo/WORequest+SOGo.m.orig	2015-09-16 18:41:31 UTC
2
+++ SoObjects/SOGo/WORequest+SOGo.m
3
@@ -180,14 +180,24 @@
4
   cc = [self clientCapabilities];
5
 
6
   b = (
7
-       [[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
8
-       && [[cc userAgent] rangeOfString: @"Darwin"].location != NSNotFound
9
-       || (
10
-           [[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
11
-            || [[cc userAgent] rangeOfString: @"Mac OS X"].location != NSNotFound
12
-           )
13
-       && [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
14
-       );
15
+        (
16
+          (
17
+            [[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
18
+            && [[cc userAgent] rangeOfString: @"Darwin"].location != NSNotFound
19
+          )
20
+          ||
21
+          (
22
+            [[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
23
+            &&
24
+            (
25
+              [[cc userAgent] rangeOfString: @"Mac OS X"].location != NSNotFound
26
+              ||
27
+              [[cc userAgent] rangeOfString: @"Mac_OS_X"].location != NSNotFound
28
+            )
29
+          )
30
+        )
31
+        && [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
32
+      );
33
 
34
   return b;
35
 }
(-)sogo/files/patch-SoObjects_SOGo_instance-framework.make (-1 / +1 lines)
Lines 1-4 Link Here
1
--- SoObjects/SOGo/instance-framework.make.orig	2015-10-24 21:25:08 UTC
1
--- SoObjects/SOGo/instance-framework.make.orig	2015-09-23 03:39:02 UTC
2
+++ SoObjects/SOGo/instance-framework.make
2
+++ SoObjects/SOGo/instance-framework.make
3
@@ -0,0 +1,821 @@
3
@@ -0,0 +1,821 @@
4
+#   -*-makefile-*-
4
+#   -*-makefile-*-
(-)sogo/files/patch-SoObjects_SOGo_master-framework.make (-1 / +1 lines)
Lines 1-4 Link Here
1
--- SoObjects/SOGo/master-framework.make.orig	2015-10-24 21:25:08 UTC
1
--- SoObjects/SOGo/master-framework.make.orig	2015-09-23 03:38:31 UTC
2
+++ SoObjects/SOGo/master-framework.make
2
+++ SoObjects/SOGo/master-framework.make
3
@@ -0,0 +1,30 @@
3
@@ -0,0 +1,30 @@
4
+#
4
+#
(-)sogo/files/patch-Tests_Unit_SOGoTest.m (-15 lines)
Lines 1-15 Link Here
1
--- Tests/Unit/SOGoTest.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tests/Unit/SOGoTest.m
3
@@ -245,10 +245,10 @@ NSString *_stringForCharacterAtIndex(NSU
4
       sc2 = _stringForCharacterAtIndex(i, str2, length2);
5
 
6
       if ([sc1 isEqualToString: sc2]) 
7
-        finalSTR = [finalSTR stringByAppendingFormat: @"%u |%@|\n", i, sc1];
8
+        finalSTR = [finalSTR stringByAppendingFormat: @"%lu |%@|\n", i, sc1];
9
       else
10
         {
11
-          finalSTR = [finalSTR stringByAppendingFormat: @"%u |%@|%@|<--\n", i, sc1, sc2];
12
+          finalSTR = [finalSTR stringByAppendingFormat: @"%lu |%@|%@|<--\n", i, sc1, sc2];
13
           differencesFound = YES;
14
         }
15
     }
(-)sogo/files/patch-Tests_Unit_TestNGMimeAddressHeaderFieldGenerator.m (-23 lines)
Lines 1-23 Link Here
1
--- Tests/Unit/TestNGMimeAddressHeaderFieldGenerator.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tests/Unit/TestNGMimeAddressHeaderFieldGenerator.m
3
@@ -39,8 +39,8 @@
4
         @"<wolfgang@test.com>",  // email between brackets
5
         @"\"<wolfgang@test.com>\" <wolfgang@test.com>", // doubled
6
         @"\"wolfgang@inverse.ca\" <wolfgang@test.com>", // with and without br.
7
-        @"Àñinéoblabla <wolfgang@test.com>", // accented full name
8
-        @"Àñinéoblabla Bla Blé <wolfgang@test.com>", // accented and multiword
9
+        @"=?utf-8?q?=C3=80=C3=B1in=C3=A9oblabla?= <wolfgang@test.com>", // accented full name
10
+        @"=?utf-8?q?=C3=80=C3=B1in=C3=A9oblabla_Bla_Bl=C3=A9?= <wolfgang@test.com>", // accented and multiword
11
         @"Wolfgang Sourdeau \"Bla Bla\" <wolfgang@test.com>", // partly quoted
12
         @"Wolfgang Sourdeau <wolfgang@test.com>", // full name + email
13
         nil };
14
@@ -50,8 +50,7 @@
15
         @"\"<wolfgang@test.com>\" <wolfgang@test.com>", // doubled
16
         @"\"wolfgang@inverse.ca\" <wolfgang@test.com>", // with and without br.
17
         @"=?utf-8?q?=C3=80=C3=B1in=C3=A9oblabla?= <wolfgang@test.com>", // accented full name
18
-        @"=?utf-8?q?=C3=80=C3=B1in=C3=A9oblabla_Bla_Bl=C3=A9?= <wolfgang@test.com>", // accented
19
-        // and multiword
20
+        @"=?utf-8?q?=C3=80=C3=B1in=C3=A9oblabla_Bla_Bl=C3=A9?= <wolfgang@test.com>", // accented and multiword
21
 
22
         /* NOTE: the following are wrong but tolerated for now */
23
         @"Wolfgang Sourdeau \"Bla Bla\" <wolfgang@test.com>", // partly quoted
(-)sogo/files/patch-Tests_Unit_TestNGMimeMessageGenerator.m (-11 lines)
Lines 1-11 Link Here
1
--- Tests/Unit/TestNGMimeMessageGenerator.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tests/Unit/TestNGMimeMessageGenerator.m
3
@@ -117,7 +117,7 @@
4
       NSString *diff = [self stringFromDiffBetween: [NSString stringWithString: resultString]
5
                                                and: [NSString stringWithString: expected]];
6
       NSString *testErrorMsg = [NSString
7
-                             stringWithFormat: @">> For %@ header received:\n%@[END]\n>> instead of:\n%@[END]\n>> for:\n%@\n>> diff:\n%@\n>> lengthReceived: %u lengthExpected: %u",
8
+                             stringWithFormat: @">> For %@ header received:\n%@[END]\n>> instead of:\n%@[END]\n>> for:\n%@\n>> diff:\n%@\n>> lengthReceived: %lu lengthExpected: %lu",
9
                               header,
10
                               resultString,
11
                               expected,
(-)sogo/files/patch-Tests_Unit_TestVersit.m (-41 lines)
Lines 1-41 Link Here
1
--- Tests/Unit/TestVersit.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tests/Unit/TestVersit.m
3
@@ -34,6 +34,10 @@
4
 
5
 - (void) test_rendering
6
 {
7
+
8
+#pragma clang diagnostic push
9
+#pragma clang diagnostic ignored "-Wobjc-string-compare"
10
+
11
   CardElement *element;
12
   CardVersitRenderer *renderer;
13
   NSString *result;
14
@@ -137,10 +141,17 @@
15
   testEquals(result, @"ELEM:NONEMPTY=coucou\r\n");
16
 
17
   /** tests about parameters handling could be nice */
18
+
19
+#pragma clang diagnostic pop
20
+
21
 }
22
 
23
 - (void) test_parsing
24
 {
25
+
26
+#pragma clang diagnostic push
27
+#pragma clang diagnostic ignored "-Wobjc-string-compare"
28
+
29
   CardGroup *group;
30
   CardElement *element;
31
   NSString *versit;
32
@@ -201,6 +212,9 @@
33
   element = [group firstChildWithTag: @"element"];
34
   testEquals([element flattenedValueAtIndex: 0 forKey: @""], @"value");
35
   testEquals([element value: 0 ofAttribute: @"param1"], @"paramvalue1, with comma");
36
+
37
+#pragma clang diagnostic pop
38
+
39
 }
40
 
41
 @end
(-)sogo/files/patch-Tests_Unit_TestiCalRecurrenceCalculator.m (-29 lines)
Lines 1-29 Link Here
1
--- Tests/Unit/TestiCalRecurrenceCalculator.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tests/Unit/TestiCalRecurrenceCalculator.m
3
@@ -107,7 +107,7 @@
4
 			    [currentOccurrence descriptionWithCalendarFormat: dateFormat]];
5
 	  testWithMessage([currentOccurrence isDateOnSameDay: [[occurrences objectAtIndex: j] startDate]], error);
6
 	}
7
-      error = [NSString stringWithFormat: @"Unexpected number of occurrences for recurrence rule %@ (found %i, expected %i)",
8
+      error = [NSString stringWithFormat: @"Unexpected number of occurrences for recurrence rule %@ (found %ld, expected %ld)",
9
 			[currentRule objectAtIndex: 1],
10
 			[occurrences count],
11
 			[currentRule count] - 2];
12
@@ -211,7 +211,7 @@
13
 			    [currentOccurrence descriptionWithCalendarFormat: dateFormat]];
14
 	  testWithMessage([currentOccurrence isDateOnSameDay: [[occurrences objectAtIndex: j] startDate]], error);
15
 	}
16
-      error = [NSString stringWithFormat: @"Unexpected number of occurrences for recurrence rule %@ (found %i, expected %i)",
17
+      error = [NSString stringWithFormat: @"Unexpected number of occurrences for recurrence rule %@ (found %ld, expected %ld)",
18
 			[currentRule objectAtIndex: 1],
19
 			[occurrences count],
20
 			[currentRule count] - 2];
21
@@ -376,7 +376,7 @@
22
 			    [currentOccurrence descriptionWithCalendarFormat: dateFormat]];
23
 	  testWithMessage([currentOccurrence isDateOnSameDay: [[occurrences objectAtIndex: j] startDate]], error);
24
 	}
25
-      error = [NSString stringWithFormat: @"Unexpected number of occurrences for recurrence rule %@ (found %i, expected %i)",
26
+      error = [NSString stringWithFormat: @"Unexpected number of occurrences for recurrence rule %@ (found %ld, expected %ld)",
27
 			[currentRule objectAtIndex: 1],
28
 			[occurrences count],
29
 			[currentRule count] - 2];
(-)sogo/files/patch-Tests_Unit_TestiCalTimeZonePeriod.m (-13 lines)
Lines 1-13 Link Here
1
--- Tests/Unit/TestiCalTimeZonePeriod.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tests/Unit/TestiCalTimeZonePeriod.m
3
@@ -80,8 +80,8 @@
4
       testWithMessage ((NSInteger) [testDate timeIntervalSince1970]
5
                        == occurrenceSeconds[count],
6
                        ([NSString stringWithFormat:
7
-                                    @"test %d: seconds do not match:"
8
-                                  @" delta = %d", count, delta]));
9
+                                    @"test %ld: seconds do not match:"
10
+                                  @" delta = %ld", count, delta]));
11
     }
12
 }
13
 
(-)sogo/files/patch-Tools_SOGoEAlarmsNotifier.m (-13 lines)
Lines 1-13 Link Here
1
--- Tools/SOGoEAlarmsNotifier.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoEAlarmsNotifier.m
3
@@ -81,8 +81,8 @@
4
   timestamp = (int) [[NSDate date] timeIntervalSince1970];
5
   pGUID = [[NSProcessInfo processInfo] globallyUniqueString];
6
 
7
-  messageID = [NSString stringWithFormat: @"<%0X-%0X-%0X-%0X@%u>",
8
-                        pid, timestamp, sequence, random(), [pGUID hash]];
9
+  messageID = [NSString stringWithFormat: @"<%0X-%0X-%0X-%0X@%lu>",
10
+                        pid, timestamp, sequence, (unsigned int)random(), [pGUID hash]];
11
 
12
   return [messageID lowercaseString];
13
 }
(-)sogo/files/patch-Tools_SOGoSockDOperation.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/SOGoSockDOperation.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoSockDOperation.m
3
@@ -145,7 +145,7 @@ Class SOGoContactSourceFolderKlass = Nil
4
     [self _appendEntry: [resultEntries objectAtIndex: count]
5
               toResult: result];
6
 
7
-  [result appendFormat: @"RESULT\ncode: %", resultCode];
8
+  [result appendFormat: @"RESULT\ncode: %d", resultCode];
9
   [responseSocket
10
     safeWriteData: [result dataUsingEncoding: NSASCIIStringEncoding]];
11
 }
(-)sogo/files/patch-Tools_SOGoToolCreateFolder.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/SOGoToolCreateFolder.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolCreateFolder.m
3
@@ -97,7 +97,7 @@
4
   rc = [self createFolder: folder withFM: fm];
5
   if (!rc)
6
     {
7
-      NSLog (@"Create directory failed at path %s", folder);
8
+      NSLog (@"Create directory failed at path %@", folder);
9
       return NO;
10
     }
11
 
(-)sogo/files/patch-Tools_SOGoToolExpireUserSessions.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/SOGoToolExpireUserSessions.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolExpireUserSessions.m
3
@@ -143,7 +143,7 @@
4
   else
5
   {
6
     if (verbose)
7
-      NSLog(@"No session to remove", sessionsToDelete);
8
+      NSLog(@"No session to remove");
9
   }
10
 
11
   [cm releaseChannel: channel];
(-)sogo/files/patch-Tools_SOGoToolManageEAS.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/SOGoToolManageEAS.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolManageEAS.m
3
@@ -227,7 +227,7 @@ typedef enum
4
 
5
               NSMutableString *sql;
6
 
7
-              sql = [NSMutableString stringWithFormat: @"DELETE FROM %@" @" WHERE c_path like '/%@%'", [oc tableName], deviceId];
8
+              sql = [NSMutableString stringWithFormat: @"DELETE FROM %@ WHERE c_path like '/%@'", [oc tableName], deviceId];
9
 
10
               [oc performBatchSQLQueries: [NSArray arrayWithObject: sql]];
11
               rc = YES;
(-)sogo/files/patch-Tools_SOGoToolRemoveDoubles.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/SOGoToolRemoveDoubles.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolRemoveDoubles.m
3
@@ -175,7 +175,7 @@
4
 
5
   now = [NSCalendarDate date];
6
   delSql = [NSString stringWithFormat: @"UPDATE %@"
7
-                     @" SET c_deleted = 1, c_lastmodified = %d,"
8
+                     @" SET c_deleted = 1, c_lastmodified = %lu,"
9
                      @" c_content = ''"
10
 		     @" WHERE c_name = '%@'",
11
 		     tableName,
(-)sogo/files/patch-Tools_SOGoToolRenameUser.m (-20 lines)
Lines 1-20 Link Here
1
--- Tools/SOGoToolRenameUser.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolRenameUser.m
3
@@ -148,7 +148,7 @@
4
   if (sqlError)
5
     {
6
       [ac rollbackTransaction];
7
-      NSLog([sqlError reason]);
8
+      NSLog(@"%@", [sqlError reason]);
9
     }
10
   else
11
     rc = [ac commitTransaction];
12
@@ -201,7 +201,7 @@
13
   if (sqlError)
14
     {
15
       [ac rollbackTransaction];
16
-      NSLog([sqlError reason]);
17
+      NSLog(@"%@", [sqlError reason]);
18
     }
19
   else
20
     rc = [ac commitTransaction];
(-)sogo/files/patch-Tools_SOGoToolRestore.m (-10 lines)
Lines 1-10 Link Here
1
--- Tools/SOGoToolRestore.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolRestore.m
3
@@ -574,6 +574,7 @@
4
           NSLog (@"  %@ (%@)",
5
                  folderKey, [currentFolder objectForKey: @"displayname"]);
6
         }
7
+      rc = YES;
8
     }
9
   else
10
     {
(-)sogo/files/patch-Tools_SOGoToolUserPreferences.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/SOGoToolUserPreferences.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/SOGoToolUserPreferences.m
3
@@ -115,7 +115,7 @@ typedef enum
4
       [theKey caseInsensitiveCompare: @"Vacation"] == NSOrderedSame)
5
     {
6
       /* credentials file handling */
7
-      NSString *credsFilename, *authname, *authpwd;
8
+      NSString *credsFilename=nil, *authname=nil, *authpwd=nil;
9
       SOGoCredentialsFile *cf;
10
 
11
       credsFilename = [[NSUserDefaults standardUserDefaults] stringForKey: @"p"];
(-)sogo/files/patch-Tools_sogo-tool.m (-11 lines)
Lines 1-11 Link Here
1
--- Tools/sogo-tool.m.orig	2015-09-16 18:41:31 UTC
2
+++ Tools/sogo-tool.m
3
@@ -149,7 +149,7 @@
4
                   command, [currentTool objectAtIndex: 1]];
5
     }
6
 
7
-  NSLog (helpString);
8
+  NSLog (@"%@", helpString);
9
 }
10
 
11
 - (void) registerTools
(-)sogo/files/patch-UI_Common_UIxToolbar.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Common/UIxToolbar.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Common/UIxToolbar.m
3
@@ -166,7 +166,7 @@
4
     [self errorWithFormat:
5
             @"not toolbar configuration found on SoObject: %@ (%@)",
6
             [self clientObject], [[self clientObject] soClass]];
7
-    toolbarConfig = [[NSNull null] retain];
8
+    toolbarConfig = (NSArray *)[[NSNull null] retain];
9
     return nil;
10
   }
11
 
(-)sogo/files/patch-UI_Contacts_UIxContactActions.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Contacts/UIxContactActions.m.orig	2015-09-16 18:41:31 UTC
2
+++ UI/Contacts/UIxContactActions.m
3
@@ -141,7 +141,7 @@
4
   content = [NSMutableString string];
5
   response = [context response];
6
 
7
-  [content appendFormat: [[self clientObject] contentAsString]];
8
+  [content appendFormat: @"%@", [[self clientObject] contentAsString]];
9
   [response setHeader: @"text/plain; charset=utf-8" 
10
             forKey: @"content-type"];
11
   [response appendContentString: content];
(-)sogo/files/patch-UI_Contacts_UIxContactFolderActions.m (-14 lines)
Lines 1-14 Link Here
1
--- UI/Contacts/UIxContactFolderActions.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Contacts/UIxContactFolderActions.m
3
@@ -78,9 +78,9 @@
4
                                     inContext: [self context]
5
                                       acquire: NO];
6
       if ([currentChild respondsToSelector: @selector (vCard)])
7
-        [content appendFormat: [[currentChild ldifRecord] ldifRecordAsString]];
8
+        [content appendFormat: @"%@", [[currentChild ldifRecord] ldifRecordAsString]];
9
       else if ([currentChild respondsToSelector: @selector (vList)])
10
-        [content appendFormat: [[currentChild vList] ldifString]];
11
+        [content appendFormat: @"%@", [[currentChild vList] ldifString]];
12
       [content appendString: @"\n"];
13
     }
14
 
(-)sogo/files/patch-UI_Contacts_UIxContactFolderProperties.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Contacts/UIxContactFolderProperties.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Contacts/UIxContactFolderProperties.m
3
@@ -19,6 +19,8 @@
4
  */
5
 
6
 #import <SOGo/SOGoSystemDefaults.h>
7
+#import <Contacts/SOGoContactGCSFolder.h>
8
+#import <NGExtensions/NSURL+misc.h>
9
 
10
 #import "UIxContactFolderProperties.h"
11
 
(-)sogo/files/patch-UI_Contacts_UIxContactView.m (-20 lines)
Lines 1-20 Link Here
1
--- UI/Contacts/UIxContactView.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Contacts/UIxContactView.m
3
@@ -350,7 +350,7 @@
4
   data = [NSMutableString string];
5
   [data appendString: postalCode];
6
   if ([postalCode length] > 0 && [country length] > 0)
7
-    [data appendFormat: @", ", country];
8
+    [data appendFormat: @", "];
9
   [data appendString: country];
10
 
11
   return [self _cardStringWithLabel: nil value: data];
12
@@ -562,7 +562,7 @@
13
   data = [NSMutableString string];
14
   [data appendString: postalCode];
15
   if ([postalCode length] > 0 && [country length] > 0)
16
-    [data appendFormat: @" ", country];
17
+    [data appendFormat: @", "];
18
   [data appendString: country];
19
 
20
   return [self _cardStringWithLabel: nil value: data];
(-)sogo/files/patch-UI_MailPartViewers_UIxMailPartHTMLViewer.m (-32 lines)
Lines 1-32 Link Here
1
--- UI/MailPartViewers/UIxMailPartHTMLViewer.m.orig	2015-09-16 18:41:31 UTC
2
+++ UI/MailPartViewers/UIxMailPartHTMLViewer.m
3
@@ -551,9 +551,9 @@ static NSData* _sanitizeContent(NSData *
4
                   else
5
                     skipAttribute = YES;
6
                 }
7
-              else if ([name isEqualToString: @"background"] ||
8
+              else if (([name isEqualToString: @"background"] ||
9
                        ([name isEqualToString: @"data"]
10
-                        || [name isEqualToString: @"classid"])
11
+                        || [name isEqualToString: @"classid"]))
12
                        && [lowerName isEqualToString: @"object"])
13
                 {
14
                   value = [_attributes valueAtIndex: count];
15
@@ -741,7 +741,7 @@ static NSData* _sanitizeContent(NSData *
16
 
17
 /* SaxLexicalHandler */
18
 - (void) comment: (unichar *) _chars
19
-          length: (NSUInteger) _len
20
+          length: (int) _len
21
 {
22
   showWhoWeAre();
23
   if (inStyle)
24
@@ -807,7 +807,7 @@ static NSData* _sanitizeContent(NSData *
25
     }
26
   [dump appendFormat: @"--- end ---\n"];
27
 
28
-  NSLog(dump);
29
+  NSLog(@"%@", dump);
30
   [dump release];
31
 }
32
 
(-)sogo/files/patch-UI_MailPartViewers_UIxMailPartViewer.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/MailPartViewers/UIxMailPartViewer.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/MailPartViewers/UIxMailPartViewer.m
3
@@ -270,7 +270,7 @@
4
   if ([filename length])
5
     // We replace any slash by a dash since Apache won't allow encoded slashes by default.
6
     // See http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes
7
-    filename = [filename stringByReplacingString: @"/" withString: @"-"];
8
+    filename = [[filename stringByReplacingString: @"/" withString: @"-"] mutableCopy];
9
   else
10
     [filename appendFormat: @"%@-%@",
11
 	      [self labelForKey: @"Untitled"],
(-)sogo/files/patch-UI_MailerUI_UIxMailFolderActions.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/MailerUI/UIxMailFolderActions.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/MailerUI/UIxMailFolderActions.m
3
@@ -383,7 +383,7 @@
4
 - (WOResponse *) moveMessagesAction
5
 {
6
   SOGoMailFolder *co;
7
-  SOGoUserSettings *us;
8
+  SOGoUserSettings *us=nil;
9
   WOResponse *response;
10
   NSArray *uids;
11
   NSString *value, *destinationFolder;
(-)sogo/files/patch-UI_MailerUI_UIxMailListActions.h (-6 lines)
Lines 1-10 Link Here
1
--- UI/MailerUI/UIxMailListActions.h.orig	2015-09-16 18:41:36 UTC
2
+++ UI/MailerUI/UIxMailListActions.h
3
@@ -43,7 +43,6 @@
4
 }
5
 
6
 - (NSString *) defaultSortKey;
(-)sogo/files/patch-UI_MailerUI_UIxMailMainFrame.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/MailerUI/UIxMailMainFrame.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/MailerUI/UIxMailMainFrame.m
3
@@ -627,7 +627,7 @@
4
 
5
 - (NSString *) columnsDisplayCount
6
 {
7
-  return [NSString stringWithFormat: @"%d", [[self columnsDisplayOrder] count]];
8
+  return [NSString stringWithFormat: @"%d", (int)[[self columnsDisplayOrder] count]];
9
 }
10
 
11
 - (void) setCurrentColumn: (NSDictionary *) newCurrentColumn
(-)sogo/files/patch-UI_MainUI_SOGoMicrosoftActiveSyncActions.m (-21 lines)
Lines 1-21 Link Here
1
--- UI/MainUI/SOGoMicrosoftActiveSyncActions.m.orig	2015-09-16 18:41:32 UTC
2
+++ UI/MainUI/SOGoMicrosoftActiveSyncActions.m
3
@@ -30,6 +30,9 @@
4
 #import <NGObjWeb/WORequest.h>
5
 #import <NGObjWeb/WOResponse.h>
6
 
7
+#import <Common/WODirectAction+SOGo.h>
8
+#import <ActiveSync/SOGoActiveSyncDispatcher.h>
9
+
10
 @interface SOGoMicrosoftActiveSyncActions : WODirectAction
11
 @end
12
 
13
@@ -47,7 +50,7 @@
14
   id dispatcher;
15
   Class clazz;
16
 
17
-  request = [context request];
18
+  request = (WORequest *)[context request];
19
   response = [self responseWithStatus: 200];
20
 
21
   bundle = [NSBundle bundleForClass: NSClassFromString(@"ActiveSyncProduct")];
(-)sogo/files/patch-UI_PreferencesUI_UIxPreferences.m (-21 lines)
Lines 1-21 Link Here
1
--- UI/PreferencesUI/UIxPreferences.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/PreferencesUI/UIxPreferences.m
3
@@ -1366,15 +1366,15 @@ static NSArray *reminderValues = nil;
4
           if ([account updateFilters])
5
             // If Sieve is not enabled, the SOGoSieveManager will immediatly return a positive answer
6
             // See [SOGoSieveManager updateFiltersForAccount:withUsername:andPassword:]
7
-            results = [self responseWithStatus: 200
8
+            results = (id <WOActionResults>)[self responseWithStatus: 200
9
                          andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:hasChanged], @"hasChanged", nil]];
10
 
11
           else
12
-            results = [self responseWithStatus: 502
13
+            results = (id <WOActionResults>)[self responseWithStatus: 502
14
                          andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: @"Connection error", @"textStatus", nil]];
15
         }
16
       else
17
-        results = [self responseWithStatus: 503
18
+        results = (id <WOActionResults>)[self responseWithStatus: 503
19
                      andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: @"Service temporarily unavailable", @"textStatus", nil]];
20
     }
21
   else
(-)sogo/files/patch-UI_SOGoUI_SOGoAptFormatter.m (-22 lines)
Lines 1-22 Link Here
1
--- UI/SOGoUI/SOGoAptFormatter.m.orig	2015-09-16 18:41:32 UTC
2
+++ UI/SOGoUI/SOGoAptFormatter.m
3
@@ -155,14 +155,14 @@
4
    */
5
 
6
   [_buf appendFormat:@"%02i:%02i",
7
-                     [_date hourOfDay],
8
-                     [_date minuteOfHour]];
9
+                     (int)[_date hourOfDay],
10
+                     (int)[_date minuteOfHour]];
11
   if (_refDate && ![_date isDateOnSameDay:_refDate]) {
12
     [_buf appendFormat:@" (%02i-%02i",
13
-                       [_date monthOfYear],
14
-                       [_date dayOfMonth]];
15
+                       (int)[_date monthOfYear],
16
+                       (int)[_date dayOfMonth]];
17
     if ([_date yearOfCommonEra] != [_refDate yearOfCommonEra])
18
-      [_buf appendFormat:@"-%04i", [_date yearOfCommonEra]];
19
+      [_buf appendFormat:@"-%04i", (int)[_date yearOfCommonEra]];
20
     [_buf appendString:@")"];
21
   }
22
 }
(-)sogo/files/patch-UI_Scheduler_UIxCalDateSelector.m (-20 lines)
Lines 1-20 Link Here
1
--- UI/Scheduler/UIxCalDateSelector.m.orig	2015-09-16 18:41:32 UTC
2
+++ UI/Scheduler/UIxCalDateSelector.m
3
@@ -117,7 +117,7 @@
4
 
5
   date = [self startDate];
6
 
7
-  return [NSString stringWithFormat: @"%.2d", [date monthOfYear]];
8
+  return [NSString stringWithFormat: @"%.2d", (int)[date monthOfYear]];
9
 }
10
 
11
 - (NSString *) headerMonthString
12
@@ -136,7 +136,7 @@
13
 
14
   date = [self startDate];
15
 
16
-  return [NSString stringWithFormat: @"%d", [date yearOfCommonEra]];
17
+  return [NSString stringWithFormat: @"%d", (int)[date yearOfCommonEra]];
18
 }
19
 
20
 - (NSString *) localizedDayOfWeekName
(-)sogo/files/patch-UI_Scheduler_UIxCalDayTable.h (-16 lines)
Lines 1-21 Link Here
1
--- UI/Scheduler/UIxCalDayTable.h.orig	2015-09-16 18:41:32 UTC
2
+++ UI/Scheduler/UIxCalDayTable.h
3
@@ -39,7 +39,8 @@
4
   NSArray *weekDays;
5
   NSString *currentView, *timeFormat, *currentTableHour;
6
   NSCalendarDate *startDate, *currentTableDay;
7
-  NSMutableArray *daysToDisplay, *calendarsToDisplay,  *currentCalendar, *hoursToDisplay;
8
+  NSMutableArray *daysToDisplay, *calendarsToDisplay, *hoursToDisplay;
9
+  NSMutableDictionary *currentCalendar;
10
   unsigned int numberOfDays;
11
 }
12
 
13
@@ -55,7 +56,7 @@
14
 - (NSArray *) calendarsToDisplay;
15
 - (void) setCurrentTableDay: (NSCalendarDate *) aTableDay;
16
 - (NSCalendarDate *) currentTableDay;
(-)sogo/files/patch-UI_Scheduler_UIxCalDayTable.m (-45 lines)
Lines 1-56 Link Here
1
--- UI/Scheduler/UIxCalDayTable.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Scheduler/UIxCalDayTable.m
3
@@ -37,6 +37,9 @@
4
 #import <SOGo/SOGoUserDefaults.h>
5
 #import <SOGo/WOResourceManager+SOGo.h>
6
 
7
+#import <Appointments/SOGoAppointmentFolder.h>
8
+#import <Appointments/SOGoAppointmentFolders.h>
9
+
10
 #import "UIxCalDayTable.h"
11
 
12
 @class SOGoAppointment;
13
@@ -191,7 +194,7 @@
14
     NSMutableDictionary *calendar;
15
     unsigned int count, foldersCount;
16
     NSString *folderName, *fDisplayName;
17
-    BOOL *isActive;
18
+    BOOL isActive;
19
     
20
     co = [self clientObject];
21
     folders = [co subFolders];
22
@@ -200,8 +203,8 @@
23
     for (count = 0; count < foldersCount; count++)
24
     {
25
       folder = [folders objectAtIndex: count];
26
-      isActive = [NSNumber numberWithBool: [folder isActive]];
27
-      if ([isActive intValue] != 0) {
28
+      isActive = [folder isActive];
29
+      if (isActive != NO) {
30
         calendar = [NSMutableDictionary dictionary];
31
         folderName = [folder nameInContainer];
32
         fDisplayName = [folder displayName];
33
@@ -214,7 +217,7 @@
34
         [calendar setObject: fDisplayName forKey: @"displayName"];
35
         [calendar setObject: folderName forKey: @"folder"];
36
         [calendar setObject: [folder calendarColor] forKey: @"color"];
37
-        [calendar setObject: isActive forKey: @"active"];
38
+        [calendar setObject: [NSNumber numberWithBool:isActive] forKey: @"active"];
39
         [calendar setObject: [folder ownerInContext: context]
40
                      forKey: @"owner"];
41
         [calendarsToDisplay addObject: calendar];
42
@@ -235,12 +238,12 @@
43
   return currentTableDay;
44
 }
45
 
(-)sogo/files/patch-UI_Scheduler_UIxCalDayView.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Scheduler/UIxCalDayView.m.orig	2015-09-16 18:41:32 UTC
2
+++ UI/Scheduler/UIxCalDayView.m
3
@@ -164,7 +164,7 @@
4
     
5
   date = [self selectedDate];
6
   hmString = [NSString stringWithFormat:@"%.2d%.2d",
7
-                       [date hourOfDay], [date minuteOfHour]];
8
+                       (int)[date hourOfDay], (int)[date minuteOfHour]];
9
   qp = [[self queryParameters] mutableCopy];
10
   [self setSelectedDateQueryParameter:date inDictionary:qp];
11
   [qp setObject: hmString forKey:@"hm"];
(-)sogo/files/patch-UI_Scheduler_UIxCalListingActions.m (-56 lines)
Lines 1-56 Link Here
1
--- UI/Scheduler/UIxCalListingActions.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Scheduler/UIxCalListingActions.m
3
@@ -316,7 +316,7 @@ static NSArray *tasksFields = nil;
4
   NSString *owner, *role, *calendarName, *filters, *iCalString;
5
   NSRange match;
6
   iCalCalendar *calendar;
7
-  iCalObject *master;
8
+  iCalEntityObject *master;
9
   SOGoAppointmentFolder *currentFolder;
10
   SOGoAppointmentFolders *clientObject;
11
   SOGoUser *ownerUser;
12
@@ -350,11 +350,11 @@ static NSArray *tasksFields = nil;
13
           else if ([criteria isEqualToString:@"entireContent"])
14
             {
15
               // First search : Through the quick table inside the location, category and title columns
16
-              quickInfos = [currentFolder fetchCoreInfosFrom: startDate
17
+              quickInfos = [[currentFolder fetchCoreInfosFrom: startDate
18
                                                           to: endDate
19
                                                        title: value
20
                                                    component: component
21
-                                           additionalFilters: criteria];
22
+                                           additionalFilters: criteria] mutableCopy];
23
         
24
               // Save the c_name in another array to compare with
25
               if ([quickInfos count] > 0)
26
@@ -366,10 +366,10 @@ static NSArray *tasksFields = nil;
27
                 }
28
         
29
               // Second research : Every objects except for those already in the quickInfos array
30
-              allInfos = [currentFolder fetchCoreInfosFrom: startDate
31
+              allInfos = [[currentFolder fetchCoreInfosFrom: startDate
32
                                                         to: endDate
33
                                                      title: nil
34
-                                                 component: component];
35
+                                                 component: component] mutableCopy];
36
               if (quickInfosFlag == YES)
37
                 {
38
                   for (i = ([allInfos count] - 1); i >= 0 ; i--) {
39
@@ -383,7 +383,7 @@ static NSArray *tasksFields = nil;
40
                 {
41
                   iCalString = [[allInfos objectAtIndex:i] objectForKey:@"c_content"];
42
                   calendar = [iCalCalendar parseSingleFromSource: iCalString];
43
-                  master = [calendar firstChildWithTag:component];
44
+                  master = (iCalEntityObject *)[calendar firstChildWithTag:component];
45
                   if (master) {
46
                     if ([[master comment] length] > 0)
47
                       {
48
@@ -1089,7 +1089,7 @@ _computeBlocksPosition (NSArray *blocks)
49
   
50
   if ([currentView isEqualToString: @"multicolumndayview"])
51
   {
52
-    calendars = [self _selectedCalendars];
53
+    calendars = [[self _selectedCalendars] mutableCopy];
54
     eventsByCalendars = [NSMutableArray arrayWithCapacity:[calendars count]];
55
     for (i = 0; i < [calendars count]; i++) // For each calendar
56
     {
(-)sogo/files/patch-UI_Scheduler_UIxCalMonthView.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Scheduler/UIxCalMonthView.m.orig	2015-09-16 18:41:32 UTC
2
+++ UI/Scheduler/UIxCalMonthView.m
3
@@ -299,7 +299,7 @@
4
 
5
   [classes appendFormat: @"day weekOf%d week%dof%d day%d",
6
            numberOfWeeks,
7
-           [weeksToDisplay indexOfObject: currentWeek],
8
+           (int)[weeksToDisplay indexOfObject: currentWeek],
9
            numberOfWeeks, dayOfWeek];
10
   if (realDayOfWeek == 0 || realDayOfWeek == 6)
11
     [classes appendString: @" weekEndDay"];
(-)sogo/files/patch-UI_Scheduler_UIxCalViewPrint.m (-19 lines)
Lines 1-19 Link Here
1
--- UI/Scheduler/UIxCalViewPrint.m.orig	2015-09-16 18:41:32 UTC
2
+++ UI/Scheduler/UIxCalViewPrint.m
3
@@ -49,6 +49,7 @@ static NSArray *layoutItems = nil;
4
 - (void) dealloc
5
 {
6
   [item release];
7
+  [super dealloc];
8
 }
9
 
10
 - (void) setItem: (NSString *) newItem
11
@@ -68,7 +69,7 @@ static NSArray *layoutItems = nil;
12
 
13
 - (NSString *) itemPrintLayoutText
14
 {
15
-  return [self labelForKey: [NSString stringWithFormat: item]];
16
+  return [self labelForKey: [NSString stringWithFormat: @"%@", item]];
17
 }
18
 
19
 //
(-)sogo/files/patch-UI_Scheduler_UIxComponentEditor.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Scheduler/UIxComponentEditor.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Scheduler/UIxComponentEditor.m
3
@@ -2472,7 +2472,7 @@ RANGE(2);
4
   content = [NSMutableString string];
5
   response = [context response];
6
 
7
-  [content appendFormat: [[self clientObject] contentAsString]];
8
+  [content appendFormat: @"%@", [[self clientObject] contentAsString]];
9
   [response setHeader: @"text/plain; charset=utf-8" 
10
             forKey: @"content-type"];
11
   [response appendContentString: content];
(-)sogo/files/patch-UI_Scheduler_UIxRecurrenceEditor.m (-11 lines)
Lines 1-11 Link Here
1
--- UI/Scheduler/UIxRecurrenceEditor.m.orig	2015-09-16 18:41:36 UTC
2
+++ UI/Scheduler/UIxRecurrenceEditor.m
3
@@ -148,7 +148,7 @@
4
       [shortWeekDaysList retain];
5
     }
6
 
7
-  id = [NSString stringWithFormat: @"weekDay%i", [shortWeekDaysList indexOfObject: item]];
8
+  id = [NSString stringWithFormat: @"weekDay%i", (int)[shortWeekDaysList indexOfObject: item]];
9
 
10
   return id;
11
 }
(-)sogo/pkg-plist (-1 / +51 lines)
Lines 584-592 Link Here
584
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Hungarian.lproj/Localizable.strings
584
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Hungarian.lproj/Localizable.strings
585
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Info-gnustep.plist
585
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Info-gnustep.plist
586
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Italian.lproj/Localizable.strings
586
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Italian.lproj/Localizable.strings
587
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
587
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
588
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
588
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
589
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
589
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Polish.lproj/Localizable.strings
590
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Polish.lproj/Localizable.strings
591
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
590
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Russian.lproj/Localizable.strings
592
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Russian.lproj/Localizable.strings
591
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Slovak.lproj/Localizable.strings
593
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Slovak.lproj/Localizable.strings
592
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Slovenian.lproj/Localizable.strings
594
GNUstep/Local/Library/SOGo/AdministrationUI.SOGo/Resources/Slovenian.lproj/Localizable.strings
Lines 615-626 Link Here
615
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Icelandic.lproj/Localizable.strings
617
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Icelandic.lproj/Localizable.strings
616
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Info-gnustep.plist
618
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Info-gnustep.plist
617
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Italian.lproj/Localizable.strings
619
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Italian.lproj/Localizable.strings
620
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Macedonian.lproj/Localizable.strings
618
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.html
621
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.html
619
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.wod
622
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/MSExchangeFreeBusySOAPRequest.wo/MSExchangeFreeBusySOAPRequest.wod
620
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/MSExchangeFreeBusySOAPResponseMap.plist
623
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/MSExchangeFreeBusySOAPResponseMap.plist
621
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
624
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
622
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
625
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
623
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Polish.lproj/Localizable.strings
626
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Polish.lproj/Localizable.strings
627
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Portuguese.lproj/Localizable.strings
624
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Russian.lproj/Localizable.strings
628
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Russian.lproj/Localizable.strings
625
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Slovak.lproj/Localizable.strings
629
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Slovak.lproj/Localizable.strings
626
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Slovenian.lproj/Localizable.strings
630
GNUstep/Local/Library/SOGo/Appointments.SOGo/Resources/Slovenian.lproj/Localizable.strings
Lines 648-656 Link Here
648
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
652
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
649
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Info-gnustep.plist
653
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Info-gnustep.plist
650
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Italian.lproj/Localizable.strings
654
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Italian.lproj/Localizable.strings
655
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
651
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
656
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
652
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
657
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
653
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Polish.lproj/Localizable.strings
658
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Polish.lproj/Localizable.strings
659
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
654
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Russian.lproj/Localizable.strings
660
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Russian.lproj/Localizable.strings
655
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Slovak.lproj/Localizable.strings
661
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Slovak.lproj/Localizable.strings
656
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Slovenian.lproj/Localizable.strings
662
GNUstep/Local/Library/SOGo/CommonUI.SOGo/Resources/Slovenian.lproj/Localizable.strings
Lines 679-687 Link Here
679
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Icelandic.lproj/Localizable.strings
685
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Icelandic.lproj/Localizable.strings
680
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Info-gnustep.plist
686
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Info-gnustep.plist
681
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Italian.lproj/Localizable.strings
687
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Italian.lproj/Localizable.strings
688
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Macedonian.lproj/Localizable.strings
682
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
689
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
683
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
690
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
684
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Polish.lproj/Localizable.strings
691
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Polish.lproj/Localizable.strings
692
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Portuguese.lproj/Localizable.strings
685
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Russian.lproj/Localizable.strings
693
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Russian.lproj/Localizable.strings
686
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Slovak.lproj/Localizable.strings
694
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Slovak.lproj/Localizable.strings
687
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Slovenian.lproj/Localizable.strings
695
GNUstep/Local/Library/SOGo/Contacts.SOGo/Resources/Slovenian.lproj/Localizable.strings
Lines 709-717 Link Here
709
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
717
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
710
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Info-gnustep.plist
718
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Info-gnustep.plist
711
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Italian.lproj/Localizable.strings
719
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Italian.lproj/Localizable.strings
720
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
712
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
721
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
713
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
722
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
714
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Polish.lproj/Localizable.strings
723
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Polish.lproj/Localizable.strings
724
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
715
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Russian.lproj/Localizable.strings
725
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Russian.lproj/Localizable.strings
716
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/SOGoContactFolder.toolbar
726
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/SOGoContactFolder.toolbar
717
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Slovak.lproj/Localizable.strings
727
GNUstep/Local/Library/SOGo/ContactsUI.SOGo/Resources/Slovak.lproj/Localizable.strings
Lines 741-749 Link Here
741
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Icelandic.lproj/Localizable.strings
751
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Icelandic.lproj/Localizable.strings
742
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Info-gnustep.plist
752
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Info-gnustep.plist
743
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Italian.lproj/Localizable.strings
753
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Italian.lproj/Localizable.strings
754
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Macedonian.lproj/Localizable.strings
744
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
755
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
745
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
756
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
746
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Polish.lproj/Localizable.strings
757
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Polish.lproj/Localizable.strings
758
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Portuguese.lproj/Localizable.strings
747
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Russian.lproj/Localizable.strings
759
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Russian.lproj/Localizable.strings
748
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Slovak.lproj/Localizable.strings
760
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Slovak.lproj/Localizable.strings
749
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Slovenian.lproj/Localizable.strings
761
GNUstep/Local/Library/SOGo/MailPartViewers.SOGo/Resources/Slovenian.lproj/Localizable.strings
Lines 770-778 Link Here
770
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Icelandic.lproj/Localizable.strings
782
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Icelandic.lproj/Localizable.strings
771
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Info-gnustep.plist
783
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Info-gnustep.plist
772
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Italian.lproj/Localizable.strings
784
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Italian.lproj/Localizable.strings
785
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Macedonian.lproj/Localizable.strings
773
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
786
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
774
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
787
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
775
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Polish.lproj/Localizable.strings
788
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Polish.lproj/Localizable.strings
789
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Portuguese.lproj/Localizable.strings
776
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Russian.lproj/Localizable.strings
790
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Russian.lproj/Localizable.strings
777
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Slovenian.lproj/Localizable.strings
791
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/Slovenian.lproj/Localizable.strings
778
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailArabicForward.wo/SOGoMailArabicForward.html
792
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailArabicForward.wo/SOGoMailArabicForward.html
Lines 831-836 Link Here
831
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailItalianForward.wo/SOGoMailItalianForward.wod
845
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailItalianForward.wo/SOGoMailItalianForward.wod
832
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailItalianReply.wo/SOGoMailItalianReply.html
846
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailItalianReply.wo/SOGoMailItalianReply.html
833
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailItalianReply.wo/SOGoMailItalianReply.wod
847
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailItalianReply.wo/SOGoMailItalianReply.wod
848
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailMacedonianForward.wo/SOGoMailMacedonianForward.html
849
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailMacedonianForward.wo/SOGoMailMacedonianForward.wod
850
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailMacedonianReply.wo/SOGoMailMacedonianReply.html
851
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailMacedonianReply.wo/SOGoMailMacedonianReply.wod
834
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailNorwegianBokmalForward.wo/SOGoMailNorwegianBokmalForward.html
852
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailNorwegianBokmalForward.wo/SOGoMailNorwegianBokmalForward.html
835
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailNorwegianBokmalForward.wo/SOGoMailNorwegianBokmalForward.wod
853
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailNorwegianBokmalForward.wo/SOGoMailNorwegianBokmalForward.wod
836
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailNorwegianBokmalReply.wo/SOGoMailNorwegianBokmalReply.html
854
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailNorwegianBokmalReply.wo/SOGoMailNorwegianBokmalReply.html
Lines 843-848 Link Here
843
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPolishForward.wo/SOGoMailPolishForward.wod
861
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPolishForward.wo/SOGoMailPolishForward.wod
844
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPolishReply.wo/SOGoMailPolishReply.html
862
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPolishReply.wo/SOGoMailPolishReply.html
845
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPolishReply.wo/SOGoMailPolishReply.wod
863
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPolishReply.wo/SOGoMailPolishReply.wod
864
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPortugueseForward.wo/SOGoMailPortugueseForward.html
865
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPortugueseForward.wo/SOGoMailPortugueseForward.wod
866
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPortugueseReply.wo/SOGoMailPortugueseReply.html
867
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailPortugueseReply.wo/SOGoMailPortugueseReply.wod
846
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailRussianForward.wo/SOGoMailRussianForward.html
868
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailRussianForward.wo/SOGoMailRussianForward.html
847
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailRussianForward.wo/SOGoMailRussianForward.wod
869
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailRussianForward.wo/SOGoMailRussianForward.wod
848
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailRussianReply.wo/SOGoMailRussianReply.html
870
GNUstep/Local/Library/SOGo/Mailer.SOGo/Resources/SOGoMailRussianReply.wo/SOGoMailRussianReply.html
Lines 899-907 Link Here
899
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
921
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
900
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Info-gnustep.plist
922
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Info-gnustep.plist
901
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Italian.lproj/Localizable.strings
923
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Italian.lproj/Localizable.strings
924
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
902
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
925
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
903
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
926
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
904
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Polish.lproj/Localizable.strings
927
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Polish.lproj/Localizable.strings
928
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
905
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Russian.lproj/Localizable.strings
929
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/Russian.lproj/Localizable.strings
906
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/SOGoDraftObject.toolbar
930
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/SOGoDraftObject.toolbar
907
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/SOGoMailFolder.toolbar
931
GNUstep/Local/Library/SOGo/MailerUI.SOGo/Resources/SOGoMailFolder.toolbar
Lines 948-953 Link Here
948
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Info-gnustep.plist
972
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Info-gnustep.plist
949
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Italian.lproj/Locale
973
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Italian.lproj/Locale
950
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Italian.lproj/Localizable.strings
974
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Italian.lproj/Localizable.strings
975
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Macedonian.lproj/Locale
976
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
951
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/NorwegianBokmal.lproj/Locale
977
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/NorwegianBokmal.lproj/Locale
952
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
978
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
953
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/NorwegianNynorsk.lproj/Locale
979
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/NorwegianNynorsk.lproj/Locale
Lines 956-961 Link Here
956
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/OCSFolderInfo.sql
982
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/OCSFolderInfo.sql
957
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Polish.lproj/Locale
983
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Polish.lproj/Locale
958
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Polish.lproj/Localizable.strings
984
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Polish.lproj/Localizable.strings
985
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Portuguese.lproj/Locale
986
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
959
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Russian.lproj/Locale
987
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Russian.lproj/Locale
960
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Russian.lproj/Localizable.strings
988
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/Russian.lproj/Localizable.strings
961
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/SOGoProfile-oracle.sql
989
GNUstep/Local/Library/SOGo/MainUI.SOGo/Resources/SOGoProfile-oracle.sql
Lines 993-1001 Link Here
993
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
1021
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
994
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Info-gnustep.plist
1022
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Info-gnustep.plist
995
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Italian.lproj/Localizable.strings
1023
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Italian.lproj/Localizable.strings
1024
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
996
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
1025
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
997
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
1026
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
998
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Polish.lproj/Localizable.strings
1027
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Polish.lproj/Localizable.strings
1028
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
999
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Russian.lproj/Localizable.strings
1029
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Russian.lproj/Localizable.strings
1000
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Slovak.lproj/Localizable.strings
1030
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Slovak.lproj/Localizable.strings
1001
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Slovenian.lproj/Localizable.strings
1031
GNUstep/Local/Library/SOGo/PreferencesUI.SOGo/Resources/Slovenian.lproj/Localizable.strings
Lines 1023-1031 Link Here
1023
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
1053
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Icelandic.lproj/Localizable.strings
1024
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Info-gnustep.plist
1054
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Info-gnustep.plist
1025
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Italian.lproj/Localizable.strings
1055
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Italian.lproj/Localizable.strings
1056
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Macedonian.lproj/Localizable.strings
1026
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
1057
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/NorwegianBokmal.lproj/Localizable.strings
1027
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
1058
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/NorwegianNynorsk.lproj/Localizable.strings
1028
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Polish.lproj/Localizable.strings
1059
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Polish.lproj/Localizable.strings
1060
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Portuguese.lproj/Localizable.strings
1029
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Russian.lproj/Localizable.strings
1061
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/Russian.lproj/Localizable.strings
1030
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/SOGoAppointmentFolders.toolbar
1062
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/SOGoAppointmentFolders.toolbar
1031
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/SOGoAppointmentObject.toolbar
1063
GNUstep/Local/Library/SOGo/SchedulerUI.SOGo/Resources/SOGoAppointmentObject.toolbar
Lines 1136-1141 Link Here
1136
GNUstep/Local/Library/SOGo/Templates/SOGoACLItalianAdditionAdvisory.wox
1168
GNUstep/Local/Library/SOGo/Templates/SOGoACLItalianAdditionAdvisory.wox
1137
GNUstep/Local/Library/SOGo/Templates/SOGoACLItalianModificationAdvisory.wox
1169
GNUstep/Local/Library/SOGo/Templates/SOGoACLItalianModificationAdvisory.wox
1138
GNUstep/Local/Library/SOGo/Templates/SOGoACLItalianRemovalAdvisory.wox
1170
GNUstep/Local/Library/SOGo/Templates/SOGoACLItalianRemovalAdvisory.wox
1171
GNUstep/Local/Library/SOGo/Templates/SOGoACLMacedonianAdditionAdvisory.wox
1172
GNUstep/Local/Library/SOGo/Templates/SOGoACLMacedonianModificationAdvisory.wox
1173
GNUstep/Local/Library/SOGo/Templates/SOGoACLMacedonianRemovalAdvisory.wox
1139
GNUstep/Local/Library/SOGo/Templates/SOGoACLNorwegianBokmalAdditionAdvisory.wox
1174
GNUstep/Local/Library/SOGo/Templates/SOGoACLNorwegianBokmalAdditionAdvisory.wox
1140
GNUstep/Local/Library/SOGo/Templates/SOGoACLNorwegianBokmalModificationAdvisory.wox
1175
GNUstep/Local/Library/SOGo/Templates/SOGoACLNorwegianBokmalModificationAdvisory.wox
1141
GNUstep/Local/Library/SOGo/Templates/SOGoACLNorwegianBokmalRemovalAdvisory.wox
1176
GNUstep/Local/Library/SOGo/Templates/SOGoACLNorwegianBokmalRemovalAdvisory.wox
Lines 1145-1150 Link Here
1145
GNUstep/Local/Library/SOGo/Templates/SOGoACLPolishAdditionAdvisory.wox
1180
GNUstep/Local/Library/SOGo/Templates/SOGoACLPolishAdditionAdvisory.wox
1146
GNUstep/Local/Library/SOGo/Templates/SOGoACLPolishModificationAdvisory.wox
1181
GNUstep/Local/Library/SOGo/Templates/SOGoACLPolishModificationAdvisory.wox
1147
GNUstep/Local/Library/SOGo/Templates/SOGoACLPolishRemovalAdvisory.wox
1182
GNUstep/Local/Library/SOGo/Templates/SOGoACLPolishRemovalAdvisory.wox
1183
GNUstep/Local/Library/SOGo/Templates/SOGoACLPortugueseAdditionAdvisory.wox
1184
GNUstep/Local/Library/SOGo/Templates/SOGoACLPortugueseModificationAdvisory.wox
1185
GNUstep/Local/Library/SOGo/Templates/SOGoACLPortugueseRemovalAdvisory.wox
1148
GNUstep/Local/Library/SOGo/Templates/SOGoACLRussianAdditionAdvisory.wox
1186
GNUstep/Local/Library/SOGo/Templates/SOGoACLRussianAdditionAdvisory.wox
1149
GNUstep/Local/Library/SOGo/Templates/SOGoACLRussianModificationAdvisory.wox
1187
GNUstep/Local/Library/SOGo/Templates/SOGoACLRussianModificationAdvisory.wox
1150
GNUstep/Local/Library/SOGo/Templates/SOGoACLRussianRemovalAdvisory.wox
1188
GNUstep/Local/Library/SOGo/Templates/SOGoACLRussianRemovalAdvisory.wox
Lines 1153-1159 Link Here
1153
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovakRemovalAdvisory.wox
1191
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovakRemovalAdvisory.wox
1154
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovenianAdditionAdvisory.wox
1192
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovenianAdditionAdvisory.wox
1155
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovenianRemovalAdvisory.wox
1193
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovenianRemovalAdvisory.wox
1156
GNUstep/Local/Library/SOGo/Templates/SOGoACLSolvenianModificationAdvisory.wox
1194
GNUstep/Local/Library/SOGo/Templates/SOGoACLSlovenianModificationAdvisory.wox
1157
GNUstep/Local/Library/SOGo/Templates/SOGoACLSpanishArgentinaAdditionAdvisory.wox
1195
GNUstep/Local/Library/SOGo/Templates/SOGoACLSpanishArgentinaAdditionAdvisory.wox
1158
GNUstep/Local/Library/SOGo/Templates/SOGoACLSpanishArgentinaModificationAdvisory.wox
1196
GNUstep/Local/Library/SOGo/Templates/SOGoACLSpanishArgentinaModificationAdvisory.wox
1159
GNUstep/Local/Library/SOGo/Templates/SOGoACLSpanishArgentinaRemovalAdvisory.wox
1197
GNUstep/Local/Library/SOGo/Templates/SOGoACLSpanishArgentinaRemovalAdvisory.wox
Lines 1196-1207 Link Here
1196
GNUstep/Local/Library/SOGo/Templates/SOGoFolderIcelandicRemovalAdvisory.wox
1234
GNUstep/Local/Library/SOGo/Templates/SOGoFolderIcelandicRemovalAdvisory.wox
1197
GNUstep/Local/Library/SOGo/Templates/SOGoFolderItalianAdditionAdvisory.wox
1235
GNUstep/Local/Library/SOGo/Templates/SOGoFolderItalianAdditionAdvisory.wox
1198
GNUstep/Local/Library/SOGo/Templates/SOGoFolderItalianRemovalAdvisory.wox
1236
GNUstep/Local/Library/SOGo/Templates/SOGoFolderItalianRemovalAdvisory.wox
1237
GNUstep/Local/Library/SOGo/Templates/SOGoFolderMacedonianAdditionAdvisory.wox
1238
GNUstep/Local/Library/SOGo/Templates/SOGoFolderMacedonianRemovalAdvisory.wox
1199
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianBokmalAdditionAdvisory.wox
1239
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianBokmalAdditionAdvisory.wox
1200
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianBokmalRemovalAdvisory.wox
1240
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianBokmalRemovalAdvisory.wox
1201
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianNynorskAdditionAdvisory.wox
1241
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianNynorskAdditionAdvisory.wox
1202
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianNynorskRemovalAdvisory.wox
1242
GNUstep/Local/Library/SOGo/Templates/SOGoFolderNorwegianNynorskRemovalAdvisory.wox
1203
GNUstep/Local/Library/SOGo/Templates/SOGoFolderPolishAdditionAdvisory.wox
1243
GNUstep/Local/Library/SOGo/Templates/SOGoFolderPolishAdditionAdvisory.wox
1204
GNUstep/Local/Library/SOGo/Templates/SOGoFolderPolishRemovalAdvisory.wox
1244
GNUstep/Local/Library/SOGo/Templates/SOGoFolderPolishRemovalAdvisory.wox
1245
GNUstep/Local/Library/SOGo/Templates/SOGoFolderPortugueseAdditionAdvisory.wox
1246
GNUstep/Local/Library/SOGo/Templates/SOGoFolderPortugueseRemovalAdvisory.wox
1205
GNUstep/Local/Library/SOGo/Templates/SOGoFolderRussianAdditionAdvisory.wox
1247
GNUstep/Local/Library/SOGo/Templates/SOGoFolderRussianAdditionAdvisory.wox
1206
GNUstep/Local/Library/SOGo/Templates/SOGoFolderRussianRemovalAdvisory.wox
1248
GNUstep/Local/Library/SOGo/Templates/SOGoFolderRussianRemovalAdvisory.wox
1207
GNUstep/Local/Library/SOGo/Templates/SOGoFolderSlovakAdditionAdvisory.wox
1249
GNUstep/Local/Library/SOGo/Templates/SOGoFolderSlovakAdditionAdvisory.wox
Lines 1380-1389 Link Here
1380
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/hu.js
1422
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/hu.js
1381
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/is.js
1423
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/is.js
1382
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/it.js
1424
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/it.js
1425
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/mk.js
1383
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/nb.js
1426
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/nb.js
1384
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/nl.js
1427
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/nl.js
1385
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/no.js
1428
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/no.js
1386
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/pl.js
1429
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/pl.js
1430
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/pt.js
1387
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/pt-br.js
1431
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/pt-br.js
1388
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/ru.js
1432
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/ru.js
1389
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/sk.js
1433
GNUstep/Local/Library/SOGo/WebServerResources/ckeditor/lang/sk.js
Lines 1769-1774 Link Here
1769
@mode 0600
1813
@mode 0600
1770
@sample %%ETCDIR%%/expire-autoreply.creds.sample
1814
@sample %%ETCDIR%%/expire-autoreply.creds.sample
1771
@sample %%ETCDIR%%/ealarms-notify.creds.sample
1815
@sample %%ETCDIR%%/ealarms-notify.creds.sample
1816
@owner
1817
@group
1772
@mode 0755
1818
@mode 0755
1773
@sample GNUstep/Local/Tools/Admin/cron-ealarms-notify.sample
1819
@sample GNUstep/Local/Tools/Admin/cron-ealarms-notify.sample
1774
@sample GNUstep/Local/Tools/Admin/cron-expire-autoreply.sample
1820
@sample GNUstep/Local/Tools/Admin/cron-expire-autoreply.sample
1821
@mode 0644
1822
@sample %%ETCDIR%%/SOGo-Apache.conf.sample
1823
@sample %%ETCDIR%%/SOGo-apple-ab.Apache.conf.sample
1824
@mode

Return to bug 204618