-# $Id$
+# $Id: GNUmakefile 1 2004-08-20 10:08:27Z znek $
include ../common.make
-# $Id$
+# $Id: GNUmakefile.preamble 22 2004-08-20 22:33:46Z helge $
ADDITIONAL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: NGObjectMappingContext.h 6 2004-08-20 17:57:50Z helge $
#ifndef __NGObjectMappingContext_H__
#define __NGObjectMappingContext_H__
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: NGObjectMappingContext.m 6 2004-08-20 17:57:50Z helge $
#include "NGObjectMappingContext.h"
#include "common.h"
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: NGScriptLanguage.h 6 2004-08-20 17:57:50Z helge $
#ifndef __NGScriptLanguage_H__
#define __NGScriptLanguage_H__
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: NGScriptLanguage.m 6 2004-08-20 17:57:50Z helge $
#include "NGScriptLanguage.h"
#include "NSObject+Scripting.h"
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: NSObject+Scripting.h 6 2004-08-20 17:57:50Z helge $
#ifndef __NSObject_Scripting_H__
#define __NSObject_Scripting_H__
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: NSObject+Scripting.m 6 2004-08-20 17:57:50Z helge $
#include "NGScriptLanguage.h"
#include "common.h"
--- /dev/null
+# $Id: Version 4 2004-08-20 17:04:31Z helge $
+
+SUBMINOR_VERSION:=11
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: common.h 1 2004-08-20 10:08:27Z znek $
#ifndef __NGScripting_common_H__
#define __NGScripting_common_H__
+2004-08-25 Helge Hess <helge.hess@opengroupware.org>
+
+ * move NGScripting to Recycler, not used anymore
+
2004-08-22 Helge Hess <helge.hess@opengroupware.org>
* added SoOFS as a separate project
VERSION=4.3.0
SUBPROJECTS += \
- NGScripting \
NGObjWeb \
WEExtensions \
WOExtensions \
2004-08-25 Helge Hess <helge.hess@opengroupware.org>
+ * v4.3.13
+
+ * removed dependency on NGScripting (disabled WOScriptedComponent)
+
+ * WOComponent.m: added baseURL ivar, _without_ increasing class
+ version (so that we don't need to touch every component in OGo :-| )
+
* v4.3.12
* Templates/WOxTemplateBuilder.m: properly select a DOM builder based
WOSessionStore.m \
WOStatisticsStore.m \
_WOStringTable.m \
- WOScriptedComponent.m \
WOElementID.m \
+# WOScriptedComponent.m \
+
libNGObjWeb_OBJC_FILES = \
$(NGObjWebCore_OBJC_FILES) \
NGHttp+WO.m \
ADDITIONAL_LIB_DIRS += \
-L$(GNUSTEP_OBJ_DIR) \
- -L$(RELBUILD_DIR_SOPE)/NGScripting/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_MIME)/NGMime/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \
else
libNGObjWeb_LIB_DIRS += \
-L./$(GNUSTEP_OBJ_DIR) \
- -L../NGScripting/$(GNUSTEP_OBJ_DIR) \
-L$(SOPE_ROOT)/sope-mime/$(GNUSTEP_OBJ_DIR) \
-L$(CORE_ROOT)/NGStreams/$(GNUSTEP_OBJ_DIR) \
-L$(CORE_ROOT)/NGExtensions/$(GNUSTEP_OBJ_DIR) \
endif
libNGObjWeb_LIBRARIES_DEPEND_UPON += \
- -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
wod_LIB_DIRS += $(libNGObjWeb_LIB_DIRS)
wod_TOOL_LIBS += \
- -lNGObjWeb -lNGScripting \
+ -lNGObjWeb \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGObjWeb_WOComponent_H__
#define __NGObjWeb_WOComponent_H__
#import <NGObjWeb/WOElement.h>
#include <NGObjWeb/WOActionResults.h>
-@class NSString, NSDictionary, NSMutableDictionary, NSURL, NSException;
+@class NSString, NSDictionary, NSMutableDictionary, NSURL, NSException, NSURL;
@class WOElement, WOContext, WOSession, WOApplication, WOResourceManager;
@interface WOComponent : WOElement < WOActionResults, NSCoding >
WOContext *context;
WOApplication *application;
WOSession *session;
+
+ NSURL *wocBaseURL;
}
- (id)initWithContext:(WOContext *)_ctx;
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "SoProductResourceManager.h"
#include "SoProduct.h"
#include <NGObjWeb/WOResponse.h>
#include <NGObjWeb/WOSession.h>
#include <NGObjWeb/WORequest.h>
+#include <NGExtensions/NSString+Ext.h>
#include "common.h"
@interface WOResourceManager(UsedPrivates)
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id: WOComponent.m 1 2004-08-20 10:08:27Z znek $
#include <NGObjWeb/WOComponent.h>
#include "WOComponent+private.h"
static BOOL wakeupPageOnCreation = NO;
+ (int)version {
+ // TODO: is really v3 for baseURL ivar change
return [super version] + 0 /* v2 */;
}
+ (void)initialize {
[self->wocBindings release];
[self->wocVariables release];
[self->wocName release];
+ [self->wocBaseURL release];
[super dealloc];
}
languages:languages];
}
- (void)setBaseURL:(NSURL *)_url {
- _setExtraVar(self, @"__wobaseurl", _url);
+ ASSIGNCOPY(self->wocBaseURL, _url);
}
- (NSURL *)baseURL {
NSURL *url;
- if ((url = _getExtraVar(self, @"__wobaseurl")))
- return url;
+ if (self->wocBaseURL)
+ return self->wocBaseURL;
url = [(WOApplication *)[self application] baseURL];
- url = [NSURL URLWithString:@"WebServerResources" relativeToURL:url];
- return url;
+ self->wocBaseURL =
+ [[NSURL URLWithString:@"WebServerResources" relativeToURL:url] copy];
+ return self->wocBaseURL;
}
- (NSString *)componentActionURLForContext:(WOContext *)_ctx {
#include "WOComponentDefinition.h"
#include "WOComponent+private.h"
#include "WOComponentFault.h"
-#include "WOScriptedComponent.h"
#include <NGObjWeb/WOAssociation.h>
#include <NGObjWeb/WOApplication.h>
#include <NGObjWeb/WOElement.h>
WOComponentScript *script;
if ((script = [self->template componentScript]))
- cClass = [WOScriptedComponent class];
+ cClass = NSClassFromString(@"WOScriptedComponent");
else
cClass = [self componentClass];
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: WOScriptedComponent.m 1 2004-08-20 10:08:27Z znek $
#include "WOScriptedComponent.h"
#include <NGObjWeb/WOTemplateBuilder.h>
-# $Id$
+# $Id: ngobjweb.make 14 2004-08-20 21:07:18Z helge $
WO_LDFLAGS =
WO_LIBS = -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions
ifeq ($(FOUNDATION_LIB),apple)
WO_LIBS += \
- -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
endif
+++ /dev/null
-# $Id$
-
-SUBMINOR_VERSION:=11
-I$(SOPE_ROOT)/sope-xml
libNGXmlRpc_LIBRARIES_DEPEND_UPON += \
- -lNGObjWeb -lNGScripting \
+ -lNGObjWeb \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
xmlrpc_call_TOOL_LIBS += \
- -lNGXmlRpc -lNGObjWeb -lNGScripting \
+ -lNGXmlRpc -lNGObjWeb \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
ADDITIONAL_LIB_DIRS += \
-L$(GNUSTEP_OBJ_DIR) \
-L$(RELBUILD_DIR_SOPE)/NGObjWeb/$(GNUSTEP_OBJ_DIR_NAME) \
- -L$(RELBUILD_DIR_SOPE)/NGScripting/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_MIME)/NGMime/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \
ADDITIONAL_LIB_DIRS += \
-L./$(GNUSTEP_OBJ_DIR) \
-L../NGObjWeb/$(GNUSTEP_OBJ_DIR) \
- -L../NGScripting/$(GNUSTEP_OBJ_DIR) \
-L$(SOPE_ROOT)/sope-mime/$(GNUSTEP_OBJ_DIR) \
-L$(CORE_ROOT)/NGStreams/$(GNUSTEP_OBJ_DIR) \
-L$(CORE_ROOT)/NGExtensions/$(GNUSTEP_OBJ_DIR) \
libSoOFS_LIBRARIES_DEPEND_UPON += \
- -lNGObjWeb -lNGScripting \
+ -lNGObjWeb \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
sope_TOOL_LIBS += \
- -lSoOFS -lNGObjWeb -lNGScripting \
+ -lSoOFS -lNGObjWeb \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
ADDITIONAL_LIB_DIRS += \
-L$(GNUSTEP_OBJ_DIR) \
-L$(RELBUILD_DIR_SOPE)/NGObjWeb/$(GNUSTEP_OBJ_DIR_NAME) \
- -L$(RELBUILD_DIR_SOPE)/NGScripting/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_MIME)/NGMime/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \
ADDITIONAL_LIB_DIRS += \
-L./$(GNUSTEP_OBJ_DIR) \
-L../NGObjWeb/$(GNUSTEP_OBJ_DIR) \
- -L../NGScripting/$(GNUSTEP_OBJ_DIR) \
-L$(SOPE_ROOT)/sope-mime/$(GNUSTEP_OBJ_DIR) \
-L$(CORE_ROOT)/NGStreams/$(GNUSTEP_OBJ_DIR) \
-L$(CORE_ROOT)/NGExtensions/$(GNUSTEP_OBJ_DIR) \
libWEExtensions_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
libWEExtensions_LIBRARIES_DEPEND_UPON += \
- -lNGObjWeb -lNGScripting \
+ -lNGObjWeb \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
ADDITIONAL_LIB_DIRS += \
-L$(GNUSTEP_OBJ_DIR) \
-L$(RELBUILD_DIR_APPSERVER)/NGObjWeb/$(GNUSTEP_OBJ_DIR_NAME) \
- -L$(RELBUILD_DIR_APPSERVER)/NGScripting/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_MIME)/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \
ADDITIONAL_LIB_DIRS += \
-L./$(GNUSTEP_OBJ_DIR) \
-L../NGObjWeb/$(GNUSTEP_OBJ_DIR) \
- -L../NGScripting/$(GNUSTEP_OBJ_DIR) \
-L../../sope-mime/$(GNUSTEP_OBJ_DIR) \
-L../../sope-core/NGStreams/$(GNUSTEP_OBJ_DIR) \
-L../../sope-core/NGExtensions/$(GNUSTEP_OBJ_DIR) \
libWOExtensions_LIBRARIES_DEPEND_UPON += \
- -lWEExtensions \
- -lNGObjWeb -lNGScripting \
- -lNGMime -lNGStreams -lNGExtensions -lEOControl \
+ -lWEExtensions \
+ -lNGObjWeb \
+ -lNGMime \
+ -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
-L$(GNUSTEP_OBJ_DIR) \
-L$(RELBUILD_DIR_APPSERVER)/WEExtensions/$(GNUSTEP_OBJ_DIR_NAME)\
-L$(RELBUILD_DIR_APPSERVER)/NGObjWeb/$(GNUSTEP_OBJ_DIR_NAME) \
- -L$(RELBUILD_DIR_APPSERVER)/NGScripting/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGMime/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \
ADDITIONAL_LIB_DIRS += \
-L./$(GNUSTEP_OBJ_DIR) \
-L../NGObjWeb/$(GNUSTEP_OBJ_DIR) \
- -L../NGScripting/$(GNUSTEP_OBJ_DIR) \
-L../WEExtensions/$(GNUSTEP_OBJ_DIR) \
-L../../sope-mime/$(GNUSTEP_OBJ_DIR) \
-L../../sope-core/NGStreams/$(GNUSTEP_OBJ_DIR) \