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

18 files changed:
sope-appserver/NGObjWeb/Associations/WOKeyPathAssociation.m
sope-appserver/NGObjWeb/ChangeLog
sope-appserver/NGObjWeb/DynamicElements/WOCopyValue.m
sope-appserver/NGObjWeb/DynamicElements/WOString.m
sope-appserver/NGObjWeb/NGHttp+WO.m
sope-appserver/NGObjWeb/NSObject+WO.m
sope-appserver/NGObjWeb/Version
sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m
sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m
sope-appserver/NGObjWeb/WOMessage.m
sope-appserver/NGObjWeb/WOSession.m
sope-appserver/NGObjWeb/WOSimpleHTTPParser.m
sope-appserver/NGObjWeb/WOWatchDogApplicationMain.m
sope-appserver/NGObjWeb/WebDAV/SoDAVSQLParser.m
sope-core/NGExtensions/ChangeLog
sope-core/NGExtensions/FdExt.subproj/NSObject+Values.m
sope-core/NGExtensions/NGExtensions/NSObject+Values.h
sope-core/NGExtensions/Version

index 0146c4888ca5135fe902277aabe2382d76668c46..32b1a221b243811ef70811c9d790ba1f53aacfc5 100644 (file)
@@ -23,6 +23,7 @@
 #include <NGObjWeb/WOComponent.h>
 #include "NSObject+WO.h"
 #include "common.h"
+#include <string.h>
 
 #if LIB_FOUNDATION_BOEHM_GC
 #  if LIB_FOUNDATION_LIBRARY
index a3f44cf48bbd35283d96409634eaa4d891870f5a..a35535aaa48978ea899bf04a0cdb0916aeb0d0e8 100644 (file)
@@ -1,3 +1,11 @@
+2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
+
+       * v4.5.212
+
+       * DynamicElements/WOCopyValue.m: fixed a gcc3 warning
+
+       * include string.h where required
+
 2005-11-13  Helge Hess  <helge.hess@opengroupware.org>
 
        * DynamicElements/WORadioButton.m: added some comments and a warning
index deb34798099bb2f0c48f8755900a2883e5aee5f7..78309faad0d752069fc93098be32a96fe0a3a8e4 100644 (file)
@@ -204,7 +204,7 @@ static inline id valueForConstString(NSString *v) {
     
     value = [_d objectForKey:key];
     if ([value isKindOfClass:[NSString class]]) {
-      value = [value hasPrefix:@"const:"]
+      value = [(NSString *)value hasPrefix:@"const:"]
        ? valueForConstString(value)
        : [getCursor valueForKeyPath:value];
     }
index baf90e4dd3ea9a123c3d8f25e3519821209b6bdf..dc59cf9399672f46929f07057b674a21d69813f1 100644 (file)
@@ -22,6 +22,7 @@
 #include "WOHTMLDynamicElement.h"
 #include "WOElement+private.h"
 #include "decommon.h"
+#include <string.h>
 #import <Foundation/NSNumberFormatter.h>
 #import <Foundation/NSDateFormatter.h>
 
index d19caa6132c6906c0ea35d3155ba0652ef77802e..d3bd3b08f3f2a31ef4b057c99ce529e0b841b58b 100644 (file)
@@ -25,6 +25,7 @@
 #include <NGObjWeb/WORequest.h>
 #include <NGMime/NGMime.h>
 #include "common.h"
+#include <string.h>
 
 @interface WORequest(NGSupport)
 - (void)_setHttpRequest:(NGHttpRequest *)_request;
index 64128f9fc489404309dbfb007c4b887eee70c956..cb8dba334915398d135deac6131abca7ffa817df 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "NSObject+WO.h"
 #include "common.h"
+#include <string.h>
 
 #if APPLE_RUNTIME || NeXT_RUNTIME
 #  include <objc/objc-class.h>
index 09f51d761d15abfe0737c8dced4bba08c2d99868..1ff73710473e752cacdf3d0b96ec9900da9a1762 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=211
+SUBMINOR_VERSION:=212
 
 # v4.5.122 requires libNGExtensions v4.5.153
 # v4.5.91  requires libNGExtensions v4.5.134
index fcea5bad29ff838695710ad225bffca42a2d3a80..cabb78de09d7335ae0e4f3145a5550dc048a5132 100644 (file)
@@ -45,6 +45,7 @@
 #include "WORecordRequestStream.h"
 #include "WOHttpTransaction.h"
 
+#include <string.h>
 #include <unistd.h>
 #include <sys/wait.h>
 
index 91c3823d776f60f805fa91e5f93f37b587cfd4a7..f2a1530d478a707ad9ad7f75db82c26c5a254200 100644 (file)
@@ -33,6 +33,7 @@
 #include <NGHttp/NGHttp.h>
 #include "common.h"
 
+#include <string.h>
 #include <sys/time.h>
 
 @interface WORequest(UsedPrivates)
index 6756fa153af7cbe71d287aa0a043b393d55d51b5..f46d659aacc43654fc1e6b85a576fc4d6dc9afcc 100644 (file)
@@ -23,6 +23,7 @@
 #include <NGExtensions/NGHashMap.h>
 #include <NGExtensions/NSString+misc.h>
 #include "common.h"
+#include <string.h>
 
 // #define STRIP_MULTIPLE_SPACES // this doesn't work with <pre> tags !
 
index f0e8f745f83438da1a0ec42aa99176ee85b877ea..4a957203aa7ec0d25302398de3bbe00260802e8d 100644 (file)
@@ -30,6 +30,7 @@
 #include <NGObjWeb/WOStatisticsStore.h>
 #include <EOControl/EONull.h>
 #include "common.h"
+#include <string.h>
 
 #if APPLE_FOUNDATION_LIBRARY || NeXT_Foundation_LIBRARY
 @interface NSObject(Miss)
index c76fb0cfa25eb6febe23aea2cae179f695c61513..184194fd316b463a9af3086c4a78a40fb474b1fb 100644 (file)
@@ -23,6 +23,7 @@
 #include <NGObjWeb/WOResponse.h>
 #include <NGObjWeb/WORequest.h>
 #include "common.h"
+#include <string.h>
 
 @implementation WOSimpleHTTPParser
 
index bd8d5f7e53a2b641bb2aac5c5393728b0a0d0993..47e817d849d7135dcb36dc766a3a0e400f4c44e6 100644 (file)
@@ -40,6 +40,7 @@ int WOWatchDogApplicationMain
 #include <sys/types.h>
 #include <sys/unistd.h>
 #include <time.h>
+#include <string.h>
 
 static pid_t    child = -1;
 static NSString *pidFile = nil;
index fa72fcbf1914f87e63f5125f27c04f2c1b369b2c..4644b1fa8574c337b3cdff8da9b226850e168540 100644 (file)
@@ -25,6 +25,7 @@
 #include <EOControl/EOSortOrdering.h>
 #include <EOControl/EOClassDescription.h>
 #include "common.h"
+#include <string.h>
 
 // TODO: better error output
 
index 1634fed9365d087caab61209c8e6c6dea7e627b8..93a9bdbf6fd6c9cd99a7ceff4736bd39b950376b 100644 (file)
@@ -1,5 +1,8 @@
 2005-11-17  Helge Hess  <helge.hess@opengroupware.org>
 
+       * FdExt.subproj/NSObject+Values.m: explicitly mark signed values as
+         such (most importantly char) (v4.5.178)
+
        * FdExt.subproj/NSCalendarDate+misc.m: include math.h to avoid a floor
          warning (v4.5.177)
 
index e0565567a3476b7e9ea94ad0908437e834d828ed..5cff0bd7e96b25048fb1458e89d53dfa59d3c2b7 100644 (file)
   return YES;
 }
 
-- (char)charValue {
+- (signed char)charValue {
   return (char)[self intValue];
 }
 - (unsigned char)unsignedCharValue {
   return (unsigned char)[self intValue];
 }
-- (short)shortValue {
+- (signed short)shortValue {
   return (short)[self intValue];
 }
 - (unsigned short)unsignedShortValue {
   return (unsigned short)[self unsignedIntValue];
 }
 
-- (int)intValue {
+- (signed int)intValue {
   return [[self stringValue] intValue];
 }
 - (unsigned int)unsignedIntValue {
   return (unsigned int)[self intValue];
 }
 
-- (long)longValue {
+- (signed long)longValue {
   return (long)[self intValue];
 }
 - (unsigned long)unsignedLongValue {
   return (unsigned long)[self unsignedIntValue];
 }
 
-- (long long)longLongValue {
+- (signed long long)longLongValue {
   return [[self stringValue] longLongValue];
 }
 - (unsigned long long)unsignedLongLongValue {
index de085da79a495b9b6aa23df0f8c4f4031b6705c2..d9a3c0bb6a977f4875d719ddb754e9dd80d12955 100644 (file)
 
 - (BOOL)boolValue; // this returns always YES (the id != nil)
 
-// these methods perform their operation on the string-representation of the object
-- (char)charValue;
+/*
+  these methods perform their operation on the string-representation of the
+  object
+*/
+- (signed char)charValue;
 - (unsigned char)unsignedCharValue;
-- (short)shortValue;
+- (signed short)shortValue;
 - (unsigned short)unsignedShortValue;
-- (int)intValue;
+- (signed int)intValue;
 - (unsigned int)unsignedIntValue;
-- (long)longValue;
+- (signed long)longValue;
 - (unsigned long)unsignedLongValue;
-- (long long)longLongValue;
+- (signed long long)longLongValue;
 - (unsigned long long)unsignedLongLongValue;
 - (float)floatValue;
 - (double)doubleValue;
index 0cc913d122f983695dd4349b4ed8c77b4a996065..d6b947f0b584c9a675f403851254846f3a41e796 100644 (file)
@@ -1,6 +1,6 @@
 # version
 
-SUBMINOR_VERSION:=177
+SUBMINOR_VERSION:=178
 
 # v4.3.115 requires libFoundation v1.0.59
 # v4.2.72  requires libEOControl  v4.2.39