+2005-07-23 Sebastian Reitenbach <reitenbach@rapideye.de>
+
+ * GNUmakefile.preamble: added OpenBSD linking flags (v4.5.179)
+
+2005-07-23 Helge Hess <helge.hess@opengroupware.org>
+
+ * WOContext.m: subminor code reformatting
+
+ * NGHttp/NGUrlFormCoder.m: added some patch by Mont which changes
+ URL handling on non-libFoundation platforms
+
2005-07-21 Helge Hess <helge.hess@opengroupware.org>
* SoObjects/WOContext+SoObjects.m: lookup SoUser using authenticator in
wod_LDFLAGS += -framework Foundation
libNGObjWeb_LIBRARIES_DEPEND_UPON += -lFoundationExt
endif
+
+ifeq ($(findstring openbsd3, $(GNUSTEP_TARGET_OS)), openbsd3)
+wod_TOOL_LIBS += -liconv
+endif
#include "NGUrlFormCoder.h"
#include "common.h"
+// TODO: can we replace that with NSString+URLEscaping.m in NGExtensions?
+// I think there was 'some' special thing
+
#if !LIB_FOUNDATION_LIBRARY
static BOOL debugDecoding = NO;
#endif
#if LIB_FOUNDATION_LIBRARY
return [[StrClass alloc] initWithCString:(char *)buffer length:len];
#else
+ // TODO: patch by Mont? We cannot assume NSUTF8StringEncoding?!
+ NSString *value;
+
+ value = [[StrClass alloc] initWithBytes:buffer length:len
+ encoding:NSUTF8StringEncoding];
+ if (debugDecoding) {
+ NSLog(@"decoded data len %d value (len=%d): %@",
+ len, [value length], value);
+ }
+ return value;
+#if 0
register signed int i;
unichar *s;
NSString *value;
}
return value;
#endif
+#endif
}
NGHashMap *NGDecodeUrlFormParameters(const unsigned char *_buffer,
# version file
-SUBMINOR_VERSION:=178
+SUBMINOR_VERSION:=179
# v4.5.122 requires libNGExtensions v4.5.153
# v4.5.91 requires libNGExtensions v4.5.134
/* languages for resource lookup (non-WO) */
- (NSArray *)resourceLookupLanguages {
- return [self hasSession] ? [[self session] languages]
- : [[self request] browserLanguages];
+ return [self hasSession]
+ ? [[self session] languages]
+ : [[self request] browserLanguages];
}
+2005-07-23 Sebastian Reitenbach <reitenbach@rapideye.de>
+
+ * GNUmakefile.preamble: added OpenBSD linking flags (v4.5.17)
+
2005-05-03 Helge Hess <helge.hess@opengroupware.org>
* GNUmakefile.preamble: added strict bundle dependencies for MacOSX
sope_TOOL_LIBS += -lcrypt
endif
endif
+
+ifeq ($(findstring openbsd3, $(GNUSTEP_TARGET_OS)), openbsd3)
+$(SOPED_NAME)_TOOL_LIBS += -liconv
+endif
# version file
-SUBMINOR_VERSION:=16
+SUBMINOR_VERSION:=17
- (NSString *)escapeKey:(NSString *)_key {
if ([_key rangeOfString:@"."].length == 0)
return _key;
-
+#if 0
NSLog(@"WARNING(%s): key '%@' can't be processed by "
@"WODictionaryRepetition !!",
__PRETTY_FUNCTION__, _key);
+#endif
return _key;
}