From 73dda505e4781c7c18b1decc0a54e1f24bc775a6 Mon Sep 17 00:00:00 2001 From: helge Date: Fri, 22 Jul 2005 15:28:18 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@907 d1b88da0-ebda-0310-925b-ed51d893ca5b --- UI/Anais/AnaisAttendeeSelector.m | 357 --------------------- UI/Anais/AnaisSelector.m | 169 ---------- UI/Anais/AnaisUIProduct.m | 32 -- UI/Anais/AnaisUidSelector.m | 143 --------- UI/Anais/ChangeLog | 125 -------- UI/Anais/English.lproj/Localizable.strings | 16 - UI/Anais/French.lproj/Localizable.strings | 16 - UI/Anais/GNUmakefile | 34 -- UI/Anais/GNUmakefile.postamble | 17 - UI/Anais/GNUmakefile.preamble | 1 - UI/Anais/Version | 3 - UI/Anais/bundle-info.plist | 23 -- UI/Anais/common.h | 2 - UI/Anais/product.plist | 12 - 14 files changed, 950 deletions(-) delete mode 100644 UI/Anais/AnaisAttendeeSelector.m delete mode 100644 UI/Anais/AnaisSelector.m delete mode 100644 UI/Anais/AnaisUIProduct.m delete mode 100644 UI/Anais/AnaisUidSelector.m delete mode 100644 UI/Anais/ChangeLog delete mode 100644 UI/Anais/English.lproj/Localizable.strings delete mode 100644 UI/Anais/French.lproj/Localizable.strings delete mode 100644 UI/Anais/GNUmakefile delete mode 100644 UI/Anais/GNUmakefile.postamble delete mode 100644 UI/Anais/GNUmakefile.preamble delete mode 100644 UI/Anais/Version delete mode 100644 UI/Anais/bundle-info.plist delete mode 100644 UI/Anais/common.h delete mode 100644 UI/Anais/product.plist diff --git a/UI/Anais/AnaisAttendeeSelector.m b/UI/Anais/AnaisAttendeeSelector.m deleted file mode 100644 index 1377ab8e..00000000 --- a/UI/Anais/AnaisAttendeeSelector.m +++ /dev/null @@ -1,357 +0,0 @@ -/* - 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. -*/ -// $Id: AnaisSelector.m 184 2004-08-11 17:46:10Z znek $ - -#include - -/* - AnaisAttendeeSelector - - Select a set of attendees using Anais. - - Bindings: - attendees - array of iCalPerson objects - selectorID - string to be used as the identifier for form/JS elements - withCN - show CN of person (eg disabled for resources) - withAddressBook - allow selection from private address book (default:NO) - division - Anais division - emailForUser - default EMail - cnForUser - default CN - role - role for submitted attendees - - Sample: - -*/ - -@class iCalPerson; - -@interface AnaisAttendeeSelector : UIxComponent -{ - NSString *selectorID; - NSString *division; - NSArray *attendees; - iCalPerson *attendee; - NSString *emailForUser; - NSString *cnForUser; - NSString *role; - struct { - int withCN:1; - int withAddressBook:1; - int reserved:30; - } flags; -} - -@end - -#include -#include -#include -#include -#include -#include "common.h" - -@implementation AnaisAttendeeSelector - -static BOOL debugOn = NO; - -+ (void)initialize { - NSUserDefaults *ud = [NSUserDefaults standardUserDefaults]; - - debugOn = [ud boolForKey:@"AnaisDebugEnabled"]; -} - -- (void)dealloc { - [self->role release]; - [self->emailForUser release]; - [self->cnForUser release]; - [self->division release]; - [self->selectorID release]; - [self->attendee release]; - [self->attendees release]; - [super dealloc]; -} - -/* notifications */ - -- (void)sleep { - [self->attendee release]; self->attendee = nil; - [super sleep]; -} - -/* accessors */ - -- (void)setAttendees:(NSArray *)_attendees { - ASSIGN(self->attendees, _attendees); -} -- (NSArray *)attendees { - return self->attendees; -} -- (BOOL)hasAttendees { - return [[self attendees] count] > 0 ? YES : NO; -} -- (BOOL)hasNoAttendees { - return [[self attendees] count] == 0 ? YES : NO; -} - -- (void)setWithCN:(BOOL)_flag { - self->flags.withCN = _flag ? 1 : 0; -} -- (BOOL)withCN { - return self->flags.withCN ? YES : NO; -} - -- (void)setWithAddressBook:(BOOL)_flag { - self->flags.withAddressBook = _flag ? 1 : 0; -} -- (BOOL)withAddressBook { - return self->flags.withAddressBook ? YES : NO; -} - -- (void)setAttendee:(iCalPerson *)_attendee { - ASSIGN(self->attendee, _attendee); -} -- (iCalPerson *)attendee { - return self->attendee; -} - -- (void)setDivision:(NSString *)_value { - ASSIGNCOPY(self->division, _value); -} -- (NSString *)division { - return self->division; -} - -- (void)setRole:(NSString *)_value { - ASSIGNCOPY(self->role, _value); -} -- (NSString *)role { - return self->role; -} - -- (void)setEmailForUser:(NSString *)_value { - ASSIGNCOPY(self->emailForUser, _value); -} -- (NSString *)emailForUser { - return self->emailForUser; -} - -- (void)setCnForUser:(NSString *)_value { - ASSIGNCOPY(self->cnForUser, _value); -} -- (NSString *)cnForUser { - return self->cnForUser; -} - -- (BOOL)showDefaultAttendees { - return [self hasNoAttendees] && [[self emailForUser] length] > 0 ? YES : NO; -} - -/* email, stat, cn */ - -- (NSString *)combinedInfoForUser { - NSString *e, *c; - - e = [self emailForUser]; - c = [self cnForUser]; - return [[e stringByAppendingString:@";0;"] stringByAppendingString:c]; -} - -- (NSString *)combinedInfo { - iCalPerson *p; - NSString *e, *stat, *c; - - p = [self attendee]; - e = [p rfc822Email]; - c = [p cnForDisplay]; - stat = [NSString stringWithFormat:@";%d;", [p participationStatus]]; - return [[e stringByAppendingString:stat] stringByAppendingString:c]; -} - -/* id accessors */ - -- (void)setSelectorID:(NSString *)_value { - ASSIGNCOPY(self->selectorID, _value); -} -- (NSString *)selectorID { - return self->selectorID; -} -- (NSString *)capitalizedSelectorID { - return [[self selectorID] capitalizedString]; -} - -- (NSString *)windowId { - /* eg: 'Resources' */ - return [[self capitalizedSelectorID] stringByAppendingString:@"s"]; -} -- (NSString *)callbackName { - /* eg: 'addResource' */ - return [@"add" stringByAppendingString:[self capitalizedSelectorID]]; -} -- (NSString *)tableId { - /* eg: 'resources' */ - return [[self selectorID] stringByAppendingString:@"s"]; -} -- (NSString *)checkboxId { - /* eg: 'resources' */ - return [self tableId]; /* TODO: znek, is this ok? */ -} - -/* handling requests */ - -- (NSArray *)getICalPersonsFromFormValues:(NSArray *)_values { - unsigned i, count; - NSMutableArray *result; - - count = [_values count]; - result = [NSMutableArray arrayWithCapacity:count]; - for (i = 0; i < count; i++) { - NSString *pString, *email, *cn; - NSRange r; - iCalPerson *p; - - pString = [_values objectAtIndex:i]; - if ([pString length] == 0) - continue; - - p = [[iCalPerson alloc] init]; - - /* sample: 'test.et.di.cete-lyon@equipement.gouv.fr;1;test' */ - /* delimiter between email and partStat */ - r = [pString rangeOfString:@";"]; - if (r.length > 0) { - email = [pString substringToIndex:r.location]; - - pString = [pString substringFromIndex:NSMaxRange(r)]; - /* delimiter between partStat and CN */ - r = [pString rangeOfString:@";"]; - if (r.length > 0) { - NSString *stat; - - stat = [pString substringToIndex:r.location]; - [p setParticipationStatus:[stat intValue]]; - cn = [pString substringFromIndex:NSMaxRange(r)]; - if ([cn length] == 0) cn = nil; - } - } - else { - email = pString; - cn = nil; - } - if (cn == nil) { - /* fallback */ - AgenorUserManager *um = [AgenorUserManager sharedUserManager]; - cn = [um getCNForUID:[um getUIDForEmail:email]]; - } - - [p setEmail:[@"mailto:" stringByAppendingString:email]]; - if ([cn isNotNull]) [p setCn:cn]; - - /* see RFC2445, sect. 4.2.16 for details */ - [p setRole:[self role]]; - [result addObject:p]; - [p release]; - } - return result; -} -- (void)takeValuesFromRequest:(WORequest *)_rq inContext:(WOContext *)_ctx { - /* OK, we have a special form value processor */ - NSArray *tmp; - - [self debugWithFormat:@"Note: will take values ..."]; - - tmp = [self getICalPersonsFromFormValues: - [_rq formValuesForKey:[self checkboxId]]]; - [self debugWithFormat:@" got %i attendees: %@", [tmp count], tmp]; - [self setAttendees:tmp]; -} - -/* response generation */ - -- (NSString *)jsCode { - NSMutableString *ms; - WOContext *ctx; - NSString *s; - - ms = [NSMutableString stringWithCapacity:128]; - - ctx = [self context]; - if (![[ctx valueForKey:@"HasAddTableAnaisAttendeeSelector"] boolValue]) { - static NSString *script = \ - @"function unescapeCallbackParameter(s) {\n" - @" s = s.replace(/'/g, \"'\");\n" - @" s = s.replace(/"/g, '\"');\n" - @" return s;\n" - @"}\n" - @"\n" - @"function addToTable(tableId, type, cn, dn, email, uid, sn) {\n" - @" var test = document.getElementById(email);\n" - @" if(test)\n" - @" return;\n" - @"\n" - @" var table = document.getElementById(tableId);\n" - @" var tr = document.createElement('tr');\n" - @" var td, checkbox, text;\n" - @"\n" - @" cn = this.unescapeCallbackParameter(cn);\n" - @" td = document.createElement('td');\n" - @" checkbox = document.createElement('input');\n" - @" checkbox.setAttribute('type', 'checkbox');\n" - @" checkbox.setAttribute('checked', 'checked');\n" - @" checkbox.setAttribute('value', email + ';0;' + cn);\n" - @" checkbox.setAttribute('id', email);\n" - @" checkbox.setAttribute('name', tableId);\n" - @" td.appendChild(checkbox);\n" - @" tr.appendChild(td);\n" - @" td = document.createElement('td');\n" - @" text = document.createTextNode(cn);\n" - @" td.appendChild(text);\n" - @" tr.appendChild(td);\n" - @" table.appendChild(tr);\n" - @"}\n"; - [ms appendString:script]; - - [ctx takeValue:[NSNumber numberWithBool:YES] - forKey:@"HasAddTableAnaisAttendeeSelector"]; - } - - s = - // @"function %@(type, cn, dn, email, uid, sn) {\n" - // @" addToTable('%@', type, cn, dn, email, uid, sn);\n" - // @"}\n"; - @"function %@(type, email, uid, sn, cn, dn) {\n" - @" addToTable('%@', type, cn, dn, email, uid, sn);\n" - @"}\n"; - - [ms appendFormat:s, [self callbackName], [self tableId]]; - return ms; -} - -/* debugging */ - -- (BOOL)isDebuggingEnabled { - return debugOn; -} - -@end /* AnaisAttendeeSelector */ diff --git a/UI/Anais/AnaisSelector.m b/UI/Anais/AnaisSelector.m deleted file mode 100644 index 07cea046..00000000 --- a/UI/Anais/AnaisSelector.m +++ /dev/null @@ -1,169 +0,0 @@ -/* - 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. -*/ -// $Id$ - -#include - -/* - AnaisSelector - - Open a satellite window providing access to Anais. - - Bindings: - title - button title to display to user - windowId - string to be used for uniquing this window to a particular - purpose (i.e. for adding participants) - division - Anais division - callback - name of JavaScript callback function to use in caller's page - extraAttributes - extra attributes to add as paramaters to the callback - - Sample: - - */ - -@interface AnaisSelector : UIxComponent -{ - NSString *title; - NSString *windowId; - NSString *division; - NSString *callback; - NSString *extraAttributes; -} - -- (void)setTitle:(NSString *)_title; -- (NSString *)title; -- (void)setWindowId:(NSString *)_winId; -- (NSString *)windowId; -- (void)setDivision:(NSString *)_division; -- (NSString *)division; -- (void)setCallback:(NSString *)_callback; -- (NSString *)callback; - -- (NSString *)jsFunctionName; -- (NSString *)jsFunctionHref; -- (NSString *)jsCode; -@end - -#include "common.h" - -@implementation AnaisSelector - -- (id)init { - if ((self = [super init])) { - [self setTitle:@"Anais"]; - [self setWindowId:@"Anais"]; - [self setCallback:@"undefined"]; - } - return self; -} - -- (void)dealloc { - [self->title release]; - [self->windowId release]; - [self->division release]; - [self->callback release]; - [self->extraAttributes release]; - [super dealloc]; -} - -/* accessors */ - -- (void)setTitle:(NSString *)_title { - ASSIGNCOPY(self->title, _title); -} -- (NSString *)title { - return self->title; -} - -- (void)setWindowId:(NSString *)_winId { - ASSIGNCOPY(self->windowId, _winId); -} -- (NSString *)windowId { - return self->windowId; -} - -- (void)setDivision:(NSString *)_division { - ASSIGNCOPY(self->division, _division); -} -- (NSString *)division { - return self->division; -} - -- (void)setCallback:(NSString *)_callback { - ASSIGNCOPY(self->callback, _callback); -} -- (NSString *)callback { - return self->callback; -} - -- (void)setExtraAttributes:(NSString *)_extraAttributes { - ASSIGN(self->extraAttributes, _extraAttributes); -} -- (NSString *)extraAttributes { - return self->extraAttributes; -} - -/* JavaScript */ - -- (NSString *)jsFunctionName { - return [NSString stringWithFormat:@"openAnaisWindowWithId%@", - [self windowId]]; -} - -- (NSString *)jsFunctionHref { - return [NSString stringWithFormat:@"javascript:%@()", - [self jsFunctionName]]; -} - -- (NSString *)jsCode { - static NSString *codeFmt = \ - @"function %@() {\n" - @" var url = '/anais/Admin/Autres/aideFonc.php?m_fonc=%@&m_data=data1&m_type=Pour&m_nom=,%@&m_champ=mail,uid,sn%@&m_nature=BALI&m_agenda0#mon_etiquette';\n" - @" var anaisWindow = window.open(url, '%@', 'width=350, height=600, left=10, top=10, toolbar=no, dependent=yes, menubar=no, location=no, resizable=yes, scrollbars=yes, directories=no, status=no');\n" - @" anaisWindow.focus();\n" - @"}"; - static NSString *divFmt = @"&m_type=%@"; - NSString *fmt, *exAttrFmt; - - if([self division]) - fmt = [NSString stringWithFormat:divFmt, [self division]]; - else - fmt = @""; - - if([self extraAttributes]) - exAttrFmt = [NSString stringWithFormat:@",%@", [self extraAttributes]]; - else - exAttrFmt = @""; - - return [NSString stringWithFormat:codeFmt, - [self jsFunctionName], - [self callback], - fmt, - exAttrFmt, - [self windowId]]; -} - -@end /* AnaisSelector */ diff --git a/UI/Anais/AnaisUIProduct.m b/UI/Anais/AnaisUIProduct.m deleted file mode 100644 index 0c1189d2..00000000 --- a/UI/Anais/AnaisUIProduct.m +++ /dev/null @@ -1,32 +0,0 @@ -/* - 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. -*/ -// $Id$ - -#import - -@interface AnaisUIProduct : NSObject -{ -} - -@end - -@implementation AnaisUIProduct -@end /* AnaisUIProduct */ diff --git a/UI/Anais/AnaisUidSelector.m b/UI/Anais/AnaisUidSelector.m deleted file mode 100644 index 0b2841dd..00000000 --- a/UI/Anais/AnaisUidSelector.m +++ /dev/null @@ -1,143 +0,0 @@ -/* - Copyright (C) 2000-2004 SKYRIX Software AG - - This file is part of OGo - - 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. -*/ -// $Id$ - - -#include - -/* - AnaisUidSelector - - Modifiable list of uids used to select multiple calendars for viewing at once. -*/ - -@interface AnaisUidSelector : UIxComponent -{ - NSString *userUID; - NSString *userUIDString; - NSString *activeUserCN; - int userUIDIdx; -} - -- (NSString *)prettyCN; -- (NSString *)showHref; - -@end - -#include "common.h" -#include -#include -#include -#include -#include "SoObjects/Appointments/SOGoAppointmentFolder.h" - -@implementation AnaisUidSelector - -- (void)dealloc { - [self->userUID release]; - [self->userUIDString release]; - [self->activeUserCN release]; - [super dealloc]; -} - -/* Accessors */ - -- (void)setUserUID:(NSString *)_userUID { - ASSIGN(self->userUID, _userUID); -} -- (NSString *)userUID { - return self->userUID; -} -- (void)setUserUIDIdx:(int)_userUIDIdx { - self->userUIDIdx = _userUIDIdx; -} -- (int)userUIDIdx { - return self->userUIDIdx; -} -- (BOOL)needsComma { - return self->userUIDIdx == 0 ? NO : YES; -} - -- (NSString *)userUIDString { - if (!self->userUIDString) { - NSString *calendarUIDString; - - calendarUIDString = [[[self clientObject] calendarUIDs] - componentsJoinedByString:@","]; - ASSIGN(self->userUIDString, calendarUIDString); - } - return self->userUIDString; -} - - -/* Helpers */ - -- (NSArray *)userUIDs { - return [[self userUIDString] componentsSeparatedByString:@","]; -} - -- (NSString *)activeUserCN { - if (!self->activeUserCN) { - activeUserCN = [[[[self context] activeUser] cn] retain]; - } - return self->activeUserCN; -} - -- (NSString *)prettyCN { - AgenorUserManager *um; - NSString *cn; - NSString *classPart; - - um = [AgenorUserManager sharedUserManager]; - cn = [um getCNForUID:[self userUID]]; - if ([cn isEqualToString:[self activeUserCN]]) - classPart = @" class=\"anais_me\""; - else - classPart = @""; - - return [NSString stringWithFormat:@"%@", - [self userUID], - classPart, - cn]; -} - - -/* Href */ - -- (NSString *)showHref { - return [self completeHrefForMethod:@"show"]; -} - -/* this is to determine the initial visibility of the 'addMeToo' button */ -- (NSString *)meTooStyle { - if([[self userUIDString] rangeOfString:[[[self context] activeUser] - login]].length > 0) - return @"visibility:hidden"; - return @"visibility:visible"; -} - -/* actions */ - -- (BOOL)shouldTakeValuesFromRequest:(WORequest *)_rq inContext:(WOContext*)_c { - return YES; -} - -@end diff --git a/UI/Anais/ChangeLog b/UI/Anais/ChangeLog deleted file mode 100644 index c5c679b3..00000000 --- a/UI/Anais/ChangeLog +++ /dev/null @@ -1,125 +0,0 @@ -2005-07-19 Marcus Mueller - - * AnaisUidSelector.m: completely rewritten (v0.9.23) - -2005-07-18 Marcus Mueller - - * AnaisUidSelector.m: rewritten to add the CN's to the displayed - list instead of the UIDs. (v0.9.22) - -2005-07-07 Marcus Mueller - - * v0.9.21 - - * AnaisUidSelector.m: added new 'clearAllAndAddMe' Javascript function - which is called by the new 'me alone' button - - * English.lproj/Localizable.strings: added 'me alone' label - -2005-03-23 Marcus Mueller - - * renamed "default.strings" to "Localizable.strings" (v0.9.20) - -2005-01-07 Marcus Mueller - - * {English/French}.lproj/default.strings: changed encoding from - ISO-Latin-1 to UTF-8, which is now the default (v0.9.19) - -2004-12-17 Marcus Mueller - - * AnaisAttendeeSelector.m: preserve participation status (v0.9.18) - -2004-10-20 Marcus Mueller - - * AnaisAttendeeSelector.m: provide proper unescaping of special HTML - entities via new unescape function. (v0.9.17) - -2004-10-18 Marcus Mueller - - * v0.9.16 - - * AnaisUidSelector.m: changed function addUid to instantly return if - given uid is empty - - * AnaisUidSelector.wox: added UixContactSelector - -2004-10-16 Marcus Mueller - - * AnaisAttendeeSelector.m: minor cleanup (v0.9.15) - -2004-09-14 Marcus Mueller - - * v0.9.14 - - * AnaisUidSelector.m: added tiny bit of documentation - - * AnaisSelector.m: provide API documentation and added code to set - extra arguments for Anais, so that callback can receive arbitrary - values - -2004-09-13 Marcus Mueller - - * v0.9.13 - - * AnaisAttendeeSelector.[m|wox]: new binding "withAddressBook", if - YES will add a button to open the private addressbook. Default is - NO. - - * {English|French}.lproj/default.strings: new localizable string - -2004-09-10 Marcus Mueller - - * AnaisSelector.wox, AnaisUidSelector.wox: use the new button_submit - in order to look more pleasing (v0.9.12) - -2004-09-10 Helge Hess - - * AnaisAttendeeSelector.wox: fixed missing label namespace (v0.9.11) - -2004-09-06 Marcus Mueller - - * {English|French}.lproj/default.strings: added localizations (v0.9.10) - -2004-09-01 Helge Hess - - * GNUmakefile.preamble: removed dependency on libNGScripting (v0.9.9) - -2004-08-15 Helge Hess - - * AnaisAttendeeSelector.m: added AnaisDebugEnabled default to - enable/disable debug logs (v0.9.8) - - * AnaisAttendeeSelector.m: added form processing code (v0.9.7) - - * AnaisAttendeeSelector.m: added support for default attendees (as used - by the editor component) (v0.9.6) - - * AnaisAttendeeSelector.wox: added 'division' binding (v0.9.5) - - * added AnaisAttendeeSelector component (v0.9.4) - -2004-08-12 Marcus Mueller - - * AnaisUidSelector.[m|wox]: fixed all known problems (v0.9.3) - -2004-08-11 Marcus Mueller - - * AnaisUidSelector.[m|wox]: much enhanced, but still not perfect - (v0.9.2) - -2004-08-11 Marcus Mueller - - * AnaisUidSelector.[m|wox]: added (v0.9.1) - -2004-08-11 Marcus Mueller - - * v0.9.0 - - * AnaisSelector.[m|wox]: added several associations used for uniquing - the selector and one for preselecting a certain division (LDAP). - - * common.h: added for convenience. - -2004-08-10 Marcus Mueller - - * ChangeLog: created. diff --git a/UI/Anais/English.lproj/Localizable.strings b/UI/Anais/English.lproj/Localizable.strings deleted file mode 100644 index 30cdd477..00000000 --- a/UI/Anais/English.lproj/Localizable.strings +++ /dev/null @@ -1,16 +0,0 @@ -/* this file is in UTF-8 format! */ - -/* button labels */ - -// open Anais dialog -"Search in Anais" = "Search in Anaïs"; -// open private Addressbook -"Search in Addressbook" = "Search in Addressbook"; -// add myself to the list of uids to display -"me too" = "me too"; -// clear the list of uids -"clear" = "clear"; -// show the calendar, composed of the selected uids -"show" = "show"; -// clear the list of uids and add myself -"me alone" = "just me"; diff --git a/UI/Anais/French.lproj/Localizable.strings b/UI/Anais/French.lproj/Localizable.strings deleted file mode 100644 index 7b0c8d2a..00000000 --- a/UI/Anais/French.lproj/Localizable.strings +++ /dev/null @@ -1,16 +0,0 @@ -/* this file is in UTF-8 format! */ - -/* button labels */ - -// open Anais dialog -"Search in Anais" = "Sélectionner dans Anaïs"; -// open private Addressbook -"Search in Addressbook" = "Sélectionner dans Carnet d'adresses"; -// add myself to the list of uids to display -"me too" = "Moi aussi"; -// clear the list of uids -"clear" = "Vider"; -// show the calendar, composed of the selected uids -"show" = "Voir"; -// clear the list of uids and add myself -"me alone" = "Seulement moi"; diff --git a/UI/Anais/GNUmakefile b/UI/Anais/GNUmakefile deleted file mode 100644 index 17957511..00000000 --- a/UI/Anais/GNUmakefile +++ /dev/null @@ -1,34 +0,0 @@ -# GNUstep makefile - -include ../common.make - -BUNDLE_NAME = AnaisUI - -AnaisUI_PRINCIPAL_CLASS = AnaisUIProduct - -AnaisUI_LANGUAGES = English French - -AnaisUI_OBJC_FILES += \ - AnaisUIProduct.m \ - AnaisSelector.m \ - AnaisUidSelector.m \ - AnaisAttendeeSelector.m \ - -AnaisUI_RESOURCE_FILES += \ - Version \ - product.plist \ - -#AnaisUI_RESOURCE_FILES += \ -# AnaisSelector.wox \ -# AnaisUidSelector.wox \ -# AnaisAttendeeSelector.wox - -AnaisUI_LOCALIZED_RESOURCE_FILES += \ - Localizable.strings \ - -# make - --include GNUmakefile.preamble -include $(GNUSTEP_MAKEFILES)/bundle.make --include GNUmakefile.postamble -include ../../fhsbundle.make diff --git a/UI/Anais/GNUmakefile.postamble b/UI/Anais/GNUmakefile.postamble deleted file mode 100644 index d0e47d8f..00000000 --- a/UI/Anais/GNUmakefile.postamble +++ /dev/null @@ -1,17 +0,0 @@ -# postprocessing - -validate-wox: -# xmllint --noout *.wox - -before-all :: validate-wox - - -ifneq ($(GNUSTEP_BUILD_DIR),) -after-all :: - @(cp bundle-info.plist \ - $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION)) -else -after-all :: - @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\ - cp ../bundle-info.plist .) -endif diff --git a/UI/Anais/GNUmakefile.preamble b/UI/Anais/GNUmakefile.preamble deleted file mode 100644 index e6b8f7a1..00000000 --- a/UI/Anais/GNUmakefile.preamble +++ /dev/null @@ -1 +0,0 @@ -# compilation flags diff --git a/UI/Anais/Version b/UI/Anais/Version deleted file mode 100644 index 84aa7bf9..00000000 --- a/UI/Anais/Version +++ /dev/null @@ -1,3 +0,0 @@ -# $Id: Version 165 2004-08-05 17:55:50Z znek $ - -SUBMINOR_VERSION:=23 diff --git a/UI/Anais/bundle-info.plist b/UI/Anais/bundle-info.plist deleted file mode 100644 index bb9ae84f..00000000 --- a/UI/Anais/bundle-info.plist +++ /dev/null @@ -1,23 +0,0 @@ -{ - "__cvs__" = "$Id: bundle-info.plist,v 1.1 2003/11/24 01:24:40 helge Exp $"; - - requires = { - bundleManagerVersion = 1; - classes = ( - { name = NSObject; } - ); - }; - - provides = { - classes = ( - { name = AnaisUIProduct; }, - { name = AnaisSelector; }, - { name = AnaisAttendeeSelector; }, - ); - - WOComponents = ( - { name = AnaisSelector; }, - { name = AnaisAttendeeSelector; }, - ); - }; -} diff --git a/UI/Anais/common.h b/UI/Anais/common.h deleted file mode 100644 index cab9266e..00000000 --- a/UI/Anais/common.h +++ /dev/null @@ -1,2 +0,0 @@ -#include -#include diff --git a/UI/Anais/product.plist b/UI/Anais/product.plist deleted file mode 100644 index f58025e9..00000000 --- a/UI/Anais/product.plist +++ /dev/null @@ -1,12 +0,0 @@ -{ - requires = ( MAIN ); - - publicResources = ( - ); - - factories = { - }; - - categories = { - }; -} -- 2.39.5