]> err.no Git - sope/commitdiff
fixed gstep-base compile warnings
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 17 Nov 2005 16:25:43 +0000 (16:25 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 17 Nov 2005 16:25:43 +0000 (16:25 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1178 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

32 files changed:
sope-core/EOControl/ChangeLog
sope-core/EOControl/EOKeyValueQualifier.m
sope-core/EOControl/Version
sope-core/EOControl/common.h
sope-core/NGExtensions/ChangeLog
sope-core/NGExtensions/FdExt.subproj/NSCalendarDate+misc.m
sope-core/NGExtensions/Version
sope-ical/NGiCal/ChangeLog
sope-ical/NGiCal/NGVCardSaxHandler.m
sope-ical/NGiCal/Version
sope-ical/NGiCal/iCalMonthlyRecurrenceCalculator.m
sope-ical/versitSaxDriver/ChangeLog
sope-ical/versitSaxDriver/VSSaxDriver.m
sope-ical/versitSaxDriver/Version
sope-mime/ChangeLog
sope-mime/NGMail/NGMBoxReader.m
sope-mime/NGMail/NGMailAddressParser.m
sope-mime/NGMail/NGMimeMessageGenerator.m
sope-mime/NGMail/NGMimeMessageParser.m
sope-mime/NGMime/ChangeLog
sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m
sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m
sope-mime/NGMime/NGMimeContentTypeHeaderFieldGenerator.m
sope-mime/NGMime/NGMimeFileData.m
sope-mime/NGMime/NGMimeJoinedData.m
sope-mime/NGMime/NGMimeMultipartBodyGenerator.m
sope-mime/NGMime/NGMimeMultipartBodyParser.m
sope-mime/NGMime/NGMimePartParser.m
sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m
sope-mime/NGMime/NGMimeType.m
sope-mime/NGMime/NGMimeUtilities.m
sope-mime/Version

index a64d451592bf2518fe763d5116ae3fc9c6e069f8..4d85b6d3fe420a628d1ed6ff0e49c8cdf8a8dfee 100644 (file)
@@ -1,3 +1,11 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * v4.5.62
+
+       * EOKeyValueQualifier.m: fixed some SEL related warnings
+
+       * common.h: properly include string.h
+
 2005-10-03  Helge Hess  <helge.hess@opengroupware.org>
 
        * EOKeyValueQualifier.m: improved -description in edge conditions,
index 29f67c32295f9a0493324bf58248b94037e0512c..4e97e5959290daa9891b2b744b7d6963b7cde00c 100644 (file)
@@ -47,7 +47,7 @@ static EONull *null = nil;
   self->value    = [_value retain];
   self->operator = _selector;
   
-  if (_selector == nil) {
+  if (_selector == NULL) {
     NSLog(@"WARNING(%s): got no selector for kv qualifier (key=%@)", 
          __PRETTY_FUNCTION__, _key);
   }
@@ -212,7 +212,7 @@ static EONull *null = nil;
   self->value = [[_coder decodeObject] retain];
   [_coder decodeValueOfObjCType:@encode(SEL) at:&(self->operator)];
 
-  if (self->operator == nil) {
+  if (self->operator == NULL) {
     NSLog(@"WARNING(%s): decoded no selector for kv qualifier (key=%@)", 
          __PRETTY_FUNCTION__, self->key);
   }
@@ -284,7 +284,7 @@ static EONull *null = nil;
       self->operator = EOQualifierOperatorEqual;
     }
     
-    if (self->operator == nil) {
+    if (self->operator == NULL) {
       NSLog(@"WARNING(%s): decoded no selector for kv qualifier (key=%@)", 
            __PRETTY_FUNCTION__, self->key);
       self->operator = EOQualifierOperatorEqual;
@@ -322,7 +322,7 @@ static EONull *null = nil;
   
   if ((tmp = [EOQualifier stringForOperatorSelector:self->operator]) != nil)
     [s appendString:tmp];
-  else if (self->operator != nil)
+  else if (self->operator != NULL)
     [s appendString:@"[NO STR OPERATOR]"];
   else
     [s appendString:@"[NO OPERATOR]"];
index 9846aa8db05721ef7bf9a4da045b7975d2286ffb..3fea82c731bd0ba8206616e89526d2b254f05cf4 100644 (file)
@@ -1,3 +1,3 @@
 # version file
 
-SUBMINOR_VERSION:=61
+SUBMINOR_VERSION:=62
index cf6bad5ba22f0851d2c5694b0093c59911942c10..0339881c7f0246e90e0975f118964b50b50a137a 100644 (file)
@@ -23,6 +23,7 @@
 #define __EOControl_COMMON_H__
 
 #include <stdlib.h>
+#include <string.h>
 #include <objc/Protocol.h>
 
 #import <Foundation/Foundation.h>
index 8f774e2138b0dbc0dda0bec0e6ae1437cedee8a9..1634fed9365d087caab61209c8e6c6dea7e627b8 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * FdExt.subproj/NSCalendarDate+misc.m: include math.h to avoid a floor
+         warning (v4.5.177)
+
 2005-10-05  Helge Hess  <helge.hess@skyrix.com>
 
        * FdExt.subproj/NSNull+misc.m: added -isNotEmpty to NSSet (v4.5.176)
index b09b2523b0cc191016c46ac23c2c3256c1fcfce1..7e5f93ced72b8523f4204142ade16968ffb8a869 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "NSCalendarDate+misc.h"
 #include "common.h"
+#include <math.h>
 
 #define NUMBER_OF_SECONDS_IN_DAY (24 * 60 * 60)
 
index fa38c4aba7abe76733b2aa2ed619f9ebe6b1515a..0cc913d122f983695dd4349b4ed8c77b4a996065 100644 (file)
@@ -1,6 +1,6 @@
 # version
 
-SUBMINOR_VERSION:=176
+SUBMINOR_VERSION:=177
 
 # v4.3.115 requires libFoundation v1.0.59
 # v4.2.72  requires libEOControl  v4.2.39
index 775c367ed2519bda9a1c52aee123f7afc142c350..3d175ac25e8f1acea510f508cb40b1baee17ff29 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * include string.h where required (v4.5.70)
+
 2005-10-05  Helge Hess  <helge.hess@opengroupware.org>
 
        * iCalMonthlyRecurrenceCalculator.m: implemented calculation of
index 239ae8bcbf508b2cd2ed080fef1e01ebcf914292..726517e190c6cc3df3e9f2cb3ad5fa41cb77131c 100644 (file)
@@ -29,6 +29,7 @@
 #include "NGVCardOrg.h"
 #include "NGVCardStrArrayValue.h"
 #include "common.h"
+#include <string.h>
 
 #ifndef XMLNS_VCARD_XML_03
 #  define XMLNS_VCARD_XML_03 \
index e00463656a9765b86c03f403e2613b188dc1fc12..db6ad7b39e1c63ba542d3fdc4a910e0a2bb56343 100644 (file)
@@ -2,7 +2,7 @@
 
 MAJOR_VERSION=4
 MINOR_VERSION=5
-SUBMINOR_VERSION:=69
+SUBMINOR_VERSION:=70
 
 # v4.5.40 requires NGExtensions v4.5.145
 # v4.5.37 requires NGExtensions v4.5.140
index e54b224d3a9306707b725385e03eaae58637686e..b2809edad15ee46dcab0a71809d05cd4cafc61f8 100644 (file)
@@ -28,6 +28,7 @@
 #include "iCalRecurrenceRule.h"
 #include "NSCalendarDate+ICal.h"
 #include "common.h"
+#include <string.h>
 
 @interface iCalRecurrenceCalculator(PrivateAPI)
 - (NSCalendarDate *)lastInstanceStartDate;
index 68b508c10ff81de69861daf006fec4ecaf386636..c23a6fd2dc3227d4cb7874ffddd6d503efdc8566 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * VSSaxDriver.m: renamed internal -error: method to -reportError: to
+         avoid a conflict with gstep-base (v4.5.20)
+
 2005-09-28  Helge Hess  <helge.hess@opengroupware.org>
 
        * GNUmakefile.preamble: install bundle in proper SaxObjC framework
index 2621af923a425ceba54891a7c2eab068e860fb9a..2e1f6262f71fb5e59ac972d1d0cf7619f7063d3e 100644 (file)
@@ -601,7 +601,7 @@ static VSStringFormatter *stringFormatter = nil;
 
 /* errors */
 
-- (void)error:(NSString *)_text {
+- (void)reportError:(NSString *)_text {
   SaxParseException *e;
 
   e = (id)[SaxParseException exceptionWithName:@"SaxParseException"
@@ -648,7 +648,7 @@ static VSStringFormatter *stringFormatter = nil;
                        @" Tag '%@' has not been closed properly. Given "
                        @"document contains errors!",
                        mtName, expectedName, expectedName];
-       [self error:s];
+       [self reportError:s];
        
         /* probably futile attempt to parse anyways */
         if (debugOn) {
@@ -662,7 +662,7 @@ static VSStringFormatter *stringFormatter = nil;
   }
   else {
       // TOOD: generate error?
-      [self error:[@"found end tag without any open tags left: "
+      [self reportError:[@"found end tag without any open tags left: "
                   stringByAppendingString:mtName]];
   }
   [self _endTag:mtName];
@@ -687,7 +687,7 @@ static VSStringFormatter *stringFormatter = nil;
              range:todoRange];
   /* is line well-formed? */
   if (r.length == 0) {
-    [self error:[@"got an improper content line! ->\n" 
+    [self reportError:[@"got an improper content line! ->\n" 
                  stringByAppendingString:_line]];
     return;
   }
@@ -717,7 +717,7 @@ static VSStringFormatter *stringFormatter = nil;
       
       /* is line well-formed? */
       if (r.length == 0 || r.location == 0) {
-       [self error:[@"got an improper content line! ->\n" 
+       [self reportError:[@"got an improper content line! ->\n" 
                      stringByAppendingString:_line]];
         [tagAttributes release]; tagAttributes = nil;
         return;
index b5a142f90fe8fb202495b3316d137539f1e78cd5..161b0af25a54d505184d29efc422fec46790ae44 100644 (file)
@@ -1,3 +1,3 @@
 # Version file
 
-SUBMINOR_VERSION:=19
+SUBMINOR_VERSION:=20
index 21fa90b1e17620daf2a79f712807dc0471c8c5b5..5437929df7c012f5d82ffec2256decd0ac827edb 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * properly include string.h where required to avoid warnings (v4.5.237)
+
 2005-09-18  Helge Hess  <helge.hess@opengroupware.org>
 
        * NGMime: fixed a linking issue on OSX (v4.5.236)
index a9cfd42e3d0d8529b72f92c7e2cfc7a7531c43c0..573680763856671b13f299bb82d356ff2b0da1fe 100644 (file)
@@ -22,6 +22,7 @@
 #include "NGMBoxReader.h"
 #include "NGMimeMessageParser.h"
 #include "common.h"
+#include <string.h>
 
 @implementation NGMBoxReader
 
index ecef01c8ce0fa577ef26f158c91f28934b156143..86dd4f4e7fb5f42b73b2273b7d27c55caaf21591 100644 (file)
@@ -23,6 +23,7 @@
 #include "NGMailAddress.h"
 #include "NGMailAddressList.h"
 #include "common.h"
+#include <string.h>
 
 @interface NGMailAddressParser(PrivateMethods)
 - (id)parseQuotedString:(BOOL)_guestMode;
index e3e6101d385402a0ba9e79981b19755fcb51d023..4f1b7a0394b47882ba35b7c71f2f2826aadfbb20 100644 (file)
@@ -23,6 +23,7 @@
 #include "NGMimeMessage.h"
 #include <NGMime/NGMimeFileData.h>
 #include "common.h"
+#include <string.h>
 
 @implementation NGMimeMessageGenerator
 
index e883a87218651fb03756c1ffe9cee2689d928920..b21cef1c077d53bfbfecf9c2cae4c4c5b5579dca 100644 (file)
@@ -22,6 +22,7 @@
 #include "NGMimeMessageParser.h"
 #include "NGMimeMessage.h"
 #include "common.h"
+#include <string.h>
 
 
 
index 18841bef669f0181ba6a6d5244fa727623c15857..084a490701c8cdf34bde1a736a3ed5db26c29b87 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * properly include string.h where required to avoid warnings
+
 2005-09-18  Helge Hess  <helge.hess@opengroupware.org>
 
        * NGMimeAddressHeaderFieldGenerator.m: fixed some strict dependencies
index a692cf9e1ae9a9f6f44c75d23f6553e3ad720087..c20d12a97005b37b7712de88ec063505201fcf31 100644 (file)
@@ -23,6 +23,7 @@
 #include "NGMimeHeaderFields.h"
 #include <NGMime/NGMimePartParser.h>
 #include "common.h"
+#include <string.h>
 
 #if MOVED_TO_NGMAIL
 #  include <NGMail/NGMailAddressParser.h>
index af429b58acdf331c84c9c589a2a0aa2003d1fffc..baf78f5bd84e0d09ca99e851dd99a137e1b9ae6e 100644 (file)
@@ -22,6 +22,7 @@
 #include "NGMimeHeaderFieldGenerator.h"
 #include "NGMimeHeaderFields.h"
 #include "common.h"
+#include <string.h>
 
 @implementation NGMimeContentDispositionHeaderFieldGenerator
 
index 390fceadb600b24eac30a88633d6eefc9441357d..e5fef89fc3693b5b59023c1131111f2d087ecae1 100644 (file)
@@ -22,6 +22,7 @@
 #include "NGMimeHeaderFieldGenerator.h"
 #include "NGMimeHeaderFields.h"
 #include "common.h"
+#include <string.h>
 
 @implementation NGMimeContentTypeHeaderFieldGenerator
 
index eb8c78881f3a5ad6fa43fd2c476cca3c9c9a4ced..a2320321b2d996e98e79d7d6ed76e67828cba4c8 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "NGMimeFileData.h"
 #include "common.h"
+#include <string.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 83c450c7e051ea0017a7723acc1c7a91c13c8baf..a89820aded3e3431302c6a7fd3ddfc4eb37523a3 100644 (file)
   02111-1307, USA.
 */
 
-#include "common.h"
 #include "NGMimeJoinedData.h"
+#include "common.h"
 #include "timeMacros.h"
+#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index e147a84392efa849c3e57eddfee78913ec03b8fb..68055d755a0ba1e6335470a9f706c19f4b497419 100644 (file)
@@ -25,6 +25,7 @@
 #include "NGMimeJoinedData.h"
 #include "NGMimeFileData.h"
 #include "common.h"
+#include <string.h>
 #include <unistd.h>
 
 @implementation NGMimeMultipartBodyGenerator
index e25bca0553a9141871a971484ffcd87e2e0808e7..74aff6210843e7b1aa0a405c914adf125dc9f119 100644 (file)
@@ -23,6 +23,7 @@
 #include "NGMimeBodyPartParser.h"
 #include "NGMimeMultipartBody.h"
 #include "common.h"
+#include <string.h>
 
 @implementation NGMimeMultipartBodyParser
 
index 82a602548fa7fc09850adec2108286c4874f616d..b71681f019e29e616e0a13a4e2664b2b65628c4f 100644 (file)
@@ -24,6 +24,7 @@
 #include "NGMimeType.h"
 #include "NGMimeUtilities.h"
 #include "common.h"
+#include <string.h>
 
 /* this tunes, how big reused data cache objects may get (10MB) */
 #define MAX_DATA_OBJECT_SIZE_CACHE (10*1024*1024)
index 2ddab9ee296ae236847436da0741b724f4c176fb..32c87b470c9e24cbb65a764bc6b125699e636177 100644 (file)
@@ -23,6 +23,7 @@
 #include "NGMimeHeaderFields.h"
 #include "NGMimeUtilities.h"
 #include "common.h"
+#include <string.h>
 
 @implementation NGMimeRFC822DateHeaderFieldParser
 
index d941dd624684399943c236341650ba5d496c1d72..f36d9635cf30ec64bcb6e3e1f1c76e3a668b86da 100644 (file)
@@ -23,6 +23,7 @@
 #include "NGConcreteMimeType.h"
 #include "NGMimeUtilities.h"
 #include "common.h"
+#include <string.h>
 
 NGMime_DECLARE NSString *NGMimeTypeText        = @"text";
 NGMime_DECLARE NSString *NGMimeTypeAudio       = @"audio";
index 376398c116d95a5d8329c6af7548d8607308b935..14209c29f845ebc7828bf1501fcedfcbd5b434be 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <NGMime/NGMimeType.h>
 #include <NGMime/NGMimeUtilities.h>
+#include <string.h>
 
 typedef struct {
   NSString *charset;
index eed402db4c19aa3db42b8580fd989f7020f84b38..98802f864a9e0772e3415f0c69df4a0274c594fb 100644 (file)
@@ -2,7 +2,7 @@
 
 MAJOR_VERSION:=4
 MINOR_VERSION:=5
-SUBMINOR_VERSION:=236
+SUBMINOR_VERSION:=237
 
 # v4.5.214 requires libNGExtensions v4.5.146
 # v4.2.149 requires libNGStreams    v4.2.34