+2006-04-12 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * WOHttpAdaptor/WOHttpAdaptor.m: shifted retrieval of WOPort default
+ from +initialize to -addressFromDefaultsOfApplication:, so apps that
+ may add adaptors on demand during runtime can do so. (v4.5.226)
+
2006-04-01 Helge Hess <helge.hess@opengroupware.org>
* v4.5.225
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
buildSettings = {
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
FRAMEWORK_VERSION = A;
isa = XCBuildConfiguration;
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
OTHER_CFLAGS = (
"-DSOPE_MAJOR_VERSION=4",
"-DSOPE_MINOR_VERSION=5",
- "-DSOPE_SUBMINOR_VERSION=225",
+ "-DSOPE_SUBMINOR_VERSION=226",
);
OTHER_LDFLAGS = (
"-seg1addr",
buildSettings = {
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
OTHER_CFLAGS = (
"-DSOPE_MAJOR_VERSION=4",
"-DSOPE_MINOR_VERSION=5",
- "-DSOPE_SUBMINOR_VERSION=225",
+ "-DSOPE_SUBMINOR_VERSION=226",
);
OTHER_LDFLAGS = (
"-seg1addr",
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
FRAMEWORK_VERSION = A;
OTHER_CFLAGS = (
"-DSOPE_MAJOR_VERSION=4",
"-DSOPE_MINOR_VERSION=5",
- "-DSOPE_SUBMINOR_VERSION=225",
+ "-DSOPE_SUBMINOR_VERSION=226",
);
OTHER_LDFLAGS = (
"-seg1addr",
isa = XCBuildConfiguration;
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
OTHER_CFLAGS = (
"-DSOPE_MAJOR_VERSION=4",
"-DSOPE_MINOR_VERSION=5",
- "-DSOPE_SUBMINOR_VERSION=225",
+ "-DSOPE_SUBMINOR_VERSION=226",
);
OTHER_LDFLAGS = (
"-seg1addr",
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
buildSettings = {
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
FRAMEWORK_VERSION = A;
isa = XCBuildConfiguration;
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
# version file
-SUBMINOR_VERSION:=225
+SUBMINOR_VERSION:=226
# v4.5.214 requires libNGExtensions v4.5.179
# v4.5.122 requires libNGExtensions v4.5.153
static BOOL WOHttpAdaptor_LogStream = NO;
static BOOL WOContactSNS = NO;
static BOOL WOCoreOnHTTPAdaptorException = NO;
-static NSString *WOPort = nil;
static int WOHttpAdaptorSendTimeout = 10;
static int WOHttpAdaptorReceiveTimeout = 10;
static int WOHttpAdaptorForkCount = 0;
WOHttpAdaptor_LogStream = [ud boolForKey:@"WOHttpAdaptor_LogStream"];
- // TODO: those two should be queried on demand to allow different defaults
- WOPort = [[ud stringForKey:@"WOPort"] copy];
+ // TODO: this should be queried on demand to allow different defaults
WOContactSNS = [[ud objectForKey:@"WOContactSNS"] boolValue];
WOCoreOnHTTPAdaptorException =
}
- (id<NGSocketAddress>)addressFromDefaultsOfApplication:(WOCoreApplication*)_a{
+ id woport;
id<NGSocketAddress> lAddress = nil;
const char *cstr;
- if ([WOPort isEqualToString:@"auto"]) {
+ woport = [[NSUserDefaults standardUserDefaults] stringForKey:@"WOPort"];
+ if ([woport isEqualToString:@"auto"]) {
if ((lAddress = [self autoBindAddress]) != nil)
return lAddress;
}
- if ((cstr = [WOPort cString]) != NULL) {
+ if ((cstr = [woport cString]) != NULL) {
if (isdigit(*cstr) && index(cstr, ':') == NULL) {
NSNumber *p;
p = [(WOCoreApplication *)[_a class] port];
- if (p == nil) p = (id)WOPort;
+ if (p == nil) p = (id)woport;
lAddress =
[NGInternetSocketAddress wildcardAddressWithPort:[p intValue]];
}
}
- return NGSocketAddressFromString(WOPort);
+ return NGSocketAddressFromString(woport);
}
- (id<NGSocketAddress>)addressFromArguments:(NSDictionary *)_args {
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
buildSettings = {
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
FRAMEWORK_VERSION = A;
isa = XCBuildConfiguration;
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.225;
+ DYLIB_CURRENT_VERSION = 4.5.226;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;