+2007-02-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+
+ * SoObjects/SOGo/NSArray+Utilities.m: added an implementation of
+ makeObjectsPerform:withObject:withObject: for GNUstep
+ compatibility.
+
+ * OGoContentStore/GNUmakefile, Protocols/common.make,
+ SoObjects/common.make, UI/common.make: install in
+ GNUSTEP_INSTALLATION_DIR instead of GNUSTEP_USER_DIR.
+
+2007-02-07 Ludovic Marcotte <ludovic@inverse.ca>
+
+ * UI/Scheduler/English.lproj/Localizable.strings
+ Fixed typo for "Agendas"
+
+
2007-02-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailTree.m ([UIxMailTree
NSUserDefaults *ud;
NSAutoreleasePool *pool;
- pool = [[NSAutoreleasePool alloc] init];
+ pool = [NSAutoreleasePool new];
#if LIB_FOUNDATION_LIBRARY
[NSProcessInfo initializeWithArguments:argv count:argc environment:env];
#endif
LIBRARY_NAME = libOGoContentStore
TOOL_NAME = test_quick_extract
-TYPEMODELS_DIR = $(GNUSTEP_SYSTEM_ROOT)/Library/OCSTypeModels/
+TYPEMODELS_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/OCSTypeModels/
libOGoContentStore_HEADER_FILES_DIR = .
libOGoContentStore_HEADER_FILES_INSTALL_DIR = /OGoContentStore
include ./Version
BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
+BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
ADDITIONAL_INCLUDE_DIRS += \
-I.. \
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
+#import <Foundation/NSRange.h>
#import <Foundation/NSString.h>
#import "NSArray+NGCards.h"
- (NSString *) namedValue: (NSString *) aValueName
{
- unsigned int index, equalSign;
+ unsigned int index;
+ NSRange equalSign;
NSString *value;
index = [self _namedValue: aValueName];
else
{
value = [values objectAtIndex: index];
- equalSign = [value indexOfString: @"="];
- if (equalSign != NSNotFound)
- value = [value substringFromIndex: equalSign + 1];
+ equalSign = [value rangeOfString: @"="];
+ if (equalSign.location != NSNotFound)
+ value = [value substringFromIndex: equalSign.location + 1];
}
return value;
+2007-02-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+
+ * CardElement.m ([CardElement -namedValue:aValueName]): use
+ NSString's rangeOfString instead of indexOfString for
+ compatibility with GNUstep.
+
2007-02-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* NGVCard.m ([NGVCard -classForTag:classTag]): declare an entry
*/
#import <Foundation/NSArray.h>
+#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSTimeZone.h>
#import <NGExtensions/NSObject+Logs.h>
02111-1307, USA.
*/
+#import <Foundation/NSArray.h>
+#import <Foundation/NSEnumerator.h>
#import <Foundation/NSException.h>
#import <NGExtensions/NSString+Ext.h>
#import <NGExtensions/NSObject+Logs.h>
*/
#import <Foundation/NSArray.h>
-#import <Foundation/NSString.h>
#import <Foundation/NSCalendarDate.h>
+#import <Foundation/NSString.h>
+#import <Foundation/NSTimeZone.h>
#import "NSCalendarDate+NGCards.h"
#import "NSString+NGCards.h"
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSString.h>
+#import <Foundation/NSTimeZone.h>
#import "iCalDateTime.h"
#import "iCalRecurrenceRule.h"
lm = [NGLoggerManager defaultLoggerManager];
logger = [lm loggerForDefaultKey:@"SOGoAppointmentFolderDebugEnabled"];
- securityInfo = [self soClassSecurityInfo];
- [securityInfo declareRole: SOGoRole_Delegate
- asDefaultForPermission: SoPerm_AddDocumentsImagesAndFiles];
- [securityInfo declareRole: SOGoRole_Delegate
- asDefaultForPermission: SoPerm_ChangeImagesAndFiles];
- [securityInfo declareRoles: [NSArray arrayWithObjects:
- SOGoRole_Delegate,
- SOGoRole_Assistant, nil]
- asDefaultForPermission: SoPerm_View];
+// securityInfo = [self soClassSecurityInfo];
+// [securityInfo declareRole: SOGoRole_Delegate
+// asDefaultForPermission: SoPerm_AddDocumentsImagesAndFiles];
+// [securityInfo declareRole: SOGoRole_Delegate
+// asDefaultForPermission: SoPerm_ChangeImagesAndFiles];
+// [securityInfo declareRoles: [NSArray arrayWithObjects:
+// SOGoRole_Delegate,
+// SOGoRole_Assistant, nil]
+// asDefaultForPermission: SoPerm_View];
sharedYes = [[NSNumber numberWithBool:YES] retain];
}
SOGoAppointmentFolder = {
superclass = "SOGoFolder";
defaultRoles = {
+ "View" = ( "Owner", "Delegate", "Assistant" );
"FreeBusyLookup" = ( "Owner", "Delegate", "Assistant", "FreeBusy" );
};
};
SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
libSOGo_LIB_DIRS += \
- -L$(RELBUILD_DIR_libOGoContentStore)
+ -L$(RELBUILD_DIR_libOGoContentStore) -L$(RELBUILD_DIR_libOGoContentStore)/../../SOPE/NGCards/$(GNUSTEP_OBJ_DIR)
libSOGo_LIBRARIES_DEPEND_UPON += \
-lOGoContentStore \
-lNGLdap
ADDITIONAL_TOOL_LIBS += \
+ -L$(GNUSTEP_OBJ_DIR)/ \
+ $(libSOGO_LIB_DIRS) \
-lGDLContentStore -lGDLAccess \
-lNGLdap \
-lNGExtensions -lEOControl \
- (NSArray *) stringsWithFormat: (NSString *) format;
+#ifdef GNUSTEP_BASE_LIBRARY
+- (void) makeObjectsPerform: (SEL) selector
+ withObject: (id) object1
+ withObject: (id) object2;
+#endif
+
@end
#endif /* NSARRAY_UTILITIES_H */
return formattedStrings;
}
+- (void) makeObjectsPerform: (SEL) selector
+ withObject: (id) object1
+ withObject: (id) object2
+{
+ int count, max;
+
+ max = [self count];
+ for (count = 0; count < max; count++)
+ [[self objectAtIndex: count] performSelector: selector
+ withObject: object1
+ withObject: object2];
+}
+
@end
* Boston, MA 02111-1307, USA.
*/
+#import <Foundation/NSEnumerator.h>
+
#import "NSString+Utilities.h"
#import "NSDictionary+URL.h"
include ./Version
BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
+BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
WOBUNDLE_EXTENSION = $(BUNDLE_EXTENSION)
WOBUNDLE_INSTALL_DIR = $(BUNDLE_INSTALL_DIR)
-L../SOGo/$(GNUSTEP_OBJ_DIR)/ \
-L../../SOGo/$(GNUSTEP_OBJ_DIR)/ \
-L../../OGoContentStore/$(GNUSTEP_OBJ_DIR)/ \
+ -L../../SOPE/NGCards/$(GNUSTEP_OBJ_DIR)/ \
-L/usr/local/lib
BUNDLE_LIBS += \
"Preferred" = "Preferred";
"Card for %@" = "Card for %@";
"Display Name: " = "Display Name: ";
-"Email Address: " = "Email Address: "
+"Email Address: " = "Email Address: ";
"Firstname: " = "Firstname: ";
"Lastname: " = "Lastname: ";
02111-1307, USA.
*/
-#import <SoObjects/Mailer/SOGoMailObject.h>
+#import <Mailer/SOGoMailObject.h>
+#import <SOGo/NSString+Utilities.h>
#import <SOGoUI/UIxComponent.h>
#import "UIxMailMainFrame.h"
/* Menu */
-"Calendars" = "Agendas";
+"Calendars" = "Calendars";
"Calendar" = "Calendar";
"Contacts" = "Contacts";
"Week" = "Semaine";
"this week" = "cette semaine";
-"Week %d" = "Semaine nº %d";
+"Week %d" = "Semaine nú %d";
/* Month */
*/
// $Id$
+#import <math.h>
+
#import <Foundation/NSDictionary.h>
#import <NGObjWeb/NGObjWeb.h>
#import "UIxComponent+Agenor.h"
#import "SoObjects/Appointments/SOGoAppointmentFolder.h"
+#import <SOGo/NSArray+Utilities.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoObject.h>
xmlns:label="OGo:label"
className="UIxPageFrame"
title="title"
- popup="isPopup"
>
<div class="menu" id="monthListMenu">
<ul>
include ./Version
BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
+BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
ADDITIONAL_INCLUDE_DIRS += \
-I.. \