Remove pointless #include from .m and .h files

This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
pull/199/head
Patrice Levesque 2016-02-13 17:41:54 -05:00
parent 7c25b53fdf
commit bd56f4cf9f
109 changed files with 0 additions and 307 deletions

View File

@ -30,7 +30,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import "NSArray+SyncCache.h" #import "NSArray+SyncCache.h"
#include "SOGoSyncCacheObject.h"
@implementation NSMutableArray (SyncCache) @implementation NSMutableArray (SyncCache)

View File

@ -33,9 +33,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
#include <wbxml/wbxml.h>
#include <wbxml/wbxml_conv.h>
#include <wbxml/wbxml_errors.h>
#define WBXMLDEBUG 0 #define WBXMLDEBUG 0

View File

@ -31,7 +31,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define __NSSTRINGACTIVESYNC_H__ #define __NSSTRINGACTIVESYNC_H__
#include "SOGoActiveSyncConstants.h"
@class NSCalendarDate; @class NSCalendarDate;
@class NSData; @class NSData;

View File

@ -29,16 +29,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "NSString+ActiveSync.h" #include "NSString+ActiveSync.h"
#include <Foundation/NSArray.h>
#include <Foundation/NSCalendarDate.h>
#include <Foundation/NSData.h>
#include <Foundation/NSDate.h>
#include <Foundation/NSTimeZone.h>
#include <SOGo/NSString+Utilities.h> #include <SOGo/NSString+Utilities.h>
#include <SOGo/NSData+Crypto.h> #include <SOGo/NSData+Crypto.h>
#include <NGExtensions/NGBase64Coding.h>
#include <NGExtensions/NSString+misc.h> #include <NGExtensions/NSString+misc.h>
static NSArray *easCommandCodes = nil; static NSArray *easCommandCodes = nil;

View File

@ -58,11 +58,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "NSDate+ActiveSync.h" #include "NSDate+ActiveSync.h"
#include "NSData+ActiveSync.h" #include "NSData+ActiveSync.h"
#include "NSString+ActiveSync.h" #include "NSString+ActiveSync.h"
#include "SOGoActiveSyncConstants.h"
#include "SOGoMailObject+ActiveSync.h" #include "SOGoMailObject+ActiveSync.h"
#include "SOGoSyncCacheObject.h"
#include <unistd.h>
@implementation SOGoActiveSyncDispatcher (Sync) @implementation SOGoActiveSyncDispatcher (Sync)

View File

@ -27,7 +27,6 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "SOGoActiveSyncDispatcher.h"
#if GNUSTEP_BASE_MINOR_VERSION >= 21 #if GNUSTEP_BASE_MINOR_VERSION >= 21
#endif #endif
@ -68,16 +67,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "NSData+ActiveSync.h" #include "NSData+ActiveSync.h"
#include "NSDate+ActiveSync.h" #include "NSDate+ActiveSync.h"
#include "NSString+ActiveSync.h" #include "NSString+ActiveSync.h"
#include "SOGoActiveSyncConstants.h"
#include "SOGoMailObject+ActiveSync.h" #include "SOGoMailObject+ActiveSync.h"
#include <unistd.h>
#ifdef HAVE_OPENSSL #ifdef HAVE_OPENSSL
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/x509.h>
#endif #endif
@interface SOGoActiveSyncDispatcher (Sync) @interface SOGoActiveSyncDispatcher (Sync)

View File

@ -47,8 +47,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <Appointments/iCalEntityObject+SOGo.h> #include <Appointments/iCalEntityObject+SOGo.h>
#include <Appointments/iCalPerson+SOGo.h> #include <Appointments/iCalPerson+SOGo.h>
#include <Mailer/NSString+Mail.h> #include <Mailer/NSString+Mail.h>
#include <Mailer/SOGoMailBodyPart.h>
#include <SOGo/SOGoUser.h>
#include <SOGo/NSString+Utilities.h> #include <SOGo/NSString+Utilities.h>

View File

@ -28,7 +28,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "SOGoSyncCacheObject.h"
static Class NSNullK; static Class NSNullK;

View File

@ -29,10 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <NGObjWeb/SoObject+SoDAV.h> #include <NGObjWeb/SoObject+SoDAV.h>
#include <NGObjWeb/WEClientCapabilities.h>
#include <NGObjWeb/WOContext.h>
#include <NGObjWeb/WORequest.h>
#include <NGObjWeb/WOResponse.h>
@interface SoObjectWebDAVDispatcher (ActiveSync) @interface SoObjectWebDAVDispatcher (ActiveSync)

View File

@ -29,11 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#import "iCalTimeZone+ActiveSync.h" #import "iCalTimeZone+ActiveSync.h"
#include <Foundation/NSArray.h>
#include <Foundation/NSCalendarDate.h>
#include <Foundation/NSData.h>
#include <Foundation/NSDate.h>
#include <Foundation/NSString.h>

View File

@ -19,7 +19,6 @@
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330, * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <execinfo.h>
#import "NSException+Stacktrace.h" #import "NSException+Stacktrace.h"

View File

@ -21,7 +21,6 @@
*/ */
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#import <Foundation/NSAutoreleasePool.h> #import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSTimeZone.h> #import <Foundation/NSTimeZone.h>

View File

@ -20,7 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
#import <NGExtensions/NSCalendarDate+misc.h> #import <NGExtensions/NSCalendarDate+misc.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
@ -35,15 +34,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <gen_ndr/property.h>
#include <gen_ndr/ndr_property.h>
#include <util/attr.h>
#include <libmapi/libmapi.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
static NSCharacterSet *hexCharacterSet = nil; static NSCharacterSet *hexCharacterSet = nil;

View File

@ -24,10 +24,6 @@
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreAttachment @implementation MAPIStoreAttachment

View File

@ -32,10 +32,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreCalendarAttachment @implementation MAPIStoreCalendarAttachment

View File

@ -24,7 +24,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreCalendarFolderK; static Class MAPIStoreCalendarFolderK;

View File

@ -20,7 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
#import <NGObjWeb/WOContext+SoObjects.h> #import <NGObjWeb/WOContext+SoObjects.h>
@ -30,7 +29,6 @@
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreCalendarEmbeddedMessage @implementation MAPIStoreCalendarEmbeddedMessage

View File

@ -26,9 +26,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_errors.h>
#include <util/time.h>
#include <gen_ndr/exchange.h>
@implementation MAPIStoreCalendarFolder @implementation MAPIStoreCalendarFolder

View File

@ -24,8 +24,6 @@
- merge common code with tasks - merge common code with tasks
- take the tz definitions from Outlook */ - take the tz definitions from Outlook */
#include <talloc.h>
#include <util/attr.h>
#import <NGObjWeb/WOContext+SoObjects.h> #import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
@ -41,13 +39,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <gen_ndr/property.h>
#include <libmapi/libmapi.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
// extern void ndr_print_AppointmentRecurrencePattern(struct ndr_print *ndr, const char *name, const struct AppointmentRecurrencePattern *r); // extern void ndr_print_AppointmentRecurrencePattern(struct ndr_print *ndr, const char *name, const struct AppointmentRecurrencePattern *r);

View File

@ -27,7 +27,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_nameid.h>
static Class MAPIStoreCalendarMessageK = Nil; static Class MAPIStoreCalendarMessageK = Nil;

View File

@ -27,7 +27,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_errors.h>
/* TODO: handle URL pictures via PidTagAttachMethod = ref ? */ /* TODO: handle URL pictures via PidTagAttachMethod = ref ? */

View File

@ -25,7 +25,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreContactsFolderK; static Class MAPIStoreContactsFolderK;

View File

@ -25,9 +25,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <util/time.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreContactsFolder @implementation MAPIStoreContactsFolder

View File

@ -34,11 +34,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
@implementation SOGoContactGCSEntry (MAPIStoreExtension) @implementation SOGoContactGCSEntry (MAPIStoreExtension)

View File

@ -30,7 +30,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_nameid.h>
static Class MAPIStoreContactsMessageK, NGMailAddressK, NSDataK, NSStringK; static Class MAPIStoreContactsMessageK, NGMailAddressK, NSDataK, NSStringK;

View File

@ -23,7 +23,6 @@
#ifndef MAPISTORECONTEXT_H #ifndef MAPISTORECONTEXT_H
#define MAPISTORECONTEXT_H #define MAPISTORECONTEXT_H
#include <talloc.h>
@class NSArray; @class NSArray;

View File

@ -32,15 +32,6 @@
#undef DEBUG #undef DEBUG
#include <dlinklist.h>
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <util/attr.h>
#include <libmapiproxy.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
#include <talloc.h>
/* TODO: homogenize method names and order of parameters */ /* TODO: homogenize method names and order of parameters */

View File

@ -27,7 +27,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreDBFolderK; static Class MAPIStoreDBFolderK;

View File

@ -20,15 +20,12 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <inttypes.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
#import <SOGo/EOQualifier+SOGoCacheObject.h> #import <SOGo/EOQualifier+SOGoCacheObject.h>
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
static Class EOKeyValueQualifierK, SOGoCacheGCSFolderK, MAPIStoreDBFolderK; static Class EOKeyValueQualifierK, SOGoCacheGCSFolderK, MAPIStoreDBFolderK;

View File

@ -28,8 +28,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreDBMessage @implementation MAPIStoreDBMessage

View File

@ -25,7 +25,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreDBMessageK = Nil; static Class MAPIStoreDBMessageK = Nil;

View File

@ -24,7 +24,6 @@
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#include <mapistore/mapistore_errors.h>
static Class MAPIStoreAttachmentK; static Class MAPIStoreAttachmentK;

View File

@ -25,11 +25,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <util/time.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreFAIMessage @implementation MAPIStoreFAIMessage

View File

@ -24,9 +24,6 @@
#undef DEBUG #undef DEBUG
#include <talloc.h>
#include <util/time.h>
#include <mapistore/mapistore.h>
static Class MAPIStoreFAIMessageK = Nil; static Class MAPIStoreFAIMessageK = Nil;

View File

@ -23,9 +23,6 @@
#undef DEBUG #undef DEBUG
#include <inttypes.h>
#include <dlinklist.h>
#include <mapistore/mapistore.h>
@implementation MAPIStoreFallbackContext @implementation MAPIStoreFallbackContext

View File

@ -29,13 +29,8 @@
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#import "SOGoCacheGCSObject+MAPIStore.h" #import "SOGoCacheGCSObject+MAPIStore.h"
#include <gen_ndr/exchange.h>
#undef DEBUG #undef DEBUG
#include <util/attr.h>
#include <libmapiproxy.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMessageTableK, MAPIStoreFolderTableK; Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMessageTableK, MAPIStoreFolderTableK;

View File

@ -26,9 +26,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_nameid.h>
#include <libmapiproxy.h>
@implementation MAPIStoreFolderTable @implementation MAPIStoreFolderTable

View File

@ -26,8 +26,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <dlinklist.h>
@implementation MAPIStoreGCSBaseContext @implementation MAPIStoreGCSBaseContext

View File

@ -30,8 +30,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
static Class NSNumberK; static Class NSNumberK;

View File

@ -27,8 +27,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreGCSMessage @implementation MAPIStoreGCSMessage

View File

@ -29,7 +29,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
@implementation MAPIStoreGCSMessageTable @implementation MAPIStoreGCSMessageTable

View File

@ -30,10 +30,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreMailAttachment @implementation MAPIStoreMailAttachment

View File

@ -27,9 +27,7 @@
#import <SOGo/NSString+Utilities.h> #import <SOGo/NSString+Utilities.h>
#include <dlinklist.h>
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreMailFolderK, MAPIStoreOutboxFolderK; static Class MAPIStoreMailFolderK, MAPIStoreOutboxFolderK;

View File

@ -18,7 +18,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
#import <NGObjWeb/WOContext+SoObjects.h> #import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
@ -35,15 +34,8 @@
static Class SOGoMailFolderK, MAPIStoreMailFolderK, MAPIStoreOutboxFolderK; static Class SOGoMailFolderK, MAPIStoreMailFolderK, MAPIStoreOutboxFolderK;
#include <gen_ndr/exchange.h>
#undef DEBUG #undef DEBUG
#include <util/attr.h>
#include <libmapi/libmapi.h>
#include <libmapiproxy.h>
#include <limits.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreMailFolder @implementation MAPIStoreMailFolder

View File

@ -34,10 +34,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@class iCalCalendar, iCalEvent; @class iCalCalendar, iCalEvent;

View File

@ -30,8 +30,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_nameid.h>
@implementation MAPIStoreMailMessageTable @implementation MAPIStoreMailMessageTable

View File

@ -39,9 +39,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
static Class NSNumberK = Nil; static Class NSNumberK = Nil;

View File

@ -20,7 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <inttypes.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
@ -29,12 +28,9 @@
#import <SOGo/NSString+Utilities.h> #import <SOGo/NSString+Utilities.h>
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <talloc.h>
static NSMutableDictionary *mappingRegistry = nil; static NSMutableDictionary *mappingRegistry = nil;

View File

@ -28,10 +28,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
static Class MAPIStoreFolderK, MAPIStoreEmbeddedMessageK; static Class MAPIStoreFolderK, MAPIStoreEmbeddedMessageK;

View File

@ -24,7 +24,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
@implementation MAPIStoreNotesContext @implementation MAPIStoreNotesContext

View File

@ -22,7 +22,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreNotesFolder @implementation MAPIStoreNotesFolder

View File

@ -25,7 +25,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreNotesMessage @implementation MAPIStoreNotesMessage

View File

@ -23,7 +23,6 @@
#ifndef MAPISTOREOBJECT_H #ifndef MAPISTOREOBJECT_H
#define MAPISTOREOBJECT_H #define MAPISTOREOBJECT_H
#include <talloc.h>
@class NSDate; @class NSDate;

View File

@ -29,11 +29,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreObject @implementation MAPIStoreObject

View File

@ -23,7 +23,6 @@
#ifndef MAPISTOREOBJECTPROXY_H #ifndef MAPISTOREOBJECTPROXY_H
#define MAPISTOREOBJECTPROXY_H #define MAPISTOREOBJECTPROXY_H
#include <talloc.h>
@interface MAPIStoreObjectProxy : NSObject @interface MAPIStoreObjectProxy : NSObject

View File

@ -24,11 +24,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreObjectProxy @implementation MAPIStoreObjectProxy

View File

@ -26,8 +26,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStorePermissionEntry @implementation MAPIStorePermissionEntry

View File

@ -23,7 +23,6 @@
#ifndef MAPISTORERECURRENCEUTILS_H #ifndef MAPISTORERECURRENCEUTILS_H
#define MAPISTORERECURRENCEUTILS_H #define MAPISTORERECURRENCEUTILS_H
#include <talloc.h>
@class iCalEvent; @class iCalEvent;

View File

@ -27,10 +27,6 @@
#import "NSDate+MAPIStore.h" #import "NSDate+MAPIStore.h"
#include <stdbool.h>
#include <talloc.h>
#include <util/time.h>
#include <gen_ndr/property.h>
@implementation iCalCalendar (MAPIStoreRecurrence) @implementation iCalCalendar (MAPIStoreRecurrence)

View File

@ -27,10 +27,6 @@
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <libmapi/libmapi.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <execinfo.h>
static Class MAPIStoreContextK = Nil; static Class MAPIStoreContextK = Nil;
static BOOL leakDebugging = NO; static BOOL leakDebugging = NO;

View File

@ -23,7 +23,6 @@
#ifndef MAPISTORESOGOOBJECT_H #ifndef MAPISTORESOGOOBJECT_H
#define MAPISTORESOGOOBJECT_H #define MAPISTORESOGOOBJECT_H
#include <talloc.h>
@class NSDate; @class NSDate;

View File

@ -29,11 +29,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreSOGoObject @implementation MAPIStoreSOGoObject

View File

@ -25,7 +25,6 @@
@class NSString; @class NSString;
#include <mapistore/mapistore.h>
NSString *MAPIStoreSamDBUserAttribute (struct mapistore_connection_info *connInfo, NSString *MAPIStoreSamDBUserAttribute (struct mapistore_connection_info *connInfo,
NSString *userKey, NSString *userKey,

View File

@ -20,10 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
#include <ldb.h>
#include <libmapiproxy.h>
#include <samba/version.h>
#import "NSData+MAPIStore.h" #import "NSData+MAPIStore.h"

View File

@ -20,7 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
@ -30,9 +29,6 @@
#import "NSValue+MAPIStore.h" #import "NSValue+MAPIStore.h"
#include <gen_ndr/property.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
@implementation MAPIStoreSharingMessage @implementation MAPIStoreSharingMessage

View File

@ -23,12 +23,10 @@
#ifndef MAPISTORETABLE_H #ifndef MAPISTORETABLE_H
#define MAPISTORETABLE_H #define MAPISTORETABLE_H
#include <talloc.h>
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#define SENSITIVITY_NONE 0 #define SENSITIVITY_NONE 0
#define SENSITIVITY_PERSONAL 1 #define SENSITIVITY_PERSONAL 1

View File

@ -29,9 +29,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <libmapiproxy.h>
@interface MAPIStoreTable (Private) @interface MAPIStoreTable (Private)

View File

@ -24,7 +24,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreTasksFolderK; static Class MAPIStoreTasksFolderK;

View File

@ -25,9 +25,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <util/time.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreTasksFolder @implementation MAPIStoreTasksFolder

View File

@ -32,11 +32,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
@implementation SOGoTaskObject (MAPIStoreExtension) @implementation SOGoTaskObject (MAPIStoreExtension)

View File

@ -29,7 +29,6 @@
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#include <mapistore/mapistore_nameid.h>
static Class MAPIStoreTasksMessageK = Nil; static Class MAPIStoreTasksMessageK = Nil;

View File

@ -24,10 +24,6 @@
#define MAPISTORETYPES_H #define MAPISTORETYPES_H
#include <stdbool.h>
#include <talloc.h>
#include <util/time.h>
#include <gen_ndr/exchange.h>
@class NSData; @class NSData;
@class NSDictionary; @class NSDictionary;

View File

@ -27,8 +27,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
NSTimeZone *utcTZ; NSTimeZone *utcTZ;

View File

@ -28,11 +28,6 @@
#import "NSArray+MAPIStore.h" #import "NSArray+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <util/time.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
@implementation NSArray (MAPIStoreFolders) @implementation NSArray (MAPIStoreFolders)

View File

@ -28,11 +28,6 @@
#import "NSData+MAPIStore.h" #import "NSData+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <libmapi/libmapi.h>
#include <talloc.h>
#include <util/time.h>
#include <gen_ndr/exchange.h>
@implementation NSData (MAPIStoreDataTypes) @implementation NSData (MAPIStoreDataTypes)

View File

@ -24,10 +24,6 @@
#import "NSDate+MAPIStore.h" #import "NSDate+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <util/time.h>
#include <mapistore/mapistore.h>
static NSCalendarDate *refDate = nil; static NSCalendarDate *refDate = nil;

View File

@ -24,8 +24,6 @@
#define NSOBJECT_MAPISTORE_H #define NSOBJECT_MAPISTORE_H
#include <talloc.h>
#include <mapistore/mapistore_errors.h>
struct MAPIStoreTallocWrapper struct MAPIStoreTallocWrapper
{ {

View File

@ -31,8 +31,6 @@
#import "NSObject+MAPIStore.h" #import "NSObject+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation NSObject (MAPIStoreTallocHelpers) @implementation NSObject (MAPIStoreTallocHelpers)

View File

@ -20,16 +20,11 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
#include <stdbool.h>
#import "NSString+MAPIStore.h" #import "NSString+MAPIStore.h"
#undef DEBUG #undef DEBUG
#include <talloc.h>
#include <util/time.h>
#include <mapistore/mapistore.h>
@implementation NSString (MAPIStoreDataTypes) @implementation NSString (MAPIStoreDataTypes)

View File

@ -20,7 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <talloc.h>
#import "NSValue+MAPIStore.h" #import "NSValue+MAPIStore.h"

View File

@ -19,11 +19,8 @@
02111-1307, USA. 02111-1307, USA.
*/ */
#include <Foundation/NSArray.h>
#include <Foundation/NSData.h> #include <Foundation/NSData.h>
#include <Foundation/NSMapTable.h> #include <Foundation/NSMapTable.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
// //
// //

View File

@ -21,7 +21,6 @@
#include "RTFHandler.h" #include "RTFHandler.h"
#include <Foundation/NSValue.h> #include <Foundation/NSValue.h>
#include <Foundation/NSException.h>
// //
// Useful macros // Useful macros

View File

@ -21,7 +21,6 @@
#ifndef SOGOCACHEGCSOBJECTMAPISTORE #ifndef SOGOCACHEGCSOBJECTMAPISTORE
#define SOGOCACHEGCSOBJECTMAPISTORE #define SOGOCACHEGCSOBJECTMAPISTORE
#include <SOGo/SOGoCacheGCSObject.h>
@interface SOGoCacheGCSObject (MAPIStore) @interface SOGoCacheGCSObject (MAPIStore)

View File

@ -19,7 +19,6 @@
*/ */
#include "MAPIStoreTypes.h"
#include "SOGoCacheGCSObject+MAPIStore.h" #include "SOGoCacheGCSObject+MAPIStore.h"

View File

@ -22,7 +22,6 @@
#undef DEBUG #undef DEBUG
#include <mapistore/mapistore.h>
const MAPIStorePropertyGetter * const MAPIStorePropertyGetter *
MAPIStorePropertyGettersForClass (Class klass) MAPIStorePropertyGettersForClass (Class klass)

View File

@ -23,7 +23,6 @@
#ifndef ICALEVENT_MAPISTORE_H #ifndef ICALEVENT_MAPISTORE_H
#define ICALEVENT_MAPISTORE_H #define ICALEVENT_MAPISTORE_H
#include <talloc.h>
@class MAPIStoreUserContext; @class MAPIStoreUserContext;

View File

@ -20,7 +20,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <util/attr.h>
#import <NGObjWeb/WOContext+SoObjects.h> #import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>
@ -35,13 +34,6 @@
#undef DEBUG #undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <gen_ndr/property.h>
#include <libmapi/libmapi.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
#import "iCalEvent+MAPIStore.h" #import "iCalEvent+MAPIStore.h"
#import "iCalTimeZone+MAPIStore.h" #import "iCalTimeZone+MAPIStore.h"

View File

@ -25,11 +25,7 @@
#import "NSData+MAPIStore.h" #import "NSData+MAPIStore.h"
#import "NSDate+MAPIStore.h" #import "NSDate+MAPIStore.h"
#include <stdbool.h>
#include <stdint.h>
#include <talloc.h>
#undef DEBUG #undef DEBUG
#include <libmapi/libmapi.h>
#import "iCalTimeZone+MAPIStore.h" #import "iCalTimeZone+MAPIStore.h"

View File

@ -27,4 +27,3 @@
# include <NGExtensions/NSString+Ext.h> # include <NGExtensions/NSString+Ext.h>
#endif #endif
#include <NGExtensions/NGExtensions.h>

View File

@ -33,11 +33,6 @@
@end @end
#include <NGCards/iCalDataSource.h>
#include <NGCards/iCalObject.h>
#include <EOControl/EOQualifier.h>
#include <EOControl/EOSortOrdering.h>
#include "common.h"
@implementation iCal3Tool @implementation iCal3Tool

View File

@ -19,7 +19,6 @@
02111-1307, USA. 02111-1307, USA.
*/ */
#include <SaxObjC/SaxObjC.h>
@interface iCal2Tool : NSObject @interface iCal2Tool : NSObject
{ {

View File

@ -19,10 +19,6 @@
02111-1307, USA. 02111-1307, USA.
*/ */
#include <NGCards/iCalRecurrenceRule.h>
#include <NGCards/iCalRecurrenceCalculator.h>
#include <NGExtensions/NGCalendarDateRange.h>
#include "common.h"
static NSCalendarDate *dateForString(NSString *_s) { static NSCalendarDate *dateForString(NSString *_s) {
// copied from ogo-chkaptconflicts, maybe move to NGExtensions? // copied from ogo-chkaptconflicts, maybe move to NGExtensions?

View File

@ -21,7 +21,6 @@
// Note: this does not yet produce valid XML output // Note: this does not yet produce valid XML output
#include <SaxObjC/SaxObjC.h>
@interface vcf2xml : NSObject @interface vcf2xml : NSObject
{ {
@ -33,7 +32,6 @@
@end @end
#include "common.h"
@interface MySAXHandler : SaxDefaultHandler @interface MySAXHandler : SaxDefaultHandler
{ {

View File

@ -22,7 +22,5 @@
#ifndef __NGiCalTests_common_H__ #ifndef __NGiCalTests_common_H__
#define __NGiCalTests_common_H__ #define __NGiCalTests_common_H__
#include <NGExtensions/NGExtensions.h>
#include <NGExtensions/NGCalendarDateRange.h>
#endif /* __NGiCalTests_common_H__ */ #endif /* __NGiCalTests_common_H__ */

View File

@ -19,7 +19,6 @@
02111-1307, USA. 02111-1307, USA.
*/ */
#include "common.h"
@class NGCalendarDateRange; @class NGCalendarDateRange;
@class iCalRecurrenceRule; @class iCalRecurrenceRule;
@ -36,8 +35,6 @@
@end @end
#include "iCalRecurrenceRule.h"
#include "iCalRecurrenceCalculator.h"
@implementation iCalRecurrenceCalculatorTests @implementation iCalRecurrenceCalculatorTests

View File

@ -22,4 +22,3 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#include <NGExtensions/NGObjectMacros.h>

View File

@ -23,7 +23,6 @@
#include "SOGoSource.h" #include "SOGoSource.h"
#include "SOGoConstants.h"
@class LDAPSourceSchema; @class LDAPSourceSchema;
@class NGLdapEntry; @class NGLdapEntry;

View File

@ -18,7 +18,6 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <ldap.h>
#import <NGExtensions/NSObject+Logs.h> #import <NGExtensions/NSObject+Logs.h>

View File

@ -27,8 +27,6 @@
#include <crypt.h> #include <crypt.h>
#endif #endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
@ -36,7 +34,6 @@
#include <unistd.h> #include <unistd.h>
#if defined(HAVE_GNUTLS) #if defined(HAVE_GNUTLS)
#include <stdint.h>
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#include <gnutls/crypto.h> #include <gnutls/crypto.h>
#include "md4.h" #include "md4.h"
@ -46,10 +43,6 @@
#define SHA256_DIGEST_LENGTH 32 #define SHA256_DIGEST_LENGTH 32
#define SHA512_DIGEST_LENGTH 64 #define SHA512_DIGEST_LENGTH 64
#elif defined(HAVE_OPENSSL) #elif defined(HAVE_OPENSSL)
#include <openssl/evp.h>
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#else #else
#error this module requires either gnutls or openssl #error this module requires either gnutls or openssl
#endif #endif

View File

@ -29,7 +29,6 @@
#import "NSData+Crypto.h" #import "NSData+Crypto.h"
#import <NGExtensions/NGBase64Coding.h> #import <NGExtensions/NGBase64Coding.h>
#include "lmhash.h"
@implementation NSString (SOGoCryptoExtension) @implementation NSString (SOGoCryptoExtension)

Some files were not shown because too many files have changed in this diff Show More