2004-11-19 Helge Hess <helge.hess@opengroupware.org>
+ * v4.5.93
+
+ * WOApplication.m: print a note if debug logging is enabled
+
+ * WOComponentRequestHandler.m: removed usage of unavailabel
+ -logInfoWithFormat: (replaced with logWithFormat:)
+
+ * WOStatisticsStore.m: fixed a new warning due to incompatible pointer
+ types
+
* WOComponentRequestHandler.m: append session-id cookies to response,
reject favicon requests, added some logs, minor cleanups (v4.5.92)
+++ /dev/null
-# compile settings
-
-# $Id$
-
How Templates Work ...
======================
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id: WOxComponentElemBuilder.m 1 2004-08-20 10:08:27Z znek $
#include <NGObjWeb/WOxElemBuilder.h>
# include <NGExtensions/NSString+Ext.h>
#endif
-# include <NGExtensions/NGExtensions.h>
+#include <NGExtensions/NGExtensions.h>
#define IS_DEPRECATED \
[self warnWithFormat:@"used deprecated method: %s:%i.", \
# version file
-SUBMINOR_VERSION:=92
+SUBMINOR_VERSION:=93
# v4.5.91 requires libNGExtensions v4.5.134
# v4.5.84 requires libNGExtensions v4.5.127
debugOn = [WOApplication isDebuggingEnabled];
if (!debugOn)
[[self logger] setLogLevel:NGLogLevelInfo];
+ else
+ NSLog(@"Note: WOApplication debugging is enabled.");
if (classLock == nil) classLock = [[NSRecursiveLock alloc] init];
ud = [NSUserDefaults standardUserDefaults];
else if ([newPage isKindOfClass:[WOComponent class]])
[context setPage:newPage];
-#if DEBUG
[self debugWithFormat:@"%s: new page: %@", __PRETTY_FUNCTION__, newPage];
-#endif
/* generate response */
[self logWithFormat:@"saving session %@", [session sessionID]];
if ([session storesIDsInCookies]) {
- [self logInfoWithFormat:@"add cookie to session: %@", session];
+ [self logWithFormat:@"add cookie to session: %@", session];
[self addCookiesForSession:session
toResponse:response
inContext:context];
else
remoteHost = @"-";
- now = [NSCalendarDate date];
+ now = [NSCalendarDate calendarDate];
[now setTimeZone:gmt];
[result appendString:remoteHost];