From 6100ee3d304417fde7afc1ed1d432d0dc9944f0f Mon Sep 17 00:00:00 2001 From: helge Date: Sun, 10 Oct 2004 12:21:18 +0000 Subject: [PATCH] minor cleanups git-svn-id: http://svn.opengroupware.org/SOPE/trunk@237 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/samples/README | 25 +++++++++++ sope-appserver/samples/TestPages/Main.m | 1 - sope-appserver/samples/davpropget/README | 6 +-- sope-appserver/samples/davpropget/common.h | 23 ++++++++++ .../samples/davpropget/davpropget.m | 43 ++++++++++++++----- sope-appserver/samples/iCalPortal/README | 2 - sope-appserver/samples/parsedav/README | 2 - 7 files changed, 83 insertions(+), 19 deletions(-) create mode 100644 sope-appserver/samples/README create mode 100644 sope-appserver/samples/davpropget/common.h diff --git a/sope-appserver/samples/README b/sope-appserver/samples/README new file mode 100644 index 00000000..99697c2d --- /dev/null +++ b/sope-appserver/samples/README @@ -0,0 +1,25 @@ +sope-appserver samples +====================== + +HelloWorld +- simple SOPE application with a single .wo wrapper template + +TestPages +- small app for testing NGObjWeb bugs + +TestSite +- test site for use with the 'sope' tool + +WOxExtTest +- an XML template (.wox) based application which shows the use of various + WEExtensions/WOExtensions reusable components + +davpropget +- simple example to retrieve the properties of a WebDAV URL using + WOHTTPConnection. + +iCalPortal +- pre-SOPE attempt to write a small iCal calendaring portal + +parsedav +- a small tool to test the NGObjWeb WebDAV parser diff --git a/sope-appserver/samples/TestPages/Main.m b/sope-appserver/samples/TestPages/Main.m index f974aa71..ce5923da 100644 --- a/sope-appserver/samples/TestPages/Main.m +++ b/sope-appserver/samples/TestPages/Main.m @@ -18,7 +18,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -// $Id$ #include diff --git a/sope-appserver/samples/davpropget/README b/sope-appserver/samples/davpropget/README index 7ccc851f..63566ef6 100644 --- a/sope-appserver/samples/davpropget/README +++ b/sope-appserver/samples/davpropget/README @@ -1,10 +1,8 @@ -# $Id$ +davpropget +========== Note: you need to use the "simple" HTTP parser: Defaults write davpropget WOHTTPConnectionUseSimpleParser YES -davpropget -========== - Simple example to retrieve the properties of a WebDAV URL using WOHTTPConnection. diff --git a/sope-appserver/samples/davpropget/common.h b/sope-appserver/samples/davpropget/common.h new file mode 100644 index 00000000..a950b8ce --- /dev/null +++ b/sope-appserver/samples/davpropget/common.h @@ -0,0 +1,23 @@ +/* + Copyright (C) 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 +#include diff --git a/sope-appserver/samples/davpropget/davpropget.m b/sope-appserver/samples/davpropget/davpropget.m index 46888896..e37b23ed 100644 --- a/sope-appserver/samples/davpropget/davpropget.m +++ b/sope-appserver/samples/davpropget/davpropget.m @@ -1,15 +1,28 @@ -// $Id$ +/* + Copyright (C) 2004 SKYRIX Software AG -#import -#include -#include -#include -#include -#include -#include -#include + This file is part of OpenGroupware.org. -#define DEFAULT_NS @"DAV:" + 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 + +@class NSString, NSURL; +@class WOHTTPConnection; @interface DavPropGetTool : NSObject { @@ -27,6 +40,16 @@ @end +#include "common.h" +#include +#include +#include +#include +#include +#include + +#define DEFAULT_NS @"DAV:" + @implementation DavPropGetTool static id xmlParser = nil; diff --git a/sope-appserver/samples/iCalPortal/README b/sope-appserver/samples/iCalPortal/README index 37e3e504..7626443a 100644 --- a/sope-appserver/samples/iCalPortal/README +++ b/sope-appserver/samples/iCalPortal/README @@ -1,5 +1,3 @@ -# $Id$ - iCalPortal ========== diff --git a/sope-appserver/samples/parsedav/README b/sope-appserver/samples/parsedav/README index 5881232f..c4f6ba16 100644 --- a/sope-appserver/samples/parsedav/README +++ b/sope-appserver/samples/parsedav/README @@ -1,5 +1,3 @@ -# $Id$ - parsedav ======== -- 2.39.5