+2004-11-22 Helge Hess <helge.hess@skyrix.com>
+
+ * v4.5.97
+
+ * WOContext.m: move some categories into main class implementation
+
+ * WORequestHandler.m: bind default logger to WODebuggingEnabled
+
2004-11-21 Helge Hess <helge.hess@opengroupware.org>
* WODirectActionRequestHandler.m: minor code cleanups (v4.5.96)
[self senderID]];
}
-@end /* WOContext */
-
-@implementation WOContext(ElementIDs)
+/* ElementIDs */
- (NSString *)elementID {
return [self->elementID elementID];
return [self->reqElementID consumeElementID];
}
-@end /* WOContext(ElementIDs) */
-
-@implementation WOContext(URLs)
+/* URLs */
- (void)_generateCompleteURLs {
/* described in Apple TIL article 70101 */
queryString:(NSString *)_query
{
if (testNSURLs) { /* use NSURLs for processing */
- NSURL *rqUrl;
+ NSURL *rqUrl;
if ([_path hasPrefix:@"/"]) {
#if DEBUG
url = [MutableStrClass stringWithCapacity:256];
addStr = [url methodForSelector:@selector(appendString:)];
-
+
/* static part */
if (self->urlPrefix == nil) {
if (!relativeURLs) {
addStr(url, @selector(appendString:), tmp);
}
}
-
+
addStr(url, @selector(appendString:), [self->request adaptorPrefix]);
addStr(url, @selector(appendString:), @"/");
tmp = [[self request] applicationName];
#endif
}
-@end /* WOContext(URLs) */
-
-@implementation WOContext(DeprecatedMethodsInWO4)
+/* DeprecatedMethodsInWO4 */
- (WOApplication *)application {
if (self->application == nil)
@end /* WOContext(DeprecatedMethodsInWO4) */
+
+
@implementation WOComponent(Cursors)
- (void)pushCursor:(id)_obj {
NSDateClass = [NSDate class];
lm = [NGLoggerManager defaultLoggerManager];
- logger = [lm loggerForClass:self];
+ logger = [lm loggerForDefaultKey:@"WODebuggingEnabled"];
perfLogger = [lm loggerForDefaultKey:@"WOProfileRequestHandler"];
ud = [NSUserDefaults standardUserDefaults];