This directory contains SOPE, the application server hosting the
OpenGroupware.org business logic and web interface.
-mod_ngobjweb
-============
-
-An Apache module for forwarding HTTP request from Apache to a SOPE
-application server. This is a non-streaming proxy so that the application
-server isn't blocked by IO of slow connections !
-(this eliminates the need for threading because of IO, the Apache server
- pool runs the blocking IO operations)
+SOPE 4.3 is the development version of the upcoming SOPE 4.4 release.
SKYRiX Libraries for XML Processing (sope-xml)
==============================================
The SKYRiX Core libraries (sope-core) contain:
- various Foundation extensions
- a java.io like stream and socket library
+
+SKYRiX MIME Libraries (sope-mime)
+=================================
+
- classes for processing MIME entities
- a full IMAP4 implementation
- prototypical POP3 and SMTP processors
+
+SKYRiX LDAP Libraries (sope-ldap)
+=================================
+
- an Objective-C wrapper for LDAP directory services
+
+SKYRiX iCalendar Libraries (sope-ical)
+======================================
+
- classes for iCalendar/vCard objects
SKYRiX Application Server (SOPE)
- session management
- scripting extensions for Foundation, JavaScript bridge
- DOM tree rendering library
+
+mod_ngobjweb
+============
+
+An Apache module for forwarding HTTP request from Apache to a SOPE
+application server. This is a non-streaming proxy so that the application
+server isn't blocked by IO of slow connections!
+(this eliminates the need for threading because of IO, the Apache server
+ pool runs the blocking IO operations)
ADDITIONAL_INCLUDE_DIRS += \
-I.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
ifeq ($(WOAssociationExceptionHandlers),yes)
ADDITIONAL_CPPFLAGS += -DUSE_EXCEPTION_HANDLERS=1
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+
+#if !LIB_FOUNDATION_LIBRARY
+# include <NGExtensions/NGObjectMacros.h>
+# include <NGExtensions/NSString+Ext.h>
+#endif
+
+#include <NGExtensions/NGExtensions.h>
+
+#define IS_DEPRECATED \
+ NSLog(@"WARNING: used deprecated method: %s:%i.", \
+ __PRETTY_FUNCTION__, __LINE__);
2004-08-20 Helge Hess <helge.hess@opengroupware.org>
+ * v4.3.2
+
+ * removed dependency on NGJavaScript
+
+ * DynamicElements/WOFileUpload.m: code cleanups
+
+ * fixed for SOPE 3.3 directory layout
+
* moved to SOPE 4.3, restarted subminor version to 1 to remove special
MacOSX version (v4.3.1)
DynamicElements_INCLUDE_DIRS += \
-I.. -I. -I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
- -I../../../skyrix-xml
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-mime \
+ -I../../../sope-xml
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "WOInput.h"
-#include "common.h"
-#import <NGMime/NGMime.h>
-#import <NGHttp/NGHttp.h>
@interface WOFileUpload : WOInput
{
@end /* WOFileUpload */
+#include "common.h"
+#include <NGMime/NGMime.h>
+#include <NGHttp/NGHttp.h>
+
@interface WORequest(UsedPrivates)
- (id)httpRequest;
@end
return self;
}
-#if !LIB_FOUNDATION_BOEHM_GC
- (void)dealloc {
- RELEASE(self->filePath); self->filePath = nil;
- RELEASE(self->data); self->data = nil;
+ [self->filePath release];
+ [self->data release];
[super dealloc];
}
-#endif
-// ******************** responder ********************
+/* handling requests */
-- (void)takeValuesFromRequest:(WORequest *)_request
- inContext:(WOContext *)_ctx
-{
- if (![self->disabled boolValueInComponent:[_ctx component]]) {
- NSString *currentId;
- id formValue = nil;
+- (void)takeValuesFromRequest:(WORequest *)_rq inContext:(WOContext *)_ctx {
+ NGMimeMultipartBody *body;
+ NGMimeType *contentType;
+ NSString *currentId;
+ id formValue = nil;
+ NSArray *parts;
+ unsigned i, count;
+
+ if ([self->disabled boolValueInComponent:[_ctx component]])
+ return;
- currentId = OWFormElementName(self, _ctx);
+ currentId = OWFormElementName(self, _ctx);
- formValue = [_request formValueForKey:currentId];
- if (formValue) {
- NGMimeType *contentType = [[_request httpRequest] contentType];
+ if ((formValue = [_rq formValueForKey:currentId]) == nil)
+ return;
+
+ contentType = [[_rq httpRequest] contentType];
- if (![contentType hasSameType:multipartFormData]) {
- NSLog(@"WARNING: tried to apply file-upload value of %@ from "
- @"a non multipart-form request (value=%@) !",
- [_ctx elementID], formValue);
- return;
- }
+ if (![contentType hasSameType:multipartFormData]) {
+ NSLog(@"WARNING: tried to apply file-upload value of %@ from "
+ @"a non multipart-form request (value=%@) !",
+ [_ctx elementID], formValue);
+ return;
+ }
- //NSLog(@"%@: value=%@ ..", [self elementID], formValue);
-
- if ([self->data isValueSettable])
- [self->data setValue:formValue inComponent:[_ctx component]];
-
- if ([self->filePath isValueSettable]) {
- NGMimeMultipartBody *body = [[_request httpRequest] body];
+#if 0
+ NSLog(@"%@: value=%@ ..", [self elementID], formValue);
+#endif
- if ([body isKindOfClass:[NGMimeMultipartBody class]]) {
- NSArray *parts = [body parts];
- unsigned i, count = [parts count];
+ if ([self->data isValueSettable])
+ [self->data setValue:formValue inComponent:[_ctx component]];
- // search for part of current form element
-
- for (i = 0; i < count; i++) {
- id disposition;
- id<NGMimePart> bodyPart;
-
- bodyPart = [parts objectAtIndex:i];
- disposition =
- [[bodyPart valuesOfHeaderFieldWithName:@"content-disposition"]
- nextObject];
+ if (![self->filePath isValueSettable])
+ return;
+
+ body = [[_rq httpRequest] body];
+ if (![body isKindOfClass:[NGMimeMultipartBody class]])
+ /* TODO: shouldn't we log something? */
+ return;
+
+ /* search for part of current form element */
+
+ parts = [body parts];
+ for (i = 0, count = [parts count]; i < count; i++) {
+ static Class DispClass = Nil;
+ NSString *formName;
+ id disposition;
+ id<NGMimePart> bodyPart;
- if (disposition) {
- static Class DispClass = Nil;
- NSString *formName;
+ bodyPart = [parts objectAtIndex:i];
+ disposition = [[bodyPart valuesOfHeaderFieldWithName:
+ @"content-disposition"] nextObject];
+
+ if (disposition == nil)
+ continue;
+
+ if (DispClass == Nil)
+ DispClass = [NGMimeContentDispositionHeaderField class];
- if (DispClass == Nil)
- DispClass = [NGMimeContentDispositionHeaderField class];
-
- if (![disposition isKindOfClass:DispClass]) {
- disposition =
- [[DispClass alloc] initWithString:[disposition stringValue]];
- AUTORELEASE(disposition);
- }
-
- formName =
- [(NGMimeContentDispositionHeaderField *)disposition name];
+ if (![disposition isKindOfClass:DispClass]) {
+ disposition =
+ [[DispClass alloc] initWithString:[disposition stringValue]];
+ disposition = [disposition autorelease];
+ }
- if ([formName isEqualToString:currentId]) {
- [self->filePath
- setValue:[disposition filename]
- inComponent:[_ctx component]];
- break;
- }
- }
- }
- }
- }
+ formName = [(NGMimeContentDispositionHeaderField *)disposition name];
+
+ if ([formName isEqualToString:currentId]) {
+ [self->filePath setValue:[disposition filename]
+ inComponent:[_ctx component]];
+ break;
}
}
}
+/* generating response */
+
- (void)appendToResponse:(WOResponse *)_response inContext:(WOContext *)_ctx {
- if (![[_ctx request] isFromClientComponent]) {
- NSString *v = [self->value stringValueInComponent:[_ctx component]];
+ NSString *v;
+
+ if ([[_ctx request] isFromClientComponent])
+ return;
+
+ v = [self->value stringValueInComponent:[_ctx component]];
- WOResponse_AddCString(_response, "<input type=\"file\" name=\"");
- [_response appendContentHTMLAttributeValue:OWFormElementName(self, _ctx)];
+ WOResponse_AddCString(_response, "<input type=\"file\" name=\"");
+ [_response appendContentHTMLAttributeValue:OWFormElementName(self, _ctx)];
+ WOResponse_AddChar(_response, '"');
+ if (v != nil) {
+ WOResponse_AddCString(_response, " value=\"");
+ [_response appendContentHTMLAttributeValue:v];
WOResponse_AddChar(_response, '"');
- if (v) {
- WOResponse_AddCString(_response, " value=\"");
- [_response appendContentHTMLAttributeValue:v];
- WOResponse_AddChar(_response, '"');
- }
- [self appendExtraAttributesToResponse:_response inContext:_ctx];
+ }
+ [self appendExtraAttributesToResponse:_response inContext:_ctx];
- if (self->otherTagString) {
- WOResponse_AddString(_response,
- [self->otherTagString stringValueInComponent:
+ if (self->otherTagString) {
+ WOResponse_AddString(_response,
+ [self->otherTagString stringValueInComponent:
[_ctx component]]);
- }
- WOResponse_AddCString(_response, " />");
}
+ WOResponse_AddCString(_response, " />");
}
/* description */
- (NSString *)associationDescription {
- NSMutableString *str = [[NSMutableString alloc] init];
+ NSMutableString *str;
+
+ str = [NSMutableString stringWithCapacity:32];
[str appendString:[super associationDescription]];
-
- if (self->filePath) [str appendFormat:@" path=%@", self->filePath];
- if (self->data) [str appendFormat:@" data=%@", self->data];
-
- return AUTORELEASE(str);
+
+ if (self->filePath != nil) [str appendFormat:@" path=%@", self->filePath];
+ if (self->data != nil) [str appendFormat:@" data=%@", self->data];
+
+ return str;
}
@end /* WOFileUpload */
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGObjWeb_DynElem_common_H__
#define __NGObjWeb_DynElem_common_H__
-I./DynamicElements/ \
-I./Templates/ \
-I.. \
- -I../../skyrix-core \
- -I../../skyrix-core/NGStreams/ \
- -I../../skyrix-core/NGExtensions
+ -I../../sope-core \
+ -I../../sope-core/NGStreams/ \
+ -I../../sope-core/NGExtensions \
+ -I../../sope-mime
libNGObjWeb_OBJCFLAGS += -Wall -Wno-import -Wno-protocol
ifneq ($(GNUSTEP_BUILD_DIR),)
-RELBUILD_DIR_JS=$(GNUSTEP_BUILD_DIR)/../../../ThirdParty/js-1.5
RELBUILD_DIR_SOPE=$(GNUSTEP_BUILD_DIR)/..
-RELBUILD_DIR_SxCore=$(GNUSTEP_BUILD_DIR)/../../skyrix-core
-RELBUILD_DIR_SxXml=$(GNUSTEP_BUILD_DIR)/../../skyrix-xml
+RELBUILD_DIR_SxCore=$(GNUSTEP_BUILD_DIR)/../../sope-core
+RELBUILD_DIR_SxXml=$(GNUSTEP_BUILD_DIR)/../../sope-xml
ADDITIONAL_LIB_DIRS += \
-L$(GNUSTEP_OBJ_DIR) \
- -L$(RELBUILD_DIR_SOPE)/NGJavaScript/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SOPE)/NGScripting/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGMime/$(GNUSTEP_OBJ_DIR_NAME) \
-L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \
else
libNGObjWeb_LIB_DIRS += \
-L./$(GNUSTEP_OBJ_DIR) \
- -L../NGJavaScript/$(GNUSTEP_OBJ_DIR) \
-L../NGScripting/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-core/NGMime/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-core/NGStreams/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-core/NGExtensions/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-core/EOControl/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-xml/XmlRpc/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-xml/DOM/$(GNUSTEP_OBJ_DIR) \
- -L../../skyrix-xml/SaxObjC/$(GNUSTEP_OBJ_DIR)
+ -L../../sope-mime/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/NGStreams/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/NGExtensions/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/XmlRpc/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/DOM/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR)
endif
libNGObjWeb_LIBRARIES_DEPEND_UPON += \
- -lNGJavaScript -lNGScripting \
+ -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
- -lXmlRpc -lDOM -lSaxObjC \
- -ljs
+ -lXmlRpc -lDOM -lSaxObjC
wod_LIB_DIRS += $(libNGObjWeb_LIB_DIRS)
wod_TOOL_LIBS += \
- -lNGObjWeb -lNGJavaScript -lNGScripting \
+ -lNGObjWeb -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
- -lDOM -lSaxObjC
+ -lXmlRpc -lDOM -lSaxObjC
xmlrpc_call_LIB_DIRS += $(libNGObjWeb_LIB_DIRS)
sope_LIB_DIRS += $(libNGObjWeb_LIB_DIRS)
xmlrpc_call_TOOL_LIBS += \
- -lNGObjWeb -lNGJavaScript -lNGScripting \
+ -lNGObjWeb -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
sope_TOOL_LIBS += \
- -lNGObjWeb -lNGJavaScript -lNGScripting \
+ -lNGObjWeb -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
-lXmlRpc -lDOM -lSaxObjC
#include <NGHttp/NGHttp.h>
#include <NGObjWeb/WOCookie.h>
#include <NGObjWeb/WORequest.h>
+#include <NGMime/NGMime.h>
#include "common.h"
@interface WORequest(NGSupport)
NGHttp_INCLUDE_DIRS += \
-I.. -I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-mime \
ADDITIONAL_CPPFLAGS += -Wall -pipe
NGXmlRpc_INCLUDE_DIRS += \
-I.. -I. -I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
- -I../../../skyrix-xml
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-xml
#include <NGObjWeb/WOResponse.h>
#include <NGObjWeb/WORequest.h>
#include <NGStreams/NGBufferedStream.h>
+#include <NGStreams/NGActiveSocket.h>
+#include <NGStreams/NGStreamExceptions.h>
@interface NSString(DigestInfo)
- (NSDictionary *)parseHTTPDigestInfo;
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+#include <NGExtensions/NGExtensions.h>
#include <NGObjWeb/WOApplication.h>
#include <NGObjWeb/WOAdaptor.h>
#include <NGObjWeb/WOSession.h>
+#include <NGStreams/NGStreams.h>
+#include <NGStreams/NGNet.h>
#include "common.h"
#if !LIB_FOUNDATION_LIBRARY
-I../SoObjects \
-I../WebDAV \
-I.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
- -I../../../skyrix-xml
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-xml
-I../DynamicElements/ \
-I../WebDAV/ \
-I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
- -I../../../skyrix-xml
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-xml
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+
+#include <NGExtensions/NGExtensions.h>
-I.. \
-I../DynamicElements/ \
-I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
- -I../../../skyrix-xml
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-xml
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+
+#if !LIB_FOUNDATION_LIBRARY
+# include <NGExtensions/NGObjectMacros.h>
+# include <NGExtensions/NSString+Ext.h>
+#endif
+
+# include <NGExtensions/NGExtensions.h>
+
+#define IS_DEPRECATED \
+ NSLog(@"WARNING: used deprecated method: %s:%i.", \
+ __PRETTY_FUNCTION__, __LINE__);
# $Id$
-SUBMINOR_VERSION:=1
+SUBMINOR_VERSION:=2
# v4.2.413 requires libSaxObjC v4.2.33
# v4.2.341 requires libNGExtensions v4.2.77
#include <NGObjWeb/WOResponse.h>
#include <NGObjWeb/WOContext.h>
#include <EOControl/EOControl.h>
+#include <NGStreams/NGStreams.h>
+#include <NGStreams/NGNet.h>
#include "WORunLoop.h"
#include "common.h"
-# $Id$
+# compiler flags
ADDITIONAL_CPPFLAGS += -pipe -Wall
ADDITIONAL_CPPFLAGS += -DCOMPILING_NGOBJWEB=1
WOHttpAdaptor_INCLUDE_DIRS += \
-I.. -I. -I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-mime
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+
+#include <NGExtensions/NGExtensions.h>
+#include <NGStreams/NGStreams.h>
+#include <NGStreams/NGNet.h>
-# $Id$
+# compiler flags
ADDITIONAL_INCLUDE_DIRS += \
-I.. \
-I../SoObjects/ \
-I../DynamicElements/ \
-I../.. \
- -I../../../skyrix-core \
- -I../../../skyrix-core/NGStreams \
- -I../../../skyrix-core/NGExtensions \
- -I../../../skyrix-xml
+ -I../../../sope-core \
+ -I../../../sope-core/NGStreams \
+ -I../../../sope-core/NGExtensions \
+ -I../../../sope-xml
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2002-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
#include "SoSubscription.h"
#include <NGStreams/NGDatagramPacket.h>
#include <NGStreams/NGDatagramSocket.h>
+#include <NGStreams/NGInternetSocketAddress.h>
+#include <NGStreams/NGInternetSocketDomain.h>
#include "common.h"
@implementation SoSubscription
--- /dev/null
+/*
+ Copyright (C) 2000-2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#import <Foundation/Foundation.h>
+#include <NGExtensions/NGExtensions.h>
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGObjWeb_common_H__
#define __NGObjWeb_common_H__
#include <NGExtensions/NGExtensions.h>
#include <NGStreams/NGStreams.h>
-#include <NGStreams/NGNet.h>
-
-#include <NGMime/NGMime.h>
#if NeXT_RUNTIME || APPLE_RUNTIME
# ifndef sel_get_name
WO_LIBS = -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions
WO_DEFINE = -DNGObjWeb_LIBRARY=1
-ifeq ($(FOUNDATION_LIB),nx)
-WO_LIBS += -lFoundationExt
-endif
-
ifeq ($(FOUNDATION_LIB),apple)
WO_LIBS += \
- -lNGJavaScript -lNGScripting \
+ -lNGScripting \
-lNGMime -lNGStreams -lNGExtensions -lEOControl \
- -lXmlRpc -lDOM -lSaxObjC \
- -ljs
+ -lXmlRpc -lDOM -lSaxObjC
endif
#include "common.h"
#include <NGExtensions/NSString+Ext.h>
+#include <NGStreams/NGStreams.h>
+#include <NGStreams/NGNet.h>
#if !LIB_FOUNDATION_LIBRARY
# include "UnixSignalHandler.h"
return self;
}
-- (void)dealloc {
- [self->client release];
- [self->methodName release];
- [self->parameters release];
- [super dealloc];
-}
-
-//
-
- (BOOL)initXmlRpcClientWithStringURL:(NSString *)_url {
NSURL *url = nil;
}
}
+- (void)dealloc {
+ [self->client release];
+ [self->methodName release];
+ [self->parameters release];
+ [super dealloc];
+}
+
+/* printing */
+
- (void)printElement:(id)element {
[element printWithTool:self];
}
ADDITIONAL_CPPFLAGS += -pipe -Wall -Wno-protocol
ADDITIONAL_INCLUDE_DIRS += \
- -I.. \
- -I../../skyrix-core/ \
- -I../../skyrix-core/NGExtensions
+ -I.. \
+ -I../../sope-core/ \
+ -I../../sope-core/NGExtensions \
+ -I../../sope-core/NGStreams \
+ -I../../sope-xml
-ADDITIONAL_LIB_DIRS += -L./$(GNUSTEP_OBJ_DIR)
+ADDITIONAL_LIB_DIRS += \
+ -L./$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/NGExtensions/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-core/NGStreams/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR) \
+ -L../../sope-xml/DOM/$(GNUSTEP_OBJ_DIR) \
ifeq ($(FOUNDATION_LIB),nx)
ADDITIONAL_LDFLAGS += -framework Foundation
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#import <Foundation/Foundation.h>
VERSION=4.3.0
SUBPROJECTS = \
- NGLdap \
+ NGLdap \
samples
include $(GNUSTEP_MAKEFILES)/aggregate.make